Organizr in front of OMV

  • I'm trying to setup organizr to have easy access to everything in my homelab and most things work fine but when I add my OMV instance it's giving me a blank page. Is there any way for me to enable iframes so that I can access OMV from within Organizr? (All of this is behind a caddy reverse proxy btw) I'm on the latest version of OMV with all packages up to date. I read another thread about getting it to work but they used the links plugin and I'm not able to find that in the default repo or the extras repo.

    Author of Yacht

    If you need help with it feel free to pm me here or on my discord.

    DiscordDocker Hub Pulls

    • Offizieller Beitrag

    I have no idea if this will work but this is the code that the links plugin used. Put it in a file, make it executable, and execute it.


    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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!

  • Worked perfectly! Thank you so much! Sorry for PMing you btw. Just noticed your signature. Not surprised you get flooded by pms with how much help you've provided everyone.

    Author of Yacht

    If you need help with it feel free to pm me here or on my discord.

    DiscordDocker Hub Pulls

  • I have no idea if this will work but this is the code that the links plugin used. Put it in a file, make it executable, and execute it.


    Hey this worked to some extend, it allows me to view the login page. Then i get a login loop, redirects me to to login page once filled in my username/password.
    Please advise!


    Kind regards

    • Offizieller Beitrag

    Hey this worked to some extend, it allows me to view the login page. Then i get a login loop, redirects me to to login page once filled in my username/password.
    Please advise!

    This code didn't cause a login loop. Sounds like your root filesystem is full and/or you need to clear your browser cache.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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 have no idea if this will work but this is the code that the links plugin used. Put it in a file, make it executable, and execute it.



    This worked for me too!


    Quick side question will these changes be sticky or will I need to run that script again on reboot/update?


    Thanks!

    • Offizieller Beitrag

    Quick side question will these changes be sticky or will I need to run that script again on reboot/update?

    They actually make changes to /etc/default/openmediavault. So, they should survive reboots and upgrades.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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

    mv-mkconf does not exists on OMV 5

    Correct and neither does the nginx plugin.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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

    It is still the same issue as OMV 4. I didn't realize you were trying to put the OMV web interface in a iframe.


    set -e

    . /etc/default/openmediavault

    . /usr/share/openmediavault/scripts/helper-functions

    omv_set_default OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE 0

    omv_set_default OMV_NGINX_SITE_WEBGUI_SECURITY_XFRAMEOPTIONS_ENABLE false

    omv-salt stage run prepare

    omv-salt deploy run nginx

    omv_purge_internal_cache

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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!

  • thank you, it works now.

  • My omv 5 (ssh/root) give me this:

    /etc/default/openmediavault: line 1: This: command not found

  • You missed the space between the dot . and the /etc/default/openmediavault. You typed ./etc/default/openmediavault, not . /etc/default/openmediavault.


    Greetings

    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • You missed the space between the dot . and the /etc/default/openmediavault. You typed ./etc/default/openmediavault, not . /etc/default/openmediavault.


    Greetings

    David

    Hmm im pretty sure thats not the case..

    This is the output from the script with the space:
    /etc/default/openmediavault: line 1: This: command not found


    and this is the output with no space:
    ./FixIFrameOMV.sh: line 8: ./etc/default/openmediavault: No such file or directory

    Strange?

    • Offizieller Beitrag

    Strange?

    Must be a typo somewhere. Use the following instead:


    source /etc/default/openmediavault

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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!