Skip to content

nc-apps: Fix group permissons #7

@Sanookmakmak

Description

@Sanookmakmak

Continuation of discussion from the forum:

I use the hosting panel ISPConfig to manage the virtual hosts because it allows me to use an URL shortener in addition to Nextcloud, which shows me the Nextcloud share links in an easy-to-remember form.

Nextcloud is installed on domain.xx and the URL shortener on www.domain.xx.

ISPConfig also comes with an auto-installer that installs all the programs required for Nextcloud in one go. It is multi-client capable and therefore the virtual hosts each have their own users and groups for security reasons.

In this case web3:client1.

I always install user-defined scripts in the /usr/local/sbin folder instead of /usr/local/bin because this folder is usually empty and therefore I have a better overview of my own scripts.

sudo wget -qO /usr/local/sbin/nc-apps https://global-social.net/script/nc-apps
sudo chmod +x /usr/local/sbin/nc-apps

Version:

grep version /usr/local/sbin/nc-apps | head -1

# version 2025-05-20 23:17 CEST 1747775868

The first call after download

nc-apps appstore 'map(select(.created > "2025-01-01"))'

.. loading modules - integrity
     First run of nc-apps, checking integrity:
     ===================================================================================================================
gpg:                mittels RSA-Schlüssel 3EE43A84D2BA635A94E1033B0B145139A170715C
gpg: Korrekte Signatur von "[ernolf] Raphael Gradenwitz (codesigning) <[email protected]>" [unbekannt]
     -------------------------------------------------------------------------------------------------------------------
     Integrity check of nc-apps passed. The script is authentic.
     ===================================================================================================================

     Integrity check of nc-apps passed. Please start script again

Starting the script again:

nc-apps appstore 'map(select(.created > "2025-01-01"))'

.. checking modules - nc/nextcloudparse error: Invalid numeric literal at line 2, column 0
.. loading modules - nc/nextcloudparse error: Invalid numeric literal at line 2, column 0
/usr/bin/mktemp: failed to create file via template ‘/var/tmp/ebtb/nc-apps-data/json_data_XXXXXXXXXXXX’: No such file or directory
/usr/bin/chown: cannot access '': No such file or directory
/usr/bin/chmod: cannot access '': No such file or directory
/dev/fd/63: line 110: : No such file or directory
jq: error: Could not open file : No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions