Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to do fresh install of 2.4.93 #106

Open
mtaponen opened this issue May 10, 2024 · 1 comment
Open

Unable to do fresh install of 2.4.93 #106

mtaponen opened this issue May 10, 2024 · 1 comment

Comments

@mtaponen
Copy link

I have been running UISP on my raspberry for couple of years using your image & docker compose.

Now I stubled on some problem for which the root cause was full SD card and root-volume.
On recovering from that issue I'm now trying to do a fresh install by:

  1. pulling the latest image
#  docker pull nico640/docker-unms:2.4.93
2.4.93: Pulling from nico640/docker-unms
Digest: sha256:3914b46c08a392a8f6ae4b08bf71762b89c6e500fd3d7ab1bf1ed1db5e30a960
Status: Downloaded newer image for nico640/docker-unms:2.4.93
docker.io/nico640/docker-unms:2.4.93
  1. mv:ing both config and data directories under the uisp- directory and creating empty placeholders
  2. starting the service with docker compose
    (the plan was then get a plain instance running and recovering the backups through GUI)

Now two problems occur
a) Postgres cannot connect to localhost
Workaround:
I was able to recover from this by editing the postgresql.conf and making it to listen '*' instead of the localhost which is default

b) I get the following error regarding DB migrations:


uisp-unms-1  | {"message":"There is a migration registered in database for which there is no source code. This can happen when you update to an incompatible UISP version, please update to a newer one.","channel":"verify_database_migrations_integrity.sh","datetime":"2024-05-10T16:50:44+03:00","severity":"CRITICAL","level":500}

Now - this could well be that it is something I have cast upon myself, but wanted to report. If I resolve this myself, I will comment the workaround or root cause to this issue.
My setup is Raspberry 4(b?) + Synology NAS for data-directory mounts

$ docker --version
Docker version 20.10.22, build 3a2c30b
@mtaponen
Copy link
Author

Seems that this is somehow due to my setup being that the docker- volumes reside on NFS - for some reason this causes issues even when I have created 911-user and can see that the file-level rights are properly set by the container.
WIll update the issue when I get confirmation from my testst that this actually is the root-cause

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant