2025-01-13, 09:41 AM
(This post was last modified: 2025-01-13, 09:57 AM by drakonis96. Edited 2 times in total.)
(2025-01-13, 08:16 AM)Efficient_Good_5784 Wrote: The task that clears/cleans out the logs only does so for logs that are older than 3 days.
A new log is made daily, so logs only have 24 hours to grow in size.
If your server is new, all the work of scanning things, running other tasks like trickplays and chapter image extraction and etc., will have the logs grow really large.
If you're also running into some form of error, it's not uncommon for the error to happen a bunch of times and be written to the logs too each time.
As for transcodes, maybe a transcode is being used by a client when you try to clear the transcode directory. Or it may be a permissions issue.
Thank you for your response. Does that also apply to the activity section? That section does not clean either when I click on the maintenance button.
While deploying the container, I get no errors, but I do get some warnings.
Code:
jellyfin | [09:58:50] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'ImageInfos' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
jellyfin | [09:58:50] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'ImageInfos' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
jellyfin | [09:58:50] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Permissions' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
jellyfin | [09:58:50] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Permissions' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
jellyfin | [09:58:50] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Preferences' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
jellyfin | [09:58:50] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Preferences' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
jellyfin | [09:58:50] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Users' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
jellyfin | [09:58:50] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Users' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
jellyfin | [09:58:50] [WRN] [6] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {943c6609-1aa5-41a0-9351-cd3d32bd0b0e} may be persisted to storage in unencrypted form.
jellyfin | [09:58:51] [WRN] [6] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: /run/s6-rc:s6-rc-init:NJCoAo/servicedirs/svc-jellyfin/wwwroot. Static files may be unavailable.
END OF LINE
As for permissions, I've got the container and the files with the following permissions. Could you please tell me if this is correct?
Code:
rroot@openmediavault:~# ps aux | grep jellyfin
root 943606 0.0 0.0 220 76 ? S 10:21 0:00 s6-supervise svc-jellyfin
jellyfin 943731 4.7 3.0 275348848 992492 ? Ssl 10:21 0:44 /usr/bin/jellyfin --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
root 964928 0.0 0.0 6352 2140 pts/0 S+ 10:36 0:00 grep jellyfin
root@openmediavault:~# ls -la /srv/dev-disk-by-uuid-34a38ce7-c6f8-4c5e-8a61-4d23bc6a71d2/USBhdd12tb/media/jellyfin/config
total 56
drwxrwsr-x 7 jellyfin users 4096 ene 13 10:11 .
drwxrwsr-x 3 root users 4096 ene 13 09:58 ..
drwxrwsr-x 3 root users 4096 ene 13 09:58 .aspnet
drwxrwxr-x 3 root users 4096 ene 13 09:58 .cache
drwxrwsr-x 5 jellyfin users 4096 ene 13 10:11 cache
drwxrwsr-x 7 jellyfin users 4096 ene 13 09:58 data
-rwxrwxr-x 1 jellyfin users 2740 ene 13 10:24 encoding.xml
-rwxrwxr-x 1 jellyfin users 1342 ene 13 10:11 livetv.xml
drwxrwsr-x 2 jellyfin users 4096 ene 13 10:34 log
-rwxrwxr-x 1 jellyfin users 1362 ene 13 09:58 logging.default.json
-rwxrwxr-x 1 jellyfin users 3639 ene 13 10:21 migrations.xml
-rwxrwxr-x 1 jellyfin users 1080 ene 13 10:10 network.xml
-rwxrwxr-x 1 jellyfin users 6753 ene 13 10:10 system.xml
Also, this happens when i try to manually remove a file from the container as the jellyfin user who runs it:
Code:
jellyfin@2a06773cb4b9:/config/cache$ ls
2568c4206ba4499db6a053b0c7a4272c_channels images omdb transcodes
jellyfin@2a06773cb4b9:/config/cache$ rm 2568c4206ba4499db6a053b0c7a4272c_channels
rm: remove write-protected regular file '2568c4206ba4499db6a053b0c7a4272c_channels'? Y
rm: cannot remove '2568c4206ba4499db6a053b0c7a4272c_channels': Permission denied
jellyfin@2a06773cb4b9:/config/cache$
Jellyfin 10.10.3 (docker)
OpenMediaVault 7.5
Intel N100
Storage:
OpenMediaVault 7.5
Intel N100
Storage:
- WD Red 500 GB SSD as os drive
- WD EasyStore 12 TB as media drive