Error 500 on docker compose - Running 6.x

  • Hello,


    I'm trying to get docker installed (podman would be nice but I don't think there is support for it eh?) but keep running into an error 500 wall.

    I have a feeling this might be a common theme since I've seen a few post similar to mine but their resolution isn't lining up with my situation.


    The closest I've seen to fix my issue would be this post: Error 500 on docker compose plugin install / GPG error?

    It has pretty much the same error code as I but their fix isn't clear and from what I am guessing it was (getting rid of plugins?) it might not be what I need.


    I tried the following command on an ssh connection to the nas to no avail and I've also tried disabling the backports from gui but still no luck.

    sudo omv-aptclean repos

    sudo omv-changebackports NO

    sudo omv-upgrade



    omv-extras/docker is enabled but when I try 'compose/settings > reinstall docker' I get these error 500 saying:

    500 - Internal Server Error Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sb...




    I am running omv 6.9.16-1 (Shaitan) on a rPi micro-sd card with an external disk for storage. I was trying to follow the omv-extras guide but they seem to either skip a step or my install wont follow theirs;


    In the '2.1 - Simple OMV NAS system' section of the 'Install and Configure Docker' Guide, the screenshot for the compose/settings page where you assign the folders indicates that docker is 'installed and running'.

    - Where did the install of docker initially occur? My current setup is giving me a 'Not installed' status yet I have followed the instructions leading up to this.



    It can very well be that the issue is me still running on 6.x therefore if an upgrade to 7+ is my next course of action, is there a way to do so without completely recreating my OMV install?



    Any help here is appreciated :)

    Cheers,

    Red

    • Official Post

    I'm trying to get docker installed (podman would be nice but I don't think there is support for it eh?) but keep running into an error 500 wall.

    OMV 6.x is long EOL. Upgrade to OMV 7 then OMV 8. The omv8 compose plugin does support podman by the way.

    omv 8.2.6-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.2.4 | compose 8.1.12 | cterm 8.0 | borgbackup 8.1.9 | tempmon 8.0.3 | mergerfs 8.0.1 | scripts 8.0.3 | writecache 8.1.10


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


    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!

    • Official Post

    ok I'm doing that now, pi was running deb11 for omv so before i go too far in the deep end, will upgrading to Bookworm from apt break omv? I tried upgrading omv to 7.x but it's still on 6.9 (nice) after reboot so my guess is to upgrade to deb12


    Plan is to upgrade from deb11 to 12 > omv upgrade release > success

    Debian and OMV must be upgraded together. omv-release-upgrade upgrades both. Without seeing the upgrade logs, I can't tell you what went wrong. I recommend running the fix6to7upgrade script. Then upgrade to omv8 with the same process. A fix7to8upgrade script exists as well.

    omv 8.2.6-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.2.4 | compose 8.1.12 | cterm 8.0 | borgbackup 8.1.9 | tempmon 8.0.3 | mergerfs 8.0.1 | scripts 8.0.3 | writecache 8.1.10


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


    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!

  • fix6to7upgrade script

    I'm guessing the script is included with omv? (Asking in case it's in a separate repo or something)


    Without seeing the upgrade logs, I can't tell you what went wrong

    Here is the tail end of me running omv-upgrade:


    Hit:11 http://packages.openmediavault.org/public shaitan InRelease

    Hit:12 http://archive.raspberrypi.org/debian bullseye InRelease

    Err:10 https://openmediavault-plugin-developers.github.io/packages/debian

    shaitan InRelease

      The following signatures were invalid: EXPKEYSIG 326A835E697B890A openmediavault plugin developers <plugins@omv-extras.org>

    Reading package lists... Done

    W: GPG error: https://openmediavault-plugin-developers.github.io/packages/debian shaitan InRelease: The following signatures were invalid: EXPKEYSIG 326A835E697B890A openmediavault plugin developers <plugins@omv-extras.org>

    E: The repository 'https://openmediavault-plugin-developers.github.io/packages/debian shaitan InRelease' is not signed.

    N: Updating from such a repository can't be done securely, and is therefore disabled by default.

    N: See apt-secure(8) manpage for repository creation and user configuration details.

    • Official Post

    I'm guessing the script is included with omv? (Asking in case it's in a separate repo or something)

    Nope. https://github.com/OpenMediaVa…-Developers/installScript


    sudo wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/fix6to7upgrade | sudo bash


    Here is the tail end of me running omv-upgrade:

    That is expected since the omv-extras package signing key for omv 6 expired a few weeks ago.

    omv 8.2.6-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.2.4 | compose 8.1.12 | cterm 8.0 | borgbackup 8.1.9 | tempmon 8.0.3 | mergerfs 8.0.1 | scripts 8.0.3 | writecache 8.1.10


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


    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!

  • Aight so I ran the script and went to the web page to check if anything happened, pushed updates from there too since it was still indicating 6.9.x. Now, the 7.0 web seems to have been updated but i am getting a error 500 anytime I try to login... guessing this is not normal?

    edit: I tried the admin account with both the default password and my own that I had changed prior to the update.

  • So I found this post with a similar error 500 issue as I tried looking at systemctl to see if apache was in the way of nginx but that was not it. I then tried omv-salt deploy run nginx phpfpm and got the following summary(pasted at the end of this reply).


    I also tried the usual sudo apt update and upgrade to see if that did anything and somehow the terminal session breaks? I don't know if it has anything to do with me ssh-ing into the pi or else but doing an update gives me:


    Code
    Building dependency tree... Done
    Reading state information... Done
    156 packages can be upgraded. Run 'apt list --upgradable' to see them.
    N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
    N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/arm64/release-notes/ch-information.html#non-free-split


    And when I follow it up with apt upgrade I get:


    Code
    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

    Running the dpkg command prints out Setting up smartmontools (7.3-1+b1) ... and then ssh times out...





    Code
    Summary for nas
    -------------
    Succeeded: 23 (changed=17)
    Failed:     3


    Edited once, last by redherring021: format for code text was not the same as I am used to ().

  • Welp, I am able to access my network storage, so if I can't find a fix for web login I might just pull the storage and rebuild the pi to be on omv8. Not sure yet, will be back with more..

    • Official Post

    ERROR: failed to open configuration file '/etc/php/8.2/fpm/php-fpm.conf': No such file or directory (2)

    How much of the mentioned path is available?


    What is the output of

    Code
    dpkg -l | grep php8.2
  • What is the output of

  • What is the output of

    dpkg -l | grep php8.2

    now?

  • You can also try


    apt install --reinstall openmediavault

    Code
    noukesal@nas:~ $ sudo apt install --reinstall openmediavault
    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'
    to correct the problem.


    Since i cant do dpkg -a, I think I'll have to find how to disable smartmontools...

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!