Issues are reinstall and update

Support intro
This started happening after I reinstalled and then did a upgrade from 18.0.0.0 to  18.0.1.3
In my /var/log/httpd/error.log file I see the following error over and over.

script '/xxxxx.xxxxx.xxxxx/nextcloud/remote.php' not found or unable to stat
script '/xxxxx.xxxxx.xxxxx/nextcloud/status.php' not found or unable to stat
script '/xxxxx.xxxxx.xxxxx/nextcloud/index.php' not found or unable to stat


I checked the nextcloud folder and there is indeed a remote.php file there as can be seen below

[root@localhost nextcloud]# ls -la
total 160
drwxr-xr-x 13 apache apache  4096 Feb 16 14:41 ./
drwxr-xr-x  4 root   root    4096 Feb 17 15:31 ../
drwxr-xr-x 33 apache apache  4096 Feb 16 14:27 3rdparty/
drwxr-xr-x 49 apache apache  4096 Feb 16 15:17 apps/
-rw-r--r--  1 apache apache 15752 Feb 16 14:27 AUTHORS
drwxr-xr-x  2 apache apache  4096 Feb 16 14:28 config/
-rw-r--r--  1 apache apache  3910 Feb 16 14:27 console.php
-rw-r--r--  1 apache apache 34520 Feb 16 14:27 COPYING
drwxr-xr-x 23 apache apache  4096 Feb 16 14:27 core/
-rw-r--r--  1 apache apache  5048 Feb 16 14:27 cron.php
-rw-r--r--  1 apache apache  2629 Feb 16 14:28 .htaccess
-rw-r--r--  1 apache apache   156 Feb 16 14:27 index.html
-rw-r--r--  1 apache apache  2976 Feb 16 14:27 index.php       <-------
drwxr-xr-x  6 apache apache  4096 Feb 16 14:27 lib/
-rw-r--r--  1 apache apache   283 Feb 16 14:27 occ
drwxr-xr-x  2 apache apache  4096 Feb 16 14:27 ocm-provider/
drwxr-xr-x  2 apache apache  4096 Feb 16 14:27 ocs/
drwxr-xr-x  2 apache apache  4096 Feb 16 14:27 ocs-provider/
-rw-r--r--  1 apache apache  3056 Feb 16 14:27 public.php
-rw-r--r--  1 apache apache  5235 Feb 16 14:27 remote.php      <-------
drwxr-xr-x  4 apache apache  4096 Feb 16 14:27 resources/
-rw-r--r--  1 apache apache    26 Feb 16 14:27 robots.txt
-rw-r--r--  1 apache apache  2381 Feb 16 14:27 status.php      <-------


Here is part of my httpd.config

<VirtualHost *>
DocumentRoot /xxxxx.xxxxx.xxxxx/nextcloud
ServerName pcloscloud.com
ServerAlias www.pcloscloud.com
ServerAdmin dwmoar@xxxxxxxx.net
<Directory "/xxxxx.xxxxx.xxxxx/nextcloud">
AllowOverride ALL
Require all granted
Options FollowSymLinks Indexes
</Directory>
</VirtualHost>

<VirtualHost *:443>
DocumentRoot /xxxxx.xxxxx.xxxxx/nextcloud
ServerName pcloscloud.com
ServerAlias www.pcloscloud.com
ServerAdmin dwmoar@xxxxxxxx.net
<Directory "/xxxxx.xxxxx.xxxxx/nextcloud">
allow from all
AllowOverride ALL
Require all granted
Options FollowSymLinks Indexes
</Directory>
</VirtualHost>


I have some users that say when they go to login the end up with a browser saying "Object not found" and other seem to have no issues logging in using the web interface.

Also when trying to setup the nextcloud-client after entering the information it just keeps waiting for authorization and never connects. All these issues happened only after I updated from 18.0.0 to 18.0.1.3

Can someone please help me and point me in the right direction.
Thanks in advance.


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 :heart:

Nextcloud version (eg, 12.0.2): 18.0.1.3
Operating system and version (eg, Ubuntu 17.04): PCLinuxOS 2020
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.38-3pclos2019
PHP version (eg, 7.1): php 7.4.2-1pclos2020

The issue you are facing:

Some people receiving “object not found” using web interface and nextcloud-client fails authorization and keeps trying over and over

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. trying to setup the nextcloud-client
  2. trying to login using the web interface - some experience “object not found” while some don’t

The output of your Nextcloud log in Admin > Logging:

Error	PHP	Trying to access array offset on value of type null at /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230	
2020-02-18T18:35:53-0800
Error	PHP	Trying to access array offset on value of type null at /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230	
2020-02-18T18:35:53-0800
Error	PHP	Trying to access array offset on value of type null at /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230	
2020-02-18T18:35:53-0800
Error	PHP	Trying to access array offset on value of type null at /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230	
2020-02-18T18:35:53-0800
Error	PHP	Trying to access array offset on value of type null at /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230	
2020-02-18T18:35:53-0800
Error	PHP	Trying to access array offset on value of type null at /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230	
2020-02-18T18:35:53-0800
Error	PHP	Trying to access array offset on value of type null at /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230	
2020-02-18T18:35:53-0800
Error	PHP	Trying to access array offset on value of type null at /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230	
2020-02-18T18:35:53-0800
Error	PHP	Undefined index: changelogURL at /var/www/html/nextcloud/core/Controller/WhatsNewController.php#91	
2020-02-18T17:43:40-0800
Warning	core	Login failed: 'greywolf' (Remote IP: '202.159.141.159')	
2020-02-18T17:43:01-0800
Warning	core	Login failed: 'greywolf' (Remote IP: '202.159.141.159')	
2020-02-18T17:43:00-0800
Warning	core	Login failed: 'greywolf' (Remote IP: '202.159.141.159')	
2020-02-18T17:42:59-0800
Warning	core	Login failed: 'greywolf' (Remote IP: '202.159.141.159')	
2020-02-18T17:42:58-0800
Error	PHP	Undefined index: changelogURL at /var/www/html/nextcloud/core/Controller/WhatsNewController.php#91	
2020-02-18T17:36:39-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '74.190.136.244')	
2020-02-18T17:30:42-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '74.190.136.244')	
2020-02-18T17:30:42-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '74.190.136.244')	
2020-02-18T17:30:42-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '74.190.136.244')	
2020-02-18T17:30:41-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:25:44-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:25:44-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:25:43-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:25:43-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:20:37-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:20:37-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:20:36-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:20:36-0800
Warning	core	Login failed: 'greywolf' (Remote IP: '202.159.141.159')	
2020-02-18T17:20:00-0800
Warning	core	Login failed: 'greywolf' (Remote IP: '202.159.141.159')	
2020-02-18T17:19:59-0800
Warning	core	Login failed: 'greywolf' (Remote IP: '202.159.141.159')	
2020-02-18T17:19:58-0800
Warning	core	Login failed: 'greywolf' (Remote IP: '202.159.141.159')	
2020-02-18T17:19:56-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:15:21-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:15:20-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:15:20-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:15:20-0800
Fatal	ocs_api	Failed addUser attempt: User already exists.	
2020-02-18T17:14:07-0800
Fatal	ocs_api	Failed addUser attempt: User already exists.	
2020-02-18T17:13:51-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:10:16-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:10:15-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:10:15-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:10:14-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:05:15-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:05:15-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:05:14-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:05:14-0800
Warning	core	Login failed: 'greywolf' (Remote IP: '202.159.141.159')	
2020-02-18T17:04:55-0800
Warning	core	Login failed: 'greywolf' (Remote IP: '202.159.141.159')	
2020-02-18T17:04:53-0800
Warning	core	Login failed: 'greywolf' (Remote IP: '202.159.141.159')	
2020-02-18T17:04:53-0800
Warning	core	Login failed: 'greywolf' (Remote IP: '202.159.141.159')	
2020-02-18T17:04:50-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:00:03-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:00:02-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:00:02-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T17:00:01-0800
Warning	core	Login failed: 'Ladylove' (Remote IP: '174.255.194.24')	
2020-02-18T16:54:56-0800

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'oc3qm1b4xkcu',
  'passwordsalt' => 'RzHiomz8nlfx++h9v0qJuwQ32Dz13G',
  'secret' => 'yfJY6dXLmi0joaKsBxHYVacrbSskIwrLm6KBSWU+w7iOvNuq',
  'trusted_domains' =>
  array (
    0 => 'www.pcloscloud.com',
    1 => 'pcloscloud.com',
  ),
  'datadirectory' => '/data1/data',
  'dbtype' => 'mysql',
  'version' => '18.0.1.3',
  'overwrite.cli.url' => 'http://pcloscloud.com',
  'dbname' => 'pcloscloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'xxxxxxxxx',
  'dbpassword' => 'xxxxxxxxxxxx',
  'installed' => true,
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => 'mail.xxxxxxxxx.xxx',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpport' => '25',
  'mail_domain' => 'xxxxxxxxx.xxx',
  'mail_from_address' => 'donotreply',
  'enable_avatars' => false,
  'simpleSignUpLink.shown' => false,
  'trashbin_retention_obligation' => 'auto, 2',
  'versions_retention_obligation' => 'auto, 2',
  'updater.secret' => '$2y$10$VMU2GbhAFMCy4V2l45Xb3.v.nKFBmndHkwoCUf6riT2CauViovvgO',
  'theme' => '',
);

The output of your Apache/nginx/system log in /var/log/____:

script '/xxxxx.xxxxx.xxxxx/nextcloud/remote.php' not found or unable to stat
script '/xxxxx.xxxxx.xxxxx/nextcloud/status.php' not found or unable to stat
script '/xxxxx.xxxxx.xxxxx/nextcloud/index.php' not found or unable to stat
And repeats over and over and over 

php 7.4 is not supported yet: https://docs.nextcloud.com/server/18/admin_manual/installation/source_installation.html

Seems there could be a patch for this problem (full support for php 7.4 will come with the next major version later this year):