Posts by FishCZ

    Hi Votdev,

    thanks for prompt reply.

    I didn't know I could get the error exported. sorry bout that.


    the result was a big AHA! moment


    enabling me to see the bug was actually a sufficient support :)


    So to be helpful also to other users.

    So my NAS was originally composed of old ntb HDDs. now after an upgrade to SSDs I did not remove all former file systems

    my plan was to use fifth unused SATA slot on the NAS to hook one hdd after another and copy the data like this.

    and thus to be able to do it remotely I needed to keep former samba setup.


    Apparently one of the disks was not EXT4 but NTFS which OVM didn't like to work with now and all I needed to do was to remove samba dlna shares with this disk and ofc this filesystem from OVM.

    it worked like a breeze.


    here is the relevant part of the error message

    Hi,

    So I have just created my very first raid using md plugin.

    when I go to Storage > file system > Create and mount file system

    System msg then creates the mount. I have 0 erros. but when I want to confirm configuration change I get this error


    this is how it looks from CLI

    Code
    cat /proc/mdstat
    Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md0 : active raid5 sdb[1] sda[0] sdd[3] sdc[2]
    6000798720 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
    bitmap: 0/4 pages [0KB], 65536KB chunk


    how it looks from the GUI



    My NAS is built on SBC Rpi5 8GB.


    I tried to unmount the raid, remove the filesystem and try once again, but got same result.


    I would appreciate any hint.

    thank you

    Hello, I have a simillar problem like Humphrey.

    when I deployed OMV the first time, I set folders and SMBs as per the guidance. Then I was able to see the NAS from Windows machine and move my files to the folders. easy - drag'n'drop.


    however now, when I want to add something I've get error message stating that access to file was denied.


    here is setup from OMV




    I tried something to resolve this issue and one of the hints was to use these

    no effect


    here is how it looks like from CLI


    Code
    ls -ld /srv/dev-disk-by-uuid-22f313af-49a4-440b-9e09-28e5f9261f2c/A_Filmy/filmy
    drwxr-srwx 10 root users 4096 Sep 16 21:40 

    I did make sure I used recursive

    Code
    ls -l /srv/dev-disk-by-uuid-22f313af-49a4-440b-9e09-28e5f9261f2c/A_Filmy/filmy
    total 32
    drwxr-srwx 4 root users 4096 Jul 2 11:19 'Harry Potter'
    drwxr-srwx 2 root users 4096 Jun 14 21:27 Jirka
    drwxr-srwx 4 root users 4096 Jun 14 18:39 americké
    drwxr-srwx 2 root users 4096 Jun 14 18:57 blbosti
    drwxr-srwx 2 root users 4096 Jun 14 21:33 muzikály
    drwxr-srwx 2 root users 4096 Jun 14 21:42 pohádky
    drwxr-srwx 3 root users 4096 Jul 2 11:13 válečné
    drwxr-srwx 2 root users 4096 Jul 2 11:11 české

    I believe that account nobody should belong to "others", and thus he should have write access, or?

    Code
    getfacl /srv/dev-disk-by-uuid-22f313af-49a4-440b-9e09-28e5f9261f2c/A_Filmy/filmy
    getfacl: Removing leading '/' from absolute path names
    # file: srv/dev-disk-by-uuid-22f313af-49a4-440b-9e09-28e5f9261f2c/A_Filmy/filmy
    # owner: root
    # group: users
    # flags: -s-
    user::rwx
    group::r-x
    other::rwx



    I did try to change SMB settings to not allow guests. Windows machine asked me for credetials. I used the the ryjan account and I was rejected again:D


    What am I missing?

    Yes, indeed. I knew that there must be some better solution.

    I've tried to display permissions of the Config folder itself not its contents nor the specific file which was causing the log entry.

    I must admit that I could take that effort and dig further but I was just lazy to check permissions further and also to look for the means how to change ownership.
    Thank you for pointing me to the new knowledge. I will store these for the future.

    Hello all,

    many thanks for the hints and tips.


    thanks to you, I was able to deploy container and make it work. Now I'm struggle with Mergefs permissions. But the main concept is working.

    you can check permission using ls -la



    and use google or chatGPT to know how to change group recursively on your media folder

    Yesterday this actualy proved itself as misleading. OMV stated that container is running, yet jellyfin was not. reviewing the logs I found that there is a SQL error as it wants to write into read only database.

    I did check permissions on config folder and it showed me only the new UID to have full permissions. the old UID I used to before wasnt even mentioned.

    So in the end I've ended up with

    Code
    rm -rf config

    Im not proud of myself to use such crude method to force it my way but it worked


    Hence a note for my future self: Should you ever deploy a container, then change your mind and decide to update the user which deployed the container very first time, you will need to delete that config folder.

    Thank you very much.

    Make a backup of your current system with omv-regen and save it somewhere. You can use WinSCP, a USB flash drive, or whatever you like.

    Install OMV on your Raspberry Pi using this method. Don't miss a single step. https://wiki.omv-extras.org/do…omv7:raspberry_pi_install

    Preferably, use a new system disk so you can keep the old one in case something doesn't go as expected.

    Install omv-regen on the new system and regenerate the system from the omv-regen backup.

    Hi thank you for coming back.


    We think we don't understand each other.

    I did a backup using OMV regen.

    (Yes, I will move it somewhere else. Currently it is on the SD with OMV)

    now to the step 2: clean installation of OMV OS.


    I need to get the fresh Pi OS onto the NVME and to do so, as per my understanding of all documentation, there is only one method.

    I will need to remove my current SD with OMV OS, replace it with flashdisk with "temporary Rpi OS with GUI" Boot that to that GUI OS and use its functionality to install "final" Pi OS to the NVME. Then I should be able to pick up that above mentioned guide and continue with OMV OS deployment and finish it with OMV Regen to apply my backed up settings.


    So my question was if this quite complicated method is the only way or whether there is another method to get fresh Pi OS onto that NVME drive :)

    Hello,

    I have a bit dull question.

    I have OMV on Rpi 5. Im trying to migrate from SD to NVME. I found OMV-REGEN
    Since I did only 1 installation of OMV so far (using this guide https://wiki.omv-extras.org/do…omv7:raspberry_pi_install), my question to step 2 is rather dull.

    The documentation for Step2 says Install fresh OMV on the disk.

    Since I do not have any option to hook NVME to my PC and use windows utility to install fresh rpiOS, and the abovementioned guide does not specify any other option.
    Do I understand right that my only option is:
    1) grab some flashdisk.
    2) Install RpiOS with GUI
    3) use its built in app to install fresh rpiOS on the SSD

    based on this documentation - https://docs.openmediavault.or…t/installation/index.html it seems I do not have any other option.


    So I'm asking just in case there is some more comfortable method - either to fulfill step 2 or to perform said migration on rpi (just in case there is another method how to achieve it on rpi):)


    thank you for answers

    I'm not referring to the user and group. That can't be done from the GUI; you need the CLI to do it. I'm referring to granting read permissions to library files. The permissions handled by the GUI are Samba permissions, not filesystem-level permissions. Unless you use ACL permissions, which I don't recommend unless you have special needs and know exactly what you're doing.


    As the guide you used says, the appuser user in group 100 should be sufficient for 99% of OMV users.

    If you created the jellyfin user in group 1004, I assume it wasn't an arbitrary decision and there's a reason for it.

    Maybe I have misunderstood the guide here, but before this final remark, it describes that from the security point of view I should have containers isolated.

    Since I do not know how many various containers I may be firing up in upcoming months and/or whther or not I will need to access these from internet, I wanted to be future proofed from the very beginning. I wanted to have jellyfin container to be run by a specific user so it has its own set of permissions.

    thanks to all hints here, I have a couple of points on my list to test.

    • get back to basics: create appuser to run the container. - Passed
    • create test folder with 1 media file and run container with this one instead of a whole xx TB library. - Passed
    • If successful test the same scenario using MergerFS on a couple of small folders - Passed
    • If successful try again on full library - Passed
    • If successful, I will know that I have indeed f-ed up the isolation. I will then continue with verify the disk permissions as suggested by Raulfg3 and chente and continue research on how to make it work using isolated users


    Kids allow me like 30 minutes a day of free time so this list will take a while to complete :D I'll keep you updated.

    Thank you for suggestions.

    If you did this from the GUI, that's probably the problem. The files will be assigned group 100, and you're using group 1004. You'll need to dig deeper into using permissions in Linux if you want to use a custom user and group.


    As a side note, keep in mind that the first time Jellyfin creates the library from scratch, including images, etc., for each element. This can take several hours if the library is very large.

    as per my original post, I did it properly via CLI

    Hi thanks for the reply.


    Quote

    revise that all files on /srv/mergerfs/Media/Media and under this path are owned by user 1004 or are in the 1004 group , in my case are in the 100 group ( group 100=users are the default group used in OMV).

    Thats good hint. but how do I do so? I have copied my files to the NAS after successful deployment of OVM few weeks ago. About existence of MergerFS I learned just yesterday while reading that manual. So sure enough all will be owned by group 100.

    As the guide suggested I have created the user and group jellyfin and made sure that it has read access to that /srv/mergerfs/Media/Media folder. Maybe I can add this user also to the original folders as they are created on each disk and give it a try. but there was no mention about making jellyfin an owner of all the data


    Quote

    revise too that all disk in the mergerfs are in good state , because if fails, can affect to jellyfin that do not find files on it.

    they are good. I was able to stream content to VLC or WebOS media player with no issues on accessibility.


    here is the compose file as a code again ;)

    Hello all.

    Yesterday, I set up Jellyfin in container. Using the guide at https://wiki.omv-extras.org/do…tall_and_configure_docker

    This is my compose file:


    ---

    # Date: 2025-06-01

    # https://hub.docker.com/r/linuxserver/jellyfin

    # https://jellyfin.org/docs/

    services:

    jellyfin:

    image: lscr.io/linuxserver/jellyfin:latest

    container_name: jellyfin

    environment:

    - PUID=1004 - #result of CLI sudo useradd -U jellyfin

    - PGID=1004

    - TZ=XXXX

    - JELLYFIN_PublishedServerUrl=XXX.XXX.XXX.XXX #optional

    volumes:

    - ${PATH_TO_APPDATA}/jellyfin/config:/config

    - ${PATH_TO_APPDATA}/jellyfin/cache:/cache

    - /srv/mergerfs/Media/Media:/media

    ports:

    - 8096:8096

    - 8920:8920 #optional

    - 7359:7359/udp #optional

    - 1900:1900/udp #optional

    restart: unless-stopped


    It was successful and container was up and running. I was able to log on to the jellyfin server. However as soon as I I choose the library folder jellyfin container went berserk and utilizes 100% of the cpu for a couple of hours now.


    I thought that it may be doing its initiation steps, however after checking on logs, I think I have screwed something up.

    Container was up and running for 13 hours. Logs collected over 1,1 million rows of mostly errors.


    one of many examples:

    Code
    [15:49:45] [ERR] [766] Emby.Server.Implementations.IO.ManagedFileSystem: Reading the file size of the symlink at /sys/class/rc/rc0/input1/device/device/supplier:platform:soc@107c000000:firmware/supplier/consumer:platform:107c580000.hvs/consumer/of_node failed. Marking the file as not existing.
    jellyfin  | System.IO.FileNotFoundException: Could not find file '/sys/class/rc/rc0/input1/device/device/supplier:platform:soc@107c000000:firmware/supplier/consumer:platform:107c580000.hvs/consumer/of_node'.
    jellyfin  | File name: '/sys/class/rc/rc0/input1/device/device/supplier:platform:soc@107c000000:firmware/supplier/consumer:platform:107c580000.hvs/consumer/of_node'
    jellyfin  |    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    jellyfin  |    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, Func`4 createOpenException)
    jellyfin  |    at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
    jellyfin  |    at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemMetadata(FileSystemInfo info)


    just in the last minute of 15:49 it collected 1323 rows of such errors.

    Would anyone be willing to help me solve this please?

    Thank you. any help will be much appreciated.



    More about me and my NAS

    My NAS wasn't created for the sake of having NAS, rather it was a quest of self-education in the UNIX world and networking field.

    I did setup my NAS using Rpi5 8gb, Radxa Penta hat and a couple of old ntb 5400rpm HDDs.

    So yes, I know I have a technological debt here..

    Me personally, I do not have any previous experience with containers. This was my very first attempt.

    Hello, this thread seems to be exactly for me.

    I had no prior experience with home servers whatsoever.

    I have set up OMV on 5 disks, hastily and eager to see something on the network, I made 1 folder on each disk moved some data to them and shared them. Ta-da, its alive (I can read manual). But my happiness didn't last long
    Very quickly I have realized that naming it folder 1 to 5 was a NONO. It was at the point when I realized that I can't rename them as easily as I would thought.

    Since newbie guide isn' t ready for idiots like me, can I ask someone for a guidance how to properly rename folders?

    secondly

    What is recommended best practice for naming convention?

    Atm I have a feeling that I may need to know right-away where each folder sits, so maybe something to label a disk where it sits A_photos, A_Projects, B_videos, C_backup. etc. Do you use such naming conventions or is it overkill?

    thank you.