Internal Server Error After Upgrade to 14.0.4

Nextcloud version (eg, 12.0.2): 14.0.4
Operating system and version (eg, Ubuntu 17.04): CentOS 7.5
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.6
PHP version (eg, 7.1): PHP 7.2.12

The issue you are facing:
When the WEB Update end, i get:

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: xxx.xxx.xxx.xxx
  • Request ID: X-XXXXXXx8l4KkgyKSmaNgAAAAI

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

Steps to replicate it:

  1. Go Nextcloud WEb Interface
  2. Go to Update
  3. Update and selec “N” when prompt to continue in Maintenance mode.

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

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

<?php
$CONFIG = array (
  'instanceid' => 'hidden',
  'passwordsalt' => 'hidden',
  'secret' => 'hidden',
  'trusted_domains' =>
  array (
    0 => 'hidden',
    1 => 'hidden',
    2 => 'hidden',
    3 => 'hidden',
    4 => 'hidden',
  ),
  'datadirectory' => '/hidden/hidden/hidden',
  'overwrite.cli.url' => 'http://localhost:8001/XXXX',
  'dbtype' => 'mysql',
  'version' => '14.0.4.2',
  'dbname' => 'nextcloud_db',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'hidden',
  'dbpassword' => 'hidden#',
  'logtimezone' => 'UTC',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'maintenance' => true,
  'theme' => '',
  'loglevel' => 1,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'user_backends' =>
  array (
0 =>
    array (
      'class' => 'OCA\\ZimbraDrive\\Auth\\ZimbraUsersBackend',
      'arguments' =>
      array (
      ),
    ),
  ),


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



Nextcloud.log :

{“reqId”:“W-f@jWZe53GUyWbDylgntwAAAAk”,“level”:3,“time”:“2018-11-23TXX:XX:13+00:00”,“remoteAddr”:“192.xxx.xxx.xxx”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/nextcloud/index.php/js/core/merged-template-prepend.js?v=2d4dcd06-10",“message”:“You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /var/xxx/xxx/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18”,“userAgent”:“Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0”,“version”:“14.0.4.2”}

Do

yum search php7*-intl

and then install the result. You just need the newest intl module for PHP 7.2. Which php repo did you use? SCL, Webtatic. remi?

Thanks for your answer and help, i use the command but get

“Warning: No matches found for: php7*-intl
No matches found”

I use Remi .

If you used remi, then do

yum install php72w-intl

See if that works. When done, restart apache, and it should work.

Is SELINUX enforcing or disabled?

I get this; “No package php72w-intl available.
Error: Nothing to do”

I had disabled before the update, because some apps had problems, but now I see that is in “Permissive”. After change to “Disabled” and rebooted the server, I still getting the same error.

Sorry, misread. Try:

yum search remi-php72 | grep intl

What do you get?

Nothing, start new line.

I use “yum install php-intl” and work

Package Arch Version Repository Size

Installing:
php-intl x86_64 7.2.12-1.el7.remi remi-php72 216 k

But still having the same error…

Have you restarted your apache after the install?

What does php -m show?

Yes, apache and also the server.

This is what it show:

[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
igbinary
intl
json
ldap
libxml
mbstring
memcached
msgpack
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

Do you get the same error in the logs now, as before? I am just checking, because this should not be an issue now. Maybe it is looking for some other extension now?

The only other thing would be to create a phpinfo.php file to see which modules are actually loaded by apache. The -m command shows which modules are being used by php cli, but it might be that apache is not loading it.

So could you check your logs again maybe?

Sorry, you have reason, now I get this in the log file:

{“reqId”:“W-gJuClUr7rqsWEkyk0HnQAAAAY”,“level”:3,“time”:"+00:00",“remoteAddr”:“xxx.xxx.xxx.xxx”,“user”:"–",“app”:“index”,“method”:“GET”,“url”:"/nextcloud/index.php",“message”:{“Exception”:“OCP\AutoloadNotAllowedException”,“Message”:“Autoload path not allowed: /var/www/html/nextcloud/apps/zimbradrive/lib/auth/zimbrausersbackend.php”,“Code”:0,“Trace”:[{“file”:"/var/www/html/nextcloud/lib/autoloader.php",“line”:162,“function”:“isValidPath”,“class”:“OC\Autoloader”,“type”:"->",“args”:["/var/www/html/nextcloud/apps/zimbradrive/lib/auth/zimbrausersbackend.php"]},{“function”:“load”,“class”:“OC\Autoloader”,“type”:"->",“args”:[“OCA\ZimbraDrive\Auth\ZimbraUsersBackend”]},{“function”:“spl_autoload_call”,“args”:[“OCA\ZimbraDrive\Auth\ZimbraUsersBackend”]},{“file”:"/var/www/html/nextcloud/lib/private/legacy/user.php",“line”:138,“function”:“class_exists”,“args”:[“OCA\ZimbraDrive\Auth\ZimbraUsersBackend”]},{“file”:"/var/www/html/nextcloud/lib/base.php",“line”:721,“function”:“setupBackends”,“class”:“OC_User”,“type”:"::",“args”:[]},{“file”:"/var/www/html/nextcloud/lib/base.php",“line”:1068,“function”:“init”,“class”:“OC”,“type”:"::",“args”:[]},{“file”:"/var/www/html/nextcloud/index.php",“line”:40,“args”:["/var/www/html/nextcloud/lib/base.php"],“function”:“require_once”}],“File”:"/var/www/html/nextcloud/lib/autoloader.php",“Line”:137,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0”,“version”:“14.0.4.2”}

I solved it deleting the zimbradrive app.

But now, I have the problem that me and my friends can’t use NC because we authenticate with zimbra account.

Do you know if the Zimbra Drive is going to be able in this version?

Thanks !

Did you update from 13 to 14? Or from 14.0.3 to 14.0.4?

https://apps.nextcloud.com/apps/zimbradrive Shows which versions are supported.

1 Like

From 13 to 14…

Is there any other app for mail auth?

Thanks for your help !!