Internal Server Error problem

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, 20.0.5): 24.0.5.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.1
Apache or nginx version (eg, Apache 2.4.52): 2.4.52
PHP version (eg, 7.4): 8.1.2

The issue you are facing:
Internal Server Error
Remote Address: 10.0.3.1

  • I am trying to learn NC
    I was following this link
    And somehow I am not able to log in to my NC
    NC is on an lxc ubuntu 22.04.1 container
    Its address is 10.0.3.38
    Using firfox - 10.0.3.38 returns an Internal Server Error and it mentions 10.0.3.1

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

The output of your Nextcloud log in Admin > Logging:
I have no access to my Nextcloud.

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

<?php
$CONFIG = array (
  'instanceid' => 'oca2lrs6ec0s',
  'passwordsalt' => 'EuGnI91xx881pDoSIoCUYxv0R6soMQ',
  'secret' => 'F4NoGwVuQOG6j2bu2eZJykdNKszYo6oIPalMb19TGRVduysH',
  'trusted_domains' =>
  array (
    0 => '10.0.3.38',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '24.0.5.1',
  'overwrite.cli.url' => 'http://10.0.3.38',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:80',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nc2',
  'dbpassword' => 'nc2',
  'installed' => true,
  'memcache.distributed' => '\OC\Memcache\Redis',
  'redis' => [
          'host' => '10.0.3.38',
          'port' => 6379,
  ],
);

The output of your Apache/nginx/system log in /var/log/____:
there are three .log files here - access/error/other_vhosts_access.log - I am not sure which one you’re after - I provided a pastebin link for the other_vhosts_access.log as it seemed most promising

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

There was no nextcloud.log file in the /var/www/nextcloud/

Is this correct for your database?