-
Notifications
You must be signed in to change notification settings - Fork 501
Description
Wow! Thanks for the speedy reply and for doing the Emby upgrade. Upgraded ok but facing some issues...
I have some questions regarding Docker. I'm new to Docker so still trying to get my head around things such as permissions. One thing I am having issues with is granting Emby to have full read/write access to a local folder. I have noticed that most of the settings are in a docker-compose.yml file (I did not know that after doing the upgrade it replaced this file with a fresh one) and I have added some changes to it. See below:
"version: '3.7'
services:
app_proxy:
environment:
APP_HOST: emby_server_1
APP_PORT: 8096
PROXY_AUTH_ADD: 'false'
container_name: emby_app_proxy_1
server:
image: >-
linuxserver/emby:4.9.1@sha256:7259ccc4006434c966339434cf8f558aa499b7433e2e64805e316823ba42d791
environment:
TZ: Europe/Berlin
UID: 1000
GID: 1000
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data/config:/config:rw
- ${UMBREL_ROOT}/home/Videos:/mnt/Videos
- ${UMBREL_ROOT}/home/Music:/mnt/Music
- ${UMBREL_ROOT}/home/Photos:/mnt/Photos
- ${UMBREL_ROOT}/home/Emby:/home/Emby:rw
container_name: emby_server_1"
So I have added the folders for the Emby library and for backups which is in "home/Emby/Backup". Emby can see the folder but it can't write anything into it. I'm guessing I need to use some commands to grant Emby to have full access? Below is the error that I get from Emby:
"Emby Server Backup Failed on Emby
10/10/2025, 13:04
Running time: 4 seconds Access to the path '/home/Emby/Backup/embyserver-backup-full/data/library.db' is denied. at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException) at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at Emby.Server.Implementations.IO.ManagedFileSystem.CopyFile(String source, String target, Boolean overwrite) at Emby.Server.Implementations.ApplicationHost.BackupDatabases(String destinationFolder) at MBBackup.ServerEntryPoint.ExecuteBackupInternal(PluginConfiguration configuration, CancellationToken cancellationToken, IProgress1 progress) at MBBackup.ServerEntryPoint.ExecuteBackup(PluginConfiguration configuration, CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)"
Regarding the setup, is this best way of doing it or I'm I just making a dogs dinner? This is all guess work lol.
Also, I have noticed that Emby is using port 8097 instead of their port numbers, 8096 and 8920. I'm guessing I have to use port 8097 for the outside world? Any way of using HTTPS?
Thanks again for sorting out the upgrade