PenningLabs / lxconsole

LXD Graphical Web Console
GNU Affero General Public License v3.0
151 stars 18 forks source link

sqlite issue? #14

Closed tpsailer closed 7 months ago

tpsailer commented 8 months ago

Just getting back to this project after many months, spun up a new container, installed according to the Readme via pip.

I'm assuming that sqlite3 needs to be installed and running? I'm not remembering, and I can't find it in any docs, but sqlite3 is referenced in the code.

I'm unable to do anything as I keep getting the popup:

DataTables warning: table id=myDataTable - not authorized

No errors in the console logging.

tpsailer commented 8 months ago

OK, did that too fast. I'm sounding like a user... :(

Ubuntu 22.04, lxd snap 5.20, Ubuntu 22.04 container, git clone the latest on 2/28

matthewalanpenning commented 8 months ago

It does use sqlite but installs the required packages through the python requirements. The "not authorized" is indicating that your user account does not have the authorization to make the api request in the lxconsole code. Is this happening on all pages?

tpsailer commented 8 months ago

It repeats over and over, even at idle. And I can not add a server.

tpsailer commented 8 months ago

As soon as I log in:

Seems like list_servers is responsible for the releated error.

tpsailer commented 8 months ago

I deleted the container multiple times, set it all back up over and over again, same results. Until: I used the default MS browser to add my user, and now all is working fine. I had been using the latest Chrome and FIrefox, so this may be a browser issue. I'll keep trying to narrow it down.