enabling plexmediaserver makes OMV GUI unresponsive

    • Offizieller Beitrag

    Just to warn you, a couple of the plugins used to use usermod with the move option. We found that moving files is dangerous if it is interrupted or the target drive is full. That is why it was switched to copy and then delete.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    1.0.11 in repo.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • People should backup their database. This method worked best in my testing. We always know data can be lost with move ccomands. I've seen move command in other people's coding, not yours. I think the odds of a problem on the move command are very low.


    The plugin has to be reworked for systemd, yes? We look for better way but this should help it be more reliable in the short run.



    Thanks..

    • Offizieller Beitrag

    I've seen move command in other people's coding, not yours.


    Just for reference... My initial commit using it (almost two years ago) and here is when I changed it.


    The plugin has to be reworked for systemd, yes?


    The only thing that should need to be changed is how the service is stopped and then started in mkconf. The rest of the changes will have to happen in the plex package itself.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I guess we should never move home location and symmlink. Then you don't have to worry about the usermod command getting fucked up. You won't need it.


    Could this not all be done in the if then statement( where the usermod command is)??? Change to copy/delete and create (or replace) the symmlink...

  • Did the upgrade and it worked.


    @ryecoaaron I agree it is not perfect.


    Flaws:
    usermod -m (defacto move command)
    no check if enough space


    Interesting re usermod: link
    Caveats
    You must make certain that the named user is not executing any processes when this command is being executed if the user's numerical user ID, the user's name, or the user's home directory is being changed. usermod checks this on Linux, but only check if the user is logged in according to utmp on other architectures.

    • Offizieller Beitrag

    Increment version and release?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    I agree. Too bad init script doesn't do it though. 1.0.12 in repo.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!