azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
3.1k stars 112 forks source link

[BUG]: Re instalation of filebrowser #87

Closed mareczek82 closed 12 months ago

mareczek82 commented 12 months ago

What happened?

As I had issue with accessing to folders created by other docker apps i wanted to recreate Filebrowser hoping it will override access permissions. I killed this docker, then deleted it via ServApps. Then I tried to instal it via Marked but I can't.

this is log from installation cli

Creating Service...
Starting creation of new service... Pulling image filebrowser/filebrowser:s6 s6 Pulling from filebrowser/filebrowser {"status":"Digest: sha256:a6da98e2ce087e69062dae368675afaef9d084a65735224d7fe4cc6237c83bb0"} {"status":"Status: Image is up to date for filebrowser/filebrowser:s6"} Image filebrowser/filebrowser:s6 pulled Checking service Filebrowser... Forcing secure Filebrowser... Created secure network cosmos-network-136YfTDSM Creating container Filebrowser... Checking directory /mnt/host/usr/Filebrowser/Filebrowser-database.db for bind mount Checking directory /mnt/host/usr/Filebrowser/.Filebrowser-filebrowser.json for bind mount Checking directory /mnt/host/ for bind mount [ERROR] Rolling back changes because of -- Route already existRolled back container Filebrowser Rolled back network cosmos-network-136YfTDSM [OPERATION FAILED]. CHANGES HAVE BEEN ROLLEDBACK.

Any ideas how to fix this? I don't want broke my cosmos setup.

What should have happened?

Filebrowser app should be installed

How to reproduce the bug?

  1. Go to 'ServApps and delete old docker..'
  2. Click on 'Market'
  3. Scroll down to 'Filebrowser' and create new docker
  4. See error

Relevant log output

No response

Other details

No response

System details

OS: [e.g. iOS] UBUNTU 22 LTS on ARM based Oracle free tier VPS Browser [e.g. chrome, safari] Chrome Version [e.g. 22]

azukaar commented 12 months ago

You need to clean up the route in the URL tab before reinstalling (removing file browser) a better re-install journey will be worked on soon