After at least a week of trying fresh installs over and over again I am now extremely frustrated with Nextcloud. I am using Apache 2.4.18 on Ubuntu Server 16.04, NOT NginX. Every attempt, whether per command line or wizard, has gone apparently smooth, no errors, yet at login it always either loops, or tells me the password is incorrect. The actual password in the MySQL DB cannot be the issue, as far as I can tell. Like I said I have tried many many installations, a few times choosing a different password. Log files, neither apache, nextcloud or syslog, show any errors.
I gone step by step using the Nextcloud installation instructions, and I tried going by these instructions -
Oh, and with every fresh install I completely wiped out the MySQL DB data.
I just tried 12.0.3.3 and got the same results.
Please, somebody provide me with a solution.
Thank you!
If you’re saying your webserver logs are empty, and the Nextcloud log is empty (situated in /path/to/data/) then we’re going to struggle to troubleshoot a little here.
I will say, however, my guide has hundreds of successful installs and might be worth comparing with how you’ve set it up to date. Check it out here.
I just closed and restarted my Chromium browser, got the login screen, but this time it’s telling me
my data directory and files are probably accessible from the Internet because the .htaccess does not work.
The really frustrating thing is that I had Nextcloud 11.0.3 installed and working well, but then wanted to upgrade and things went wrong, so I’ve been struggling with this completely fresh install ever since.
I finally managed to login, if you can call it that. I got a large white dialog screen that disappears after a few seconds saying - This content failed to load, so I logged off. I then got the intro screen with this message -
Are these settings not correct?
One of the other things that gets me is that this login loop has occurred since at least version 9.0 as far as I can tell. I’m trying to install 12.0, and I’m not finding any “error” messages in any log files. If it’s an ownership or permissions issue, why aren’t at least the ownership settings set properly when I unzip the zip file?
Well I’m not too sure if maybe I’m missing something somewhere else, but like I’ve been saying, I’ve been reinstalling completely fresh (clean) EVERY SINGLE TIME. So, that means I’ve been dropping the (nextcloud) database, removing the nextcloud user from the mysql database, completely deleting the nextcloud directory, and and and.
Sorry but I’m really getting beyond frustration here.
I’m really wondering if it might have something to do with the installation changing the newly created admin user somewhere. Just a thought, because the issue has to do with logging in. Honestly, the installation instructions are not the clearest to follow if you ask me, I think some more of the installation could be better automated.
But I’ve also installed nextcloud directly under the doc root but still have the same problem, so that I also do not understand -
/var/www/mydomain/nextcloud
Regardless of one or the other I always prior to accessing per web browser, I change the ownership on the nextcloud directory structure to www-data:www-data. Permissions I do not bother changing, because as far as I know they are set right especially with the ownership set to www-data:www-data.
Oh, and I have of course the Apache Alias set according the /var/www/nextcloud directory.
i meant: apparently you are installing it anew over and over again to an existing system. or did i get you wrong again?
and so i wanted to get to know where and how it’s hosted…
Yes, it is on the same existing system, every time, but like I’m saying, I’m cleaning everything up before each attempt (as far as I can tell anyway). The system is Ubuntu 16.04 LTS
Let me answer Thomas_Stein and maybe/hopefully you can find something there.