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: 24.0.4
Operating system: Ubuntu 20.04
Apache: 2.4.41
PHP: 7.4.3
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): No
Steps to replicate it:
- try running suggested command lines (i.e.
occ db:add-missing-indices
) - result: “Command ‘occ’ not found, but there are 21 similar ones.”
- running attempts (i.e.
sudo -u www-data php occ -V
) - result: “Could not open input file: occ”
- spent last 3 days trying to figure out resolve to no avail.
The output of your Nextcloud log in Admin > Logging:
Warning no app in context Host 127.0.1.1 was not connected to because it violates local access rules
2022-09-04T14:05:24-0500
Warning no app in context Host 127.0.1.1 was not connected to because it violates local access rules
2022-09-04T14:05:24-0500
Warning no app in context Host 127.0.1.1 was not connected to because it violates local access rules
2022-09-04T14:05:24-0500
Warning no app in context Host 127.0.1.1 was not connected to because it violates local access rules
2022-09-04T13:45:08-0500
Warning no app in context Host 127.0.1.1 was not connected to because it violates local access rules
2022-09-04T13:45:08-0500
Warning no app in context Host 127.0.1.1 was not connected to because it violates local access rules
2022-09-04T13:45:08-0500
Warning no app in context Host 127.0.1.1 was not connected to because it violates local access rules
2022-09-03T23:49:08-0500
Warning no app in context Host 127.0.1.1 was not connected to because it violates local access rules
2022-09-03T23:49:08-0500
Warning no app in context Host 127.0.1.1 was not connected to because it violates local access rules
2022-09-03T23:49:08-0500
Warning no app in context Host 127.0.1.1 was not connected to because it violates local access rules
2022-09-03T22:57:10-0500
Warning no app in context Host 127.0.1.1 was not connected to because it violates local access rules
2022-09-03T22:57:10-0500
Warning no app in context Host 127.0.1.1 was not connected to because it violates local access rules
2022-09-03T22:57:10-0500
The output of your config.php file in :
<?php
$CONFIG = array (
'instanceid' => 'xxx',
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'mycloud.example.com',
),
'datadirectory' => '/mnt/sdb1/data',
'dbtype' => 'mysql',
'version' => '24.0.4.1',
'overwrite.cli.url' => 'https://mycloud.example.com',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'xxx',
'installed' => true,
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'xyz',
'mail_domain' => 'hotmail.com',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp-mail.outlook.com',
'mail_smtpport' => 'ppp',
'mail_smtpname' => 'xyz@hotmail.com',
'mail_smtppassword' => 'yyy',
'default_phone_region' => 'US',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
);
```
The output of your Apache/nginx/system log in `/var/log/____`:
```
[Sun Sep 04 00:00:10.865011 2022] [mpm_prefork:notice] [pid 1448] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations[Sun Sep 04 00:00:10.865029 2022] [core:notice] [pid 1448] AH00094: Command line: '/usr/sbin/apache2'
[Sun Sep 04 00:30:43.222453 2022] [mpm_prefork:notice] [pid 1448] AH00169: caught SIGTERM, shutting down
[Sun Sep 04 12:46:38.384806 2022] [mpm_prefork:notice] [pid 1439] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Sep 04 12:46:38.386081 2022] [core:notice] [pid 1439] AH00094: Command line: '/usr/sbin/apache2'
[Sun Sep 04 13:19:25.579601 2022] [php7:error] [pid 1677] [client 62.171.157.68:51028] script '/var/www/cirus.devrod.com/html/wp-login.php' not found or unable to stat, referer: http://cirus.devrod.com/wp-login.php
[Sun Sep 04 14:22:25.155456 2022] [php7:error] [pid 1452] [client 78.159.119.207:42708] script '/var/www/beta.devrod.com/html/wp-login.php' not found or unable to stat, referer: http://beta.devrod.com/wp-login.php
```