Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 29.0.5): 29.0.2
Operating system and version (eg, Ubuntu 29.04): Fedora 39
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.59-2
PHP version (eg, 8.3): 8.2.20
The issue you are facing:
Trying to run “occ” directly leads to permission denied error. Often the admin is encouraged to use the program “occ” and has to find out, that it must be run explicitely with php in front or chmod +x occ is necessary. So please distribute the nextcloud package with occ having execute bits set. It is really weird to me, that this has not been done yet considering how many forum topics are related to this.
Is this the first time you’ve seen this error? (Y/N): N
It is in nextcloud since i use it (several years)
Steps to replicate it:
- try to run occ directly like often instructed like this: ./occ
The output of your Nextcloud log in Admin > Logging:
No log entry, cause we don't get that far. Instead as we all know, we see:
./occ: Permission denied.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
this is of no relevance
The output of your Apache/nginx/system log in /var/log/____
:
this is neither of any relevance
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
not relevant