Closed vosdev closed 2 years ago
I am guessing this is all happening because something when wrong when configuring it (as seen in other github issue). You can resetting the installation which gets rid of the saved settings. I cant test now but.
deleting the database file, data/nuber.db bin/console db:setup delete this file config/install.json then go back to the url/install
Basically its having trouble finding the default host. Its friday night, i will try to look at it over the weekend. You can try reinstalling, and setting up if instructions dont work above.
Trying to add my server to a local lxd instance as a remote server throws me the same "Error not found" so I will get to debugging that.
Thanks for instructions on resetting my Nuber application, maybe put it in the docs? I couldn't find it there.
Okay so I executed your instructions. Removed data/nuber.db
, ran bin/console db:setup
, rm config/install.json
and went to my
[2022-05-07 9:59:01] application DEBUG: BEGIN EXCLUSIVE TRANSACTION
[2022-05-07 9:59:01] application ERROR: DatasourceException SQLSTATE[HY000]: General error: 8 attempt to write a readonly database vendor/originphp/framework/src/Model/Connection.php:282
No rush.LXD did a rewrite on the whole certificate/trust area so I'll likely have to wait for LXD 5.2 before I can start to use Nuber
Ahh you need to chown www-data:www-data data/nuber.db.
The resetting db is only something in rare circumstance to do, in this case because your installation failed. Normally this would mean data loss, so that is why its not there.
I have pushed an update that fixes the error caused by trying to render an error, it does not fix the problem that you are having.
The chown needs to be run after the dB setup command as if not it's owned by root , sorry for not making that clear earlier.
Ah yes that belongs to www-data. I chowned the db file and now I was able to create my user. I'll still have to wait for a fix on the 404 that LXD now returns on the /1.0/certificates
path but after that I'll start using Nuber right away!
Thanks for the assistance with that.
The last two lines pop up when I visit the nuber webpage /instances. The first two popped up after configuring my first server
Last line in lxd.log shows a 404 not found:
Server runs LXD 5.1