I want to install nextcloud on my TrueNAS and I’ve encountered the following issue:
Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user ‘dbadmin’@‘localhost’ (using password: YES)
Hello.
Yes, it’s been a few days since the last updates. The problem is that only MySql 8 is supported. The strange thing is that Nextcloud is an officially supported plugin from Truenas, and so far I can only read confused questions and no response from official sources. Maybe the solution will help you.
I can’t specifically speak about the Nextcloud FreeNAS plugin, however just in general - FreeNAS plugins are usually poorly maintained and oftentimes are not updated between versions. I can’t say I install anything on my FreeNAS installation from plugins.
Relax, he already gave you the solution, he made the changes and create a PR but until it will be merged you can just SSH to your TrueNAS and run this.
Hi, having the same Problem with the Plugin, I have one question to krnlpck. Im not so familiar with coding. I can SSH into my Nextcloud-Plugin Jail. Could you just specify, what you mean be ‘create nextcloud.json’. Does this mean to create a file named ‘nextcloud.json’ using an Command Line Text Editor (such as vi or nano) in the root directory with the content listed and then run the command ‘iocage fetch -P nextcloud.json’?? Sorry for this probably stupid question…