Nextcloud does not display in full-featured browser

I upgraded from Nextcloud 17 to 18.0.3.
I am unable to access Nextcloud in my usual browser

Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log.
Technical details
    Remote Address: 192.168.xxx.xxx
    Request ID: oTBQ5kAjyLuTmAAYBHQP

The server log does not give any details at all.

I tried Firefox, Brave and Opera, all have the same result. I reinstalled a complete OS to remove all cached browser data and still have the same result (except that the Request ID changes)
Then I installed surf as a browser and am able to log in and view the Nextcloud instance (partially, needs css info)
All the other features of my Nextcloud work, the desktop and Android apps, but I sorely miss the calendar in the browser window.

[/details]

Nextcloud version (eg, 12.0.2): 18.0.3
Operating system and version (eg, Ubuntu 17.04): Linux banksia 4.9.0-3-686-pae #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) i686 GNU/Linux
Apache or nginx version (eg, Apache 2.4.25): Apache2 2.4.38-3+deb10u3
PHP version (eg, 7.1):7.3

The issue you are facing:
Cannot access Nextcloud on fullfeatured browser

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

Steps to replicate it:

  1. I really don’t know, nor do I want to try to it
  2. Nextcloud 17.0.2 upgraded to Nextcloud 18.0.3

The output of your Nextcloud log in Admin > Logging:


Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log.
Technical details
    Remote Address: 192.168.xxx.xxx
    Request ID: oTBQ5kAjyLuTmAAYBHQP

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

<?php
$CONFIG = array (
  'instanceid' => 'ocujwoqdsjmo',
  'passwordsalt' => 'qwertyuiop',
  'secret' => 'qwertyuiop',
  'trusted_domains' => 
  array (
    0 => 'www.my_domain.net',
    1 => '192.168.xxx.1',
    2 => 'my_domain.net',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'overwrite.cli.url' => 'https://www.my_domain.net/nextcloud',
  'dbtype' => 'mysql',
  'version' => '18.0.3.0',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_admin1',
  'dbpassword' => 'qwertyuiop',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_from_address' => 'nextcloud',
  'mail_domain' => 'my_domain.net',
  'mail_smtphost' => 'mail.my_domain.net',
  'mail_smtpport' => '25',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'updater.release.channel' => 'stable',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mysql.utf8mb4' => true,
  'app_install_overwrite' => 
  array (
    0 => 'files_reader',
    1 => 'files_clipboard',
  ),
);

The output of your Apache/nginx/system log in /var/log/____: access log, nothing in error.log

192.168.xxx.102 - liz [18/Apr/2020:09:23:12 +1000] "PROPFIND /nextcloud/remote.php/dav/files/liz/ HTTP/1.1" 207 8235 "-" "Mozilla/5.0 (Linux) mirall/2.6.2-1 (Nextcloud)"
192.168.xxx.102 - - [18/Apr/2020:09:23:12 +1000] "GET /nextcloud/index.php/login HTTP/1.1" 500 7202 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:13 +1000] "GET /nextcloud/core/search/js/search.js?v=91ea82e5-0 HTTP/1.1" 200 2955 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:13 +1000] "GET /nextcloud/core/search/js/searchprovider.js?v=91ea82e5-0 HTTP/1.1" 200 4510 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:13 +1000] "GET /nextcloud/core/js/files/fileinfo.js?v=91ea82e5-0 HTTP/1.1" 200 1644 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:13 +1000] "GET /nextcloud/core/js/files/client.js?v=91ea82e5-0 HTTP/1.1" 200 6487 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:13 +1000] "GET /nextcloud/apps/files_pdfviewer/css/style.css?v=6a154fe0-0 HTTP/1.1" 200 989 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:13 +1000] "GET /nextcloud/core/js/dist/login.js?v=91ea82e5-0 HTTP/1.1" 200 218947 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:13 +1000] "GET /nextcloud/core/js/dist/main.js?v=91ea82e5-0 HTTP/1.1" 200 411879 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:13 +1000] "GET /nextcloud/core/css/guest.css?v=91ea82e5-0 HTTP/1.1" 200 6322 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:13 +1000] "GET /nextcloud/index.php/apps/theming/js/theming?v=0 HTTP/1.1" 200 1178 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:13 +1000] "GET /nextcloud/index.php/apps/theming/styles?v=0 HTTP/1.1" 200 1543 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:13 +1000] "GET /nextcloud/core/img/background.png?v=0 HTTP/1.1" 200 36093 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:14 +1000] "GET /nextcloud/apps/files_sharing/js/dist/main.js?v=91ea82e5-0 HTTP/1.1" 200 2309 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:14 +1000] "GET /nextcloud/apps/files_reader/js/plugin.js?v=91ea82e5-0 HTTP/1.1" 200 2928 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:13 +1000] "GET /nextcloud/index.php/svg/core/logo/logo?color=fff&v=1 HTTP/1.1" 200 1248 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:16 +1000] "GET /nextcloud/index.php/apps/theming/favicon?v=0 HTTP/1.1" 200 91174 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:16 +1000] "GET /nextcloud/apps/files_pdfviewer/js/previewplugin.js?v=91ea82e5-0 HTTP/1.1" 200 3522 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:16 +1000] "GET /nextcloud/index.php/apps/theming/icon?v=0 HTTP/1.1" 200 25672 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:16 +1000] "GET /nextcloud/apps/files_videoplayer/js/main.js?v=91ea82e5-0 HTTP/1.1" 200 3983 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:16 +1000] "GET /nextcloud/core/img/loading-dark.gif HTTP/1.1" 200 5403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.xxx.102 - - [18/Apr/2020:09:23:16 +1000] "GET /nextcloud/core/img/actions/toggle.svg HTTP/1.1" 200 1008 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"

nothing significantly different in that log for the browser which displays Nextcloud
In my limited understanding, Nextcloud is working fine, but there is some incompatibility with the browser setup.
Any hints are most welcome, thankyou all in advance.

1 Like

Apache access log won’t give you hints.
Apache error.log can give you advises.
Look also the nextcloud.log normally at the root of your Nextcloud data folder.

nextcloud.log excerpt is at https://pastebin.com/6ktnwF15
starting from an attempted access of nextcloud

1 Like

The upgrade process maybe didn’t finished well.
Log into your server in ssh and do :
sudo -u www-data php -f /var/www/nextcloud/occ upgrade

If your nextcloud installation is at /var/www/nextcloud

Tell me the output of this command.

thanks for your help
I get
“Nextcloud is already latest version”

I had considered a downgrade and a retry at the upgrade.

first i’d try occ maintenance:repair (doublecheck manual for correct usage)…

Certainly. The bash history shows that has been done 5 times in all since the upgrade.
Let’s run again

$ sudo -u www-data php /var/www/nextcloud/occ maintenance:repair
Nextcloud is in maintenance mode - no apps have been loaded

 - Repair MySQL collation
     - All tables already have the correct collation -> nothing to do
 - Repair mime types
 - Clean tags and favorites
     - 0 tags of deleted users have been removed.
     - 0 tags for delete files have been removed.
     - 0 tag entries for deleted tags have been removed.
     - 0 tags with no entries have been removed.
 - Repair invalid shares
 - Move .step file of updater to backup location
 - Fix potential broken mount points
     - No mounts updated
 - Add log rotate job
 - Clear frontend caches
     - Image cache cleared
     - SCSS cache cleared
     - JS cache cleared
 - Clear every generated avatar on major updates
 - Add preview background cleanup job
 - Queue a one-time job to cleanup old backups of the updater
 - Cleanup invalid photocache files for carddav
 - Add background job to cleanup login flow v2 tokens
 - Remove potentially over exposing share links
     - No need to remove link shares.
 - Clear access cache of projects
 - Switches from deprecated "production" to "stable" update channel
 - Sets the enterprise logo
     - Repair step already executed
 - Reset generated avatar flag
 - Update name of the stored view
 - Fix component of birthday calendars
     - 7 birthday calendars updated.
 - Regenerating birthday calendars to use new icons and fix old birthday events without year
     - Repair step already executed
 - Fix broken values of calendar objects
    0 [>---------------------------]
 - Registering building of calendar search index as background job
     - Repair step already executed
 - Registering background jobs to update cache for webcal calendars
     - Added 0 background jobs to update webcal calendars
 - Registering building of calendar reminder index as background job
     - Repair step already executed
 - Clean up orphan event and contact data
     - 0 events without a calendar have been cleaned up
     - 0 properties without an events have been cleaned up
     - 0 changes without a calendar have been cleaned up
     - 0 cached events without a calendar subscription have been cleaned up
     - 0 changes without a calendar subscription have been cleaned up
     - 0 contacts without an addressbook have been cleaned up
     - 0 properties without a contact have been cleaned up
     - 0 changes without an addressbook have been cleaned up
 - Remove activity entries of private events
     - Removed 0 activity entries
 - Fix the share type of guest shares when migrating from ownCloud
 - Copy the share password into the dedicated column
 - Set existing shares as accepted
 - Update OAuth token expiration times
 - Migrate legacy conversation reading states
    1 [============================]
 - Create help command
 - Invalidate access cache for projects conversation provider
     - Invalidation not required
 - Add background job to check for backup codes
 - Populating added database structures for workflows

and sadly, I still can’t use Nextcloud in the browser (having ended maintenance mode)

Thanks again

1 Like

well … sigh

have you tried different browsers?
which browser do you use? at which version?

Indeed I have used different browsers Firefox, Brave, Opera, and the only success story, Surf.
On this machine Mozilla Firefox 68.7.0esr and Brave-browser Version 1.7.92 Chromium: 80.0.3987.163 (Official Build) (64-bit)
I also tried Opera, but I have removed that now.
I’m not sure of the Surf version, that’s another machine. the interesting point is that the minimalist browser is more successful than the full-featured, and that’s how I chose the heading.

this other machine… is it withion your lan or outside? could you try a different browser on this one?

btw: your thread is perfect as for needed infos. :+1:

Both are within the lan. I haven’t tried from outside.
I did also forget that DuckDuckGo browser on Android also worked.
On the laptop I tried Firefox and Opera, and did a full reinstall to remove all cached settings, to try another option.