OK, APCu is NOT the reason for my login problems.
I found this in the /data/nextcloud.log after my installation fails:
{“reqId”:“Xbm26QT9AQPoXueKVsD-7wAAABg”,“level”:3,“time”:“2019-10-30T16:14:35+00:00”,“remoteAddr”:“192.168.238.247”,“user”:"–",“app”:“PHP”,“method”:“POST”,“url”:"/nextcloud/index.php",“message”:“password_hash(): Memory allocation error at /home/newvidbw/nextcloud.newvision-demo.de/nextcloud/lib/private/Security/Hasher.php#80”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0”,“version”:“17.0.0.9”}
{“reqId”:“Xbm26QT9AQPoXueKVsD-7wAAABg”,“level”:3,“time”:“2019-10-30T16:14:46+00:00”,“remoteAddr”:“192.168.238.247”,“user”:"–",“app”:“index”,“method”:“POST”,“url”:"/nextcloud/index.php",“message”:{“Exception”:“Error”,“Message”:“Call to a member function getUID() on null”,“Code”:0,“Trace”:[{“file”:"/home/newvidbw/nextcloud.newvision-demo.de/nextcloud/core/Controller/SetupController.php",“line”:72,“function”:“install”,“class”:“OC\Setup”,“type”:"->",“args”:["*** sensitive parameters replaced "]},{“file”:"/home/newvidbw/nextcloud.newvision-demo.de/nextcloud/lib/base.php",“line”:938,“function”:“run”,“class”:“OC\Core\Controller\SetupController”,“type”:"->",“args”:[" sensitive parameters replaced ***"]},{“file”:"/home/newvidbw/nextcloud.newvision-demo.de/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/home/newvidbw/nextcloud.newvision-demo.de/nextcloud/lib/private/Setup.php",“Line”:415,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0”,“version”:“17.0.0.9”}
It’s the “memory allocation error” that catches my eye.
This is somehow related to PHP Bug # 78516,
https://bugs.php.net/bug.php?id=78516
So it’s about hasher.php failing to work properly.
I don’t know how to set proper memory cost value, though
Regards,
Philipp