Internal server error on fresh install

Actual behaviour

Internal Server Error on fresh install

Server configuration

**Operating system: Centos 8

**Web server: nginx 1.14.1

**Database: MariaDB 10.3

**PHP version: v7.2.11

**ownCloud version: 10.3.0.4


**The content of config/config.php:**

{
    "system": {
        "instanceid": "oczwcbr2vw4o",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "10.16.6.41"
        ],
        "datadirectory": "\/var\/www\/html\/owncloud\/data",
        "overwrite.cli.url": "http:\/\/10.16.6.41\/",
        "dbtype": "mysql",
        "version": "10.3.0.4",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/owncloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/owncloud\/apps-external",
                "url": "\/apps-external",
                "writable": true
            }
        ],
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "127.0.0.1",
            "port": "6379"
        }
    }
}

### Logs
#### Web server error log

Insert your webserver log here


#### ownCloud log (data/owncloud.log)
{"reqId":"rBWCLwfWBcIs4tniYdQD","level":3,"time":"2019-10-28T12:30:15+00:00","remoteAddr":"172.16.10.154","user":"--","app":"index","method":"GET","url":"\/","message":"Exception: {\"Exception\":\"OCP\\\\Session\\\\Exceptions\\\\SessionNotAvailableException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Session\\\/CryptoSessionData.php(159): OC\\\\Session\\\\Internal->getId()\\n#1 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/User\\\/Session.php(750): OC\\\\Session\\\\CryptoSessionData->getId()\\n#2 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/base.php(450): OC\\\\User\\\\Session->invalidateSessionToken()\\n#3 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/base.php(587): OC::initSession()\\n#4 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/base.php(1005): OC::init()\\n#5 \\\/var\\\/www\\\/html\\\/owncloud\\\/index.php(53): require_once('\\\/var\\\/www\\\/html\\\/o...')\\n#6 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Session\\\/Internal.php\",\"Line\":130}"}

Insert your ownCloud log here

Please have a look into the nginx error logs and paste them here.
Not sure if there are also PHP-FPM logs, but if there are, please paste them as well.

1 Like

Hey,

could it be possible that your PHP environment has some problems with creating a PHP session (wrong permissions to e.g. the PHP session directory) or similar?

1 Like