-
Notifications
You must be signed in to change notification settings - Fork 43
lxdock up erron on fresh ubuntu 20.04 Focal #182
Comments
I'm only going to be able to properly look at this in early November as the project really lacks maintainers, and I don't even actively use it anymore. Anyway in the mean time have you tried going to older stable releases of LXD, it's been a while since I tried LXDock at the start of the year and many LXD versions have come out since. Then I got completely bogged down at work and I have a bunch of other PRs to look at too. There are some guides on the LXD getting started page for installing older stable versions: https://linuxcontainers.org/lxd/getting-started-cli/#ubuntu I'm pretty sure 3.x is the last version I did test it with, anyway I can get to this maybe next week, otherwise early Novermber. I'm sorry for the inconvenience but we need maintainers, I can't maintain this project by myself really. |
Make sure you have added yourself to the lxd group as well, I recall that being a requirement. You should not really run lxdock as sudo. |
Also how did you install lxdock? Not via pip install I hope? Just need to make sure because the project hasn't pushed a release to pypi for years as I have not been able to maintain it properly due to always being so busy at work as a senior dev across many different projects and teams, and being the only maintainer on LXDock I often just can't get to it fast enough. We only get a few PRs every year but they tend to come in bunches then there is months and months of inactivity. Anyway, make sure you clone the latest master then install that, don't use the version from pip, it hasn't had a release for years. There is a PR to publish LXDock as a snap, but to be honest I think much bigger priority is to start publishing on pypi again. |
FYj, I won't look at this further until next week but I did try to install it on KDE Neon 20.04 (which is close enough to Focal). I ran into some compatibility issue with a library ws4py and Python 3.8, I think it needs investigation: File "build/bdist.linux-x86_64/egg/ws4py/server/tulipserver.py", line 43
f = asyncio.async(self.handle_initial_handshake())
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/ws4py/async_websocket.py", line 87
asyncio.async(closeit())
^
SyntaxError: invalid syntax I have no clue at this point what is even depending on the library ws4py, I've never heard of this library until today. But that library hasn't had an update since 2018 either so not looking good. The weird thing is it didn't seem to stop lxdock from installing, I just noticed the error in the scrollback after running |
This is what I got from installing latest lxd snap, adding myself to the lxd group, installing latest lxdock master and creating a fresh project using It seems a new step is needed to create a storage pool. This is new to me as I have not used lxd since early this year: (lxdock) rob@deskmini:~/Projects/foo$ lxdock up
Unable to find container "default" for directory "/home/rob/Projects/foo"
Creating new container "foo-default-57450572" from image ubuntu/bionic
Can't create container: No storage pool found. Please create a new storage pool Need to investigate what is needed to create a 'storage pool', could try downgrading lxd to 3.x but the correct solution would be to adapt to these changes. |
The text was updated successfully, but these errors were encountered: