https://github.com/nextcloud/vm/blob/master/nextcloud_install_production.sh#L268 (added the workaround until this is fixed)
DB should be created during install.
DB is not installed.
Error message in red that admin couldn't connect to DB because it doesn't exists
Operating system:
Ubunt Server 16.04
Web server:
Apache 2.4
Database:
MySQL 5,7
PHP version:
7.0
Ref similar issue from before https://github.com/nextcloud/server/issues/2661
We had the same situation with NC11 → #2646 which was fixed by this pull request
@lightonflux how is it possible that something that was fixed in nc11 is not in the code of nc12? maybe bad merges?
@tessus Was merged properly and the code is still there.
@lightonflux Still doesn't work, so the fact that the code is still there doesn't change anything.
@rullzer Can you please have a look at this?
I'm surprised that this isn't fixed yet.
I´m having this problem using the VM downloaded from your web, any fix?
@arodriguezf Nextcloud is already installed in the VM, so I don't understand how you can have this issue?
@MorrisJobke Is this in NC 13 now? Haven't tested as I create a DB per default in the scripts before Nextcloud is installed.
@MorrisJobke Is this in NC 13 now? Haven't tested as I create a DB per default in the scripts before Nextcloud is installed.
Don't know. Haven't tested again.
Still occuring @enoch85 ?
@skjnldsv Have to test it, solved it by creating the DB before so it worked since. But it's a workaround, not a fix to the real issue.
Will let you know.
This issue has been automatically marked as stale because it has not had recent activity and it seems to be missing some essential informations. It will be closed if no further activity occurs. Thank you for your contributions.
Why should nextcloud create the database? Many users are confused because nextcloud creates a database user on setup. I would prefer that nextcloud just uses the provided credentials and print some warning if the db is missing or has the wrong charset. Would like to hear your opinion @enoch85
Why should nextcloud create the database?
It's convenient. Simple as that. :)
For me though, I don't need it anymore since it's been implemented in the VM to create a DB before occ:install is run ever since this issue arise.
I would be OK with closing.
@rullzer @MorrisJobke @nickvergessen in or out of our roadmap?
@rullzer @MorrisJobke @nickvergessen in or out of our roadmap?
"Out" in my opinion.
Most helpful comment
It's convenient. Simple as that. :)
For me though, I don't need it anymore since it's been implemented in the VM to create a DB before
occ:installis run ever since this issue arise.I would be OK with closing.