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 18.104.22.168 and got the same results.
Please, somebody provide me with a solution.
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 -
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.