First time install and I am stuck in the migration loop.
Running Docker, just installed v0.11 for the first time. On page 2 it is picking up 'nextpvr-nextpvr_amd641.syno' as what it's trying to migrate from.
61 Replies
Hi, thanks for your post.
Is there a reason, why you are running a very old version of Homarr?
We do not provide any support with older versions.
@gridlockjoe
Itβs what got pulled when I ran the docker-compose script.
Can you post your compose? What container registry do you use?
My mistake, not a compose, but a docker run command:
docker run -d --name=homarr \
-p 4755:7575 \
-v /volume1/configs:/app/data/configs \
-v /volume1/configs/homarr/icons:/app/public/icons \
-v /var/run/docker.sock:/var/run/docker.sock \
-e PASSWORD=[redacted] \
-e EDIT_MODE_PASSWORD=[redacted] \
-e DISABLE_EDIT_MODE=TRUE \
-e TZ=America/Chicago \
--restart always \
ghcr.io/ajnart/homarr:latest
I'm following the guide at https://mariushosting.com/how-to-install-homarr-on-your-synology-nas/
Marius Hosting
How to Install Homarr on Your Synology NAS
Trustworthy expert guide to your Synology NAS.
Can you do a "docker pull ghcr.io/ajnart/homarr:latest"? Also, where did you see the version? Just in the header or in the menus?
The version came up when I first opened the URL after install
Ok, Iβve pulled the latest container
Status: Image is up to date
Can you maybe go to Homarr again, click on the menu and press on "About"?
Iβll need to reinstall
And you never installed Homarr before?
Nope, first time
That is.... odd
Is the location / volume, where you mounted to, empty?
Yeah
It is empty?
It should not be empty. Does the container have write permissions to that volume?
There is nothing in/docker/homarr except an empty icons folder
Okay.
Can you manually copy this file and put it in the volume for configurations?
GitHub
homarr/data/configs/default.json at dev Β· ajnart/homarr
Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr) - ajnart/homarr
Ah no, wait
Sorry, I found your problem. You mounted two locations to the same volume. Therefore, the second location overwrites the contents of the first
You need two separate volumes or create directories in those volumes for each mapping.
Into the config folder?
What?
Where to save the json file
Can you explain? Iβm still new at this π
Sure. Let me grab my laptop. I am still on mobile rn
Same here
I will help you then π
No problem. Iβll be here
I've tried everything that I know, and still I get the migration screen even though I've never installed Homarr before.
Yea, sorry I had to help a friend yesterday instead
Can you post your updated docker run again here?
Hopefully I can help you fix it when I get a break
you used homarr before right ?
No, they didn't
They mounted two at the same location. See my comment above
its werid. The migration code should be gone by now aha
oh makes sense then
Yes. But it doesn't fix that they installed it wrong.
I will post the fixed docker run command on my laptop. It's too hard to do on mobile
np
This code worked:
sudo docker run \
--name homarr \
--restart unless-stopped \
-p 7575:7575 \
-v /config:/app/data/configs \
-v /volume1/docker/homarr/icons:/app/public/icons \
-d ghcr.io/ajnart/homarr:latest
Makes sense π. Now you're not mapping two locations to the same directory or volume
When all else fails, read the instructions π
It pulled v0.12. Is that correct, or is 0.13 current?
Thank you both for your help and patience! π
0.13 is current. But where do you see 0.12? Probably at the top left, right?
Yes, Top left.
And I pulled the image this morning.
Then you don't run 0.12. We often forget to update that text
Can you click on the menu, click on About and tell me, what version you see?
0.13
Ok. So you run the newest π
I'm guessing it is not normal for Homarr to forget its configuration if I close the browser? I can customize the layout, but if I close the browser window everything is forgotten.
Do you exit the edit mode and save your config?
Your browser should warn you, if you don't
I exit using the exit and save button.
Where is default.json saved?
Does the file on your file system get saved / updated?
Wherever you mounted it π
Now that's strange. I'm looking at my container's mounted volumes, and only the one for icons is listed. There's no entry for config. I stopped the contaier and tried to add a line for config, as in the docker command, and Container Manager tells me that's aleady in use.
already*
Yes, because you didn't mount to a volume:
It seems that you are lacking basic understanding of Docker. It's not a problem, but sadly, I can't teach you everything...
Yeah, I'l admit
If volumes are mounted incorrectly, Homarr won't be able to work anyway...
that I'm new
Yea, as mention, not a problem, but sadly, my time schedule is already full of stuff.
- Consider to create a new volume for your config
- Then adjust your docker run accordingly to the new volume (left side of mapping)
I thought -v /config:/app/data/configs \ would map my file system's /config folder to that container's /app/data/configs
Thanks for your help.
Yes, that will mount to the file system
D'oh! One missing 's'... my config volume is /configs, not /config
But not to a volume π
Ah...
Trying again. Thanks for putting up with my noob questions. I used Unix many moons ago and appear to have forgotten most of what I learned way back when
No worries
I don't mind your question, I just don't have enough time π
Let me know if your volume works now. If it still doesn't, I'll try to help you further
That did solve my problem with the config not sticking. Only remaining problem is that pings to radarr, sonarr, sabnxbd, etc are all showing red. The tooltip for the red dot is "undefined undefined". Probably a port forwrading issue?
I think they are currently a bit broken
ah
I recommend you to look in the Homarr log to see what's going on
I will. Probably tomorrow when I can get to it. Thanks again!
They're working now. I changed the config to go to the NAS IP rather than its .local hostname.