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

[BUG] First launch after container update stuck on [migrations] messages #93

Closed
1 task done
edrock200 opened this issue Feb 23, 2024 · 6 comments
Closed
1 task done

Comments

@edrock200
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When updating emby container image, first launch just hangs with only this in the docker log:

[migrations] started
[migrations] no migrations found

A restart of the container then proceeds per usual.

Expected Behavior

No hang after container update

Steps To Reproduce

Have an existing emby instance.
Delete existing emby container
Redeploy emby with /config pointing to your existing emby instance

Environment

- OS:Ubuntu 22.04/Docker, pgid/puid set to 1000:1000 vs root
- How docker service was installed: via apt

CPU architecture

x86-64

Docker creation

docker run -d \
--name "emby" \
--restart="unless-stopped" \
--hostname="emby" \
--device="/dev/dri:/dev/dri" \
--network="bridge" \
-e "UID=1000" \
-e "GID=1000" \
-e "GUID=1000" \
-e "PUID=1000" \
-e "AMDGPU_IDS=/share/libdrm/amdgpu.ids" \
-e "FONTCONFIG_PATH=/etc/fonts" \
-e "GIDLIST=2" \
-e "HOME=/root" \
-e "LANG=en_US.UTF-8" \
-e "LANGUAGE=en_US.UTF-8" \
-e "PCI_IDS_PATH=/share/hwdata/pci.ids" \
-e "LD_LIBRARY_PATH=/lib:/system" \
-e "LIBVA_DRIVERS_PATH=/lib/dri" \
-e "LSIO_FIRST_PARTY=true" \
-e "OCL_ICD_VENDORS=/etc/OpenCL/vendors" \
-e "VIRTUAL_ENV=/lsiopy" \
-e "XDG_CACHE_HOME=/config/cache" \
-e "S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0" \
-e "S6_STAGE2_HOOK=/docker-mods" \
-e "S6_VERBOSITY=1" \
-e "TZ=EET" \
-e "PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \
-e "TERM=xterm" \
-e "LANG=C.UTF-8" \
-e "LC_ALL=C.UTF-8" \
-e "HOME=/config" \
-p "8096:8096" \
-v "/dev/shm:/dev/shm" \
-v "/mnt/local/transcodes/emby:/transcode" \
-v "/mnt/unionfs/Media:/mnt/unionfs/Media:ro" \
-v "/opt/emby:/config" \
lscr.io/linuxserver/emby:latest

Container logs

[migrations] started
[migrations] no migrations found
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@aptalca
Copy link
Member

aptalca commented Feb 23, 2024

Remove all those vars from your docker run. The only ones you should be setting are listed in the readme

@edrock200
Copy link
Author

Remove all those vars from your docker run. The only ones you should be setting are listed in the readme

So I removed the env vars less the ones listed as supported in the readme, but it still does the same thing on initial deployment, a restart seems to get it going again.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@homerr
Copy link
Member

homerr commented Mar 29, 2024

It could be that when you created the container with all of those env settings, something is stuck somewhere. The only way to sort this out would be to start from fresh which I wouldn't want to do, so I'm afraid the best thing to do is manage this with the manual restart until you are in a place to reinstall the container.

@homerr homerr closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2024
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

4 participants