The Apparmor denial seems to no longer occur with 2.31.1.
`snap interfaces` lists 'wekan' connected to network and network-bind,
but not hardware-observe. I'm struggling with the correct syntax for
manually connecting it to anything:
root@saegusa:~# snap connect wekan :hardware-observe
error: cannot resolve connection, plug snap name is empty
root@saegusa:~# snap connect wekan:wekan :hardware-observe
error: snap "wekan" has no plug named "wekan"
root@saegusa:~# snap connect wekan: :hardware-observe
error: invalid value: "wekan:" (want snap:name or snap)
root@saegusa:~# snap connect :wekan :hardware-observe
error: cannot resolve connection, plug snap name is empty
`snap interfaces` does list a 'wekan:mongodb-plug', which (if I'm
reading the output right) is unattached. Attempting to connect that to
hardware observe:
root@saegusa:~# snap connect wekan:mongodb-plug :hardware-observe
error: cannot connect wekan:mongodb-plug ("content" interface) to
core:hardware-observe
("hardware-observe" interface)
There's also a 'wekan:mongodb-slot'. Attempting to connect mongodb-plug
to that:
root@saegusa:~# snap connect wekan:mongodb-plug wekan:mongodb-slot
error: snap "wekan" has "install-snap" change in progress
That's true, since I'm only able to see those two during the time that
the installation is stuck.
I'll attach the full output of `snap interfaces` below. It's the same
output that `snap interfaces` produces on the VM without the issue
(after installation, when the service is running).
As for the other question, there are wekan-related commands running when
it's stuck (listing below). The service seems to be up and running
already (I can open it in a browser) for the time it remains in the
configuration phase, but when the hook times out it of course gets
cancelled and the installation is undone.
root@saegusa:~# ps aux | grep wekan
root 10517 1.2 0.1 935608 23360 pts/22 Sl+ 17:45 0:00 snap install
wekan
root 10782 0.0 0.0 18056 2760 ? Ss 17:45 0:00 /bin/bash
/snap/wekan/124/bin/mongodb-control
root 10809 4.4 0.3 283812 54748 ? Sl 17:45 0:01 mongod
--dbpath /var/snap/wekan/common --logpath /var/snap/wekan/common/mongodb.log
--logappend --journal --unixSocketPrefix /var/snap/wekan/124/share --port 27019
root 10811 0.0 0.0 18052 2892 ? S 17:45 0:00 /bin/bash
/snap/wekan/124/meta/hooks/configure
root 10871 0.0 0.0 18056 2676 ? Ss 17:45 0:00 /bin/bash
/snap/wekan/124/bin/wekan-control
root 10898 7.6 0.6 1172036 103648 ? Sl 17:45 0:02
/snap/wekan/124/bin/node main.js
root 10975 0.0 0.0 15464 1012 pts/23 S+ 17:46 0:00 grep
--color=auto wekan
** Attachment added: "Output of `snap interfaces` during `snap install wekan`"
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1744718/+attachment/5059756/+files/snap-interfaces.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1744718
Title:
Install/refresh stuck at configure hook (Wekan)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1744718/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs