I tried to install nextcloud on my webspace at Hosteurope. Everything went find up to the moment were I like to finish the installation.
Nextcloud asked for the username the passwort and the selection for the database.
I selected the MySQL option and add all neccessary information.
When I press the âInstallationâ Button I receive the following error message:
Interner Serverfehler
Der Server hat einen internen Fehler und konnte Ihre Anfrage nicht vervollstÀndigen.
Bitte wende Dich an den Serveradministrator, sollte dieser Fehler
mehrfach auftreten, und fĂŒge Deiner Anfrage die unten stehenden
technischen Details bei.
Weitere Details können im Serverprotokoll gefunden werden.
Technische Details
Entfernte Adresse: 91.13.222.156Anforderungskennung: ZjBZEvXNPHklRnyJ/8Kc
In the error log I get
[Mon Aug 01 21:13:02 2016] [error] [client 80.237.133.69] client denied by server configuration: /is/htdocs/xxxxxxxxxx_yyyyyyyyyy/cloud/data/htaccesstest.txt
Iâm lost and also the support from hosteurope couldnât help me.
Does anybody made the same experience and find a solution?
@dbaray: These errors are expected, if you already give the credentials for the future NC-user (the script always tries, if it is an admin account and then creates a restricted user, so these errors are somehow expected). Do you have config/config.php? If yes, what happens, if you again open the URL of your cloud? Are there any new entries to the logfile?
Thank you for following this up @tflidd âŠvery much appreciated
I have the following config.php
<?php
$CONFIG = array (
'instanceid' => 'oc9a77hhkqb5',
);
When I try to open the URL of my cloud, it again shows the setup page. If I write the same admin user name, it tells me that user already exists and adds the following line to the log:
"app":"mysql.setup","message":"Database creation failed: An exception occurred while executing 'GRANT ALL PRIVILEGES ON `or_nxcloud` . * TO 'or_nxuser'':\n\nSQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'or_nxuser'@'localhost' to database 'or_nxcloud'","level":3,"time":"2016-08-04T20:43:49+00:00","method":"POST","url":"\/nextcloud\/index.php","user":"--"}
After this, when I try a new admin name, I see the HTTP 500 error. And a new line is added in the log which writes the same error above.
I noticed this in error.log which I had not ealier:
[04-Aug-2016 21:02:43 UTC] PHP Fatal error: Out of memory (allocated 15204352) (tried to allocate 1138 bytes) in âŠ/public_html/nextcloud/lib/private/log.php on line 287
Not sure what went wrong. There are only two entries missing:
'installed' => true,
'maintenance' => false,
Iâm not sure what the installer does during the last steps and why it failed. If it got so far and was able to install tables, the permissions on the database are ok.
Do you have webserver-logfiles? A timeout could be the reason, if that is not the case, you should ask a developer if you can just add the missing linesâŠ
thanks for your reply. Unfortunately I am rather restricted because I am using a using a shared web hosting service. My provider does not (yet) support PHP 7. He has announced it for the end of the month. I guess I will just have to waitâŠ