Problem with Incus

Hello,

I’ve install the app via the web admin and via console with reboot and uninstall in between. The app just doesn’t work, I doesn’t show up in the userboard. When I go on it using the “application” menu in the admin panl of Yunohost, the page doesn’t charge under the app title.

Context

  • Hardware: x86 base local server
  • YunoHost version: 11.2.11.2
  • I have access to my server: Through SSH | through the webadmin.
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: No
  • Using, or trying to install package version/branch: Normal package

Steps to reproduce

I don’t know the process is just installing the app via the yunohost webmin or the shell via command “sudo yunohost app install incus”

Expected behavior

Something to work

Logs

https://paste.yunohost.org/raw/ahagigokok

To be more precise, at the first attempt to install the app, i’ve got dependencies errors. I installed one of the depencies “incus-base”. I’ve redone the install, which went without any issue but the app didn,'t worked. I uninstall the app using the command line yunohost app remove incus AND the “incus-base”. I’ve try a install again and it installed but still didn’t work. I’ve rebooted my system, with no change.

Thanks for the investigation! Can you share the log of this first failed install? Paging @Salamandar who packaged the app.

What do you mean by “did not work”? This is not a webapp, you need to manage it with the command line, and the containers will not be automatically published/exposed. :confused:

1 Like

Hi here the first log I got, the one with failures because of dependencies.

https://paste.yunohost.org/raw/kimajesaxi

What(s make think that something is not “allright” is that when i go on the application part from the webmin, i got that:

And my mouse cursor is spinning, like it’s trying to load something. But it is not loading anything.

Haaa, I didn’t try this, I was expecting (hoping? haha) that it will come with the web UI tom manage the containers. Hmmm.

EDIT:
I just gave a shot at: incus --all
And the command line works so I guess it’s installed.

But is the behaviour normal in the webmin console of yunohost? It feels weird.

BTW would have love to have the Web UI for it :slight_smile:

EDIT 2: okayyy as I understand Incus does not inculde a webUI by default. Now everything makes more sens.

This is definitely unexpected though. Can you check in your browser’s console if any error comes up?

Hello,
of course I have some errors in the dev panels, but as I am not much of a dev, I don’t really know what to share, so here are the errors which are showing up ine the console when I go on the incus app menu:

Summary

api/versions?locale=fr:1

   Failed to load resource: the server responded with a status of 401 ()

core-86f26b33.js:20 APIUnauthorizedError (401): undefined
Non autorisé
log @ core-86f26b33.js:20
core-86f26b33.js:5 TypeError: Cannot set properties of undefined (setting ‘name’)
at s.onQueriesResponse (AppInfo-f7e49255.js:1:1155)
at it (core-86f26b33.js:5:20554)
at s.r (core-86f26b33.js:5:10854)
at it (core-86f26b33.js:5:20554)
at e.$emit (core-86f26b33.js:5:25159)
at index-b087aa40.js:2:2223
Oa @ core-86f26b33.js:5
Aa @ core-86f26b33.js:5
vt @ core-86f26b33.js:5
(anonymous) @ core-86f26b33.js:5
Promise.catch (async)
it @ core-86f26b33.js:5
r @ core-86f26b33.js:5
it @ core-86f26b33.js:5
e.$emit @ core-86f26b33.js:5
(anonymous) @ index-b087aa40.js:2
Promise.then (async)
fetchQueries @ index-b087aa40.js:2
created @ index-b087aa40.js:2
it @ core-86f26b33.js:5
Se @ core-86f26b33.js:5
Tc.e._init @ core-86f26b33.js:5
s @ core-86f26b33.js:5
tc @ core-86f26b33.js:5
init @ core-86f26b33.js:5
c @ core-86f26b33.js:5
l @ core-86f26b33.js:5
(anonymous) @ core-86f26b33.js:5
Ul.e._update @ core-86f26b33.js:5
n @ core-86f26b33.js:5
e.get @ core-86f26b33.js:5
e @ core-86f26b33.js:5
Hl @ core-86f26b33.js:5
k.$mount @ core-86f26b33.js:5
init @ core-86f26b33.js:5
r @ core-86f26b33.js:5
c @ core-86f26b33.js:5
l @ core-86f26b33.js:5
(anonymous) @ core-86f26b33.js:5
Ul.e._update @ core-86f26b33.js:5
n @ core-86f26b33.js:5
e.get @ core-86f26b33.js:5
e.run @ core-86f26b33.js:5
Gl @ core-86f26b33.js:5
(anonymous) @ core-86f26b33.js:5
dr @ core-86f26b33.js:5
Promise.then (async)
qt @ core-86f26b33.js:5
Mi @ core-86f26b33.js:5
Xl @ core-86f26b33.js:5
e.update @ core-86f26b33.js:5
e.notify @ core-86f26b33.js:5
set @ core-86f26b33.js:5
(anonymous) @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
xe.updateRoute @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
n @ core-86f26b33.js:13
n @ core-86f26b33.js:13
n @ core-86f26b33.js:13
bo @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
n @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
Promise.then (async)
(anonymous) @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
lu @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
g @ core-86f26b33.js:13
n @ core-86f26b33.js:13
n @ core-86f26b33.js:13
n @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:13
(anonymous) @ core-86f26b33.js:14
g @ core-86f26b33.js:13
n @ core-86f26b33.js:13
n @ core-86f26b33.js:13
bo @ core-86f26b33.js:13
xe.confirmTransition @ core-86f26b33.js:13
xe.transitionTo @ core-86f26b33.js:13
t.push @ core-86f26b33.js:13
X.push @ core-86f26b33.js:13
N @ core-86f26b33.js:13
it @ core-86f26b33.js:5
r @ core-86f26b33.js:5
Pf.a._wrapper @ core-86f26b33.js:5