umbrel icon indicating copy to clipboard operation
umbrel copied to clipboard

No apps can be installed, any app i try to install i just get the message "Not running"

Open nimafanniasl opened this issue 1 year ago • 5 comments

Hey, I've installed umbrelOS (The x86) version but when I try to install any apps this happens: Screencast from 2024-07-13 20-56-28.webm When i click on the icon in the Home Screen, Nothing happens! Also after a few minutes, the app disappeares from the home screen too.

nimafanniasl avatar Jul 13 '24 19:07 nimafanniasl

Hey @nimafanniasl,

Sorry to hear you're having issues with app installations. Could you try the following:

umbreld client apps.update.mutate --appId jellyfin

Then following that can you right click the app icon on the home screen and click "Start" and see if that works? If after that step, it still won't start could you provide the logs for the app and also umbrelOS.

To provide logs for apps

  • Right click the app icon on the home screen and click "Troubleshoot", you should see a window pop up and show you some diagnostic information.

To provide logs for umbrelOS

  • Go to Settings → Troubleshoot → umbrelOS, you should see a window pop up and show you some diagnostic information.
  • For a more comprehensive set of logs, open the umbrelOS Terminal and type sudo journalctl -u umbrel.service > ~/logs.txt then use this command scp [email protected]:/home/umbrel/logs.txt . on your PC to copy the log file to your PC and then upload it here.

Many thanks

a4004 avatar Jul 26 '24 11:07 a4004

Hey! Thanks for the response, I forgot to close this issue. The problem was the sanctions on docker in Iran, after replacing the docker mirrors it got fixed.

But from my understanding the system updates by downloading the full image of the filesystem and applying that. If that's the case, is there a better way to change files in the filesystem?

Thanks.

nimafanniasl avatar Jul 26 '24 12:07 nimafanniasl

Hey @nimafanniasl

The data directory in ~/umbrel/data/storage is persistent between updates and will allow you to store files for all your apps, etc.

a4004 avatar Jul 26 '24 18:07 a4004

I was facing this issue, very likely because I was manipulating my app's docker-compose file manually, but I believe Umbrel should be able to fix such a state.

In this state I cannot get it to a state to be able to run it, I tried removing the community app-store, re-adding it, restarting Umbrel, but it stays in the same state so I cannot install the app.

I then tried to list the app with $ umbreld client apps.list.query, and the apps was listed with this weird state:

{
    id: 'formicaio-apps-formicaio',
    error: "ENOENT: no such file or directory, open '/home/umbrel/umbrel/app-data/formicaio-apps-formicaio/umbrel-app.yml'"
},

So, then I tried to uninstall it with $ umbreld client apps.uninstall.mutate --appId formicaio-apps-formicaio, and it failed with an error related to no being able to stop the container, which was due to the fact that I removed its files from umbrel/app-data dir, so I copied the files manually from umbrel/app-store/... to umbrel/app-data/... and then the app was listed in this other state:

{
    id: 'formicaio-apps-formicaio',
    name: 'Formicaio',
    version: '0.3.2',
    icon: 'https://raw.githubusercontent.com/bochaco/formicaio/cc1bb961c97ea6d5042ada43f83ea1bcf4808fd4/public/formicaio.svg',
    port: 52101,
    path: '',
    state: 'uninstalling',
    credentials: { defaultUsername: '', defaultPassword: '', showBeforeOpen: false },
    hiddenService: 'e6qlzneymio55l2wehlg7cujgdqpkuoj5axu225a2skkokx4svpeveyd.onion\n',
    dependencies: [],
    selectedDependencies: {}
},

At this point, I was able to uninstall it with $ umbreld client apps.uninstall.mutate --appId formicaio-apps-formicaio.

I believe that the UmbrelOS GUI should be able to list apps in this type of corrupted state, and allow the user to simply get rid of it, I know this was not Umbrel's fault to take it to such an inconsistent state, but from using the umbreld CLI it looks like it can handle such scenarios so the user can recover from it by removing/uninstall it using the GUI rather than the CLI.

bochaco avatar Mar 03 '25 14:03 bochaco

Hi All,

I have the same problem. Everything was running fine and one day just all apps state "Not Running". I'm completely stuck. I haven't changed anything in the dockers like is mentioned above. What can I do? I can't even open my lightning app and take my Bitcoin out?

Would someone be able to help me, maybe? Thank you so much

Melvisg avatar Apr 10 '25 17:04 Melvisg