Internal Server Error (No Apache Logs)

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

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

Nextcloud version (eg, 12.0.2): Nextcloud 14.0.1
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.29
PHP version (eg, 7.1): PHP 7.2.10

The issue you are facing:

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: xx.xx.xx.xxx
    Request ID: xxxx

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

Steps to replicate it:

  1. Open xxx.com/nextcloud

The output of your Nextcloud log in Admin > Logging:

UNABLE TO LOGIN

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

$CONFIG = array (
  'instanceid' => 'xxxx',
  'passwordsalt' => 'xxxx',
  'secret' => 'xxxxx/xxxxx',
  'trusted_domains' =>
  array (
    0 => 'xxx.com',
  ),
  'datadirectory' => '/home/xxx/xxx',
  'htaccess.RewriteBase' => '/xxx/',
  'dbtype' => 'mysql',
  'version' => '14.0.1.1',
  'overwrite.cli.url' => 'https://xxx.com/xxx',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxxx',
  'dbpassword' => 'xxxx',
  'installed' => true,
  'maintenance' => false,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
    'password' => 'xxx',
  ),
  'cache_path' => '/var/www/xxx.com/html/xxx/cache',
  'mail_from_address' => 'xxx',
  'mail_smtpmode' => 'sendmail',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => 'xxx.com',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.xxx.com',
  'mail_smtpport' => '587',
  'mail_smtpname' => 'xxx@xxx.com',
  'mail_smtppassword' => 'xxx',
);

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

NONE

robots.txt in the nextcloud folder works. also this error shows with the blue background not white. i can see nextcloud logo. and finally, i do have the recommended nextcloud.conf settings with allowoverride all etc.

Did you upgrade from an older version to Nextcloud 14.0.1?

Can’t you activate apache logging? There should be some error.log.

No I didn’t. It was a fresh installation.

I do have the error.log file. What I meant is that there isn’t any apache logs for the Nextcloud error I am receiving. I have narrowed it down to php.ini cookies configurations. Looks like Nextcloud doesn’t like the fact that session parameter was set to auto start. Disappointing that Nextcloud couldn’t handle this appropiately.