Upgrade to OMV3 from 2 missing GUI, tried to uninstall/reinstall

  • Upgraded from 2 which looked successful, but I couldn't get any response from GUI. I troubleshot various "cures", but finally decided I should have uninstalled all the plugins before the update. I then CLI to uninstall plugins and then uninstalled OMV. I ran:

    Code
    apt-get install openmediavault

    Ign http://ftp.us.debian.org jessie InRelease
    Hit http://ftp.us.debian.org jessie-updates InRelease
    Hit http://ftp.us.debian.org jessie Release.gpg
    Hit http://ftp.us.debian.org jessie Release
    Hit http://security.debian.org jessie/updates InRelease
    Ign http://packages.openmediavault.org erasumus InRelease
    Hit http://ftp.us.debian.org jessie-updates/contrib Sources
    Get:1 http://ftp.us.debian.org jessie-updates/main amd64 Packages/DiffIndex [5,932 B]
    Hit http://ftp.us.debian.org jessie-updates/contrib amd64 Packages
    Get:2 http://ftp.us.debian.org jessie-updates/non-free amd64 Packages/DiffIndex [736 B]
    Hit http://ftp.us.debian.org jessie-updates/contrib Translation-en
    Get:3 http://ftp.us.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
    Ign http://packages.openmediavault.org erasumus Release.gpg
    Get:4 http://ftp.us.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
    Hit http://ftp.us.debian.org jessie-updates/main Sources
    Hit http://ftp.us.debian.org jessie-updates/non-free Sources
    Hit http://ftp.us.debian.org jessie/main Sources
    Hit http://ftp.us.debian.org jessie/main amd64 Packages
    Hit http://ftp.us.debian.org jessie/main Translation-en
    Ign http://packages.openmediavault.org erasumus Release
    Hit http://security.debian.org jessie/updates/non-free Sources
    Hit http://security.debian.org jessie/updates/non-free amd64 Packages
    Hit http://security.debian.org jessie/updates/non-free Translation-en
    Hit http://security.debian.org jessie/updates/main Sources
    Hit http://security.debian.org jessie/updates/contrib Sources
    Hit http://security.debian.org jessie/updates/main amd64 Packages
    Hit http://security.debian.org jessie/updates/contrib amd64 Packages
    Hit http://security.debian.org jessie/updates/contrib Translation-en
    Hit http://security.debian.org jessie/updates/main Translation-en
    Err http://packages.openmediavault.org erasumus/main amd64 Packages 404 Not Found
    Ign http://packages.openmediavault.org erasumus/main Translation-en_US
    Ign http://packages.openmediavault.org erasumus/main Translation-en
    Fetched 10.1 kB in 4s (2,076 B/s)
    W: Failed to fetch http://packages.openmediavault…ain/binary-amd64/Packages 404 Not Foud
    E: Some index files failed to download. They have been ignored, or old ones used instead.


    --------------------------------------------------------------------
    The only line in my /etc/apt/sources.list.d/openmediavault.list file is:


    deb http://packages.openmediavault.org/public erasmus main
    ----------------------------------------------------------------------


    It looks like the path to get the OMV files is wrong, but I can't seem find a fix. I hope I haven't totally bolluxed this up, but as a noob, I'm stuck.


    Thanks in advance.


    Kevin


    Dell Precision 670: 4 XEON CPUs, dedicated system internal hard drive, one internal storage drive, and two external USB harddrives.

    Dell Precision 670: 4 XEON CPUs, dedicated system internal hard drive,one internal storage drive, and two external USB harddrives

  • Two things
    1) sorry I posted this in the "Announcements" section, I was aiming for Installations: Updates/Upgrades. I don't see a way to move it so I'll assume one of the moderators can put it in the right spot.
    2) I found ryecoaaron's post Guide to install on Deb 8.x Jessie? and tried his instructions. After executing apt-get install openmediavault:



    Do you want to continue? [Y/n] y
    Setting up samba (2:4.2.10+dfsg-0+deb8u3) ...
    Job for smbd.service failed. See 'systemctl status smbd.service' and 'journalctl -xn' for details.
    invoke-rc.d: initscript smbd, action "start" failed.
    dpkg: error processing package samba (--configure): subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of openmediavault: openmediavault depends on samba; however: Package samba is not configured yet.



    dpkg: error processing package openmediavault (--configure):
    dependency problems - leaving unconfigured
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    root@Winnie2:~# systemctl status smbd.service
    ● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
    Loaded: loaded (/etc/init.d/smbd)
    Active: failed (Result: exit-code) since Mon 2016-10-31 16:30:28 EDT; 4min 46s ago
    Process: 1403 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE)



    Oct 31 16:30:28 Winnie2 smbd[1403]: Starting SMB/CIFS daemon: smbd failed!
    Oct 31 16:30:28 Winnie2 systemd[1]: smbd.service: control process exited, code=exited status=1
    Oct 31 16:30:28 Winnie2 systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
    Oct 31 16:30:28 Winnie2 systemd[1]: Unit smbd.service entered failed state.



    root@Winnie2:~# journalctl -xn
    -- Logs begin at Mon 2016-10-31 16:21:20 EDT, end at Mon 2016-10-31 16:35:40 EDT. --
    Oct 31 16:34:40 Winnie2 systemd[1]: Starting The OpenMediaVault engine daemon that processes the RPC reque
    st...
    -- Subject: Unit openmediavault-engined.service has begun with start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit openmediavault-engined.service has begun starting up.
    Oct 31 16:34:40 Winnie2 systemd[1]: openmediavault-engined.service: Supervising process 1479 which is not our child. We'll most likely not notice when it exits.
    Oct 31 16:34:40 Winnie2 systemd[1]: Started The OpenMediaVault engine daemon that processes the RPC request.
    -- Subject: Unit openmediavault-engined.service has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/m…/listinfo/systemd-devel--
    -- Unit openmediavault-engined.service has finished starting up.--
    -- The start-up result is done.
    Oct 31 16:34:40 Winnie2 systemd[1]: openmediavault-engined.service: main process exited, code=exited, status=255/n/a
    Oct 31 16:34:40 Winnie2 systemd[1]: Unit openmediavault-engined.service entered failed state.
    Oct 31 16:35:10 Winnie2 monit[875]: 'omv-engined' failed to start (exit status 0) -- no output
    Oct 31 16:35:40 Winnie2 monit[875]: 'shairport-sync' process is not running
    Oct 31 16:35:40 Winnie2 monit[875]: 'shairport-sync' trying to restart
    Oct 31 16:35:40 Winnie2 monit[875]: 'shairport-sync' start: /bin/systemctl
    Oct 31 16:35:40 Winnie2 systemd[1]: Started LSB: Shairport Synchronous AirPlay.
    -- Subject: Unit shairport-sync.service has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/m…/listinfo/systemd-devel--
    -- Unit shairport-sync.service has finished starting up.--
    -- The start-up result is done.

    Dell Precision 670: 4 XEON CPUs, dedicated system internal hard drive,one internal storage drive, and two external USB harddrives

  • Thanks, Your are correct except that I didn't actually "chose" the location, but I did recognize it wasn't the right spot, but don't know how to move it. Moderators?

    Dell Precision 670: 4 XEON CPUs, dedicated system internal hard drive,one internal storage drive, and two external USB harddrives

  • Hi,
    Still playing around with 3.0, but haven't gotten it installed/running properly. I keep getting "MDADM.CONF defines no arrays" and when I try to log on to the GUI I get Error Message and here's the details:
    Error #0:exception 'OMV\Rpc\Exception' with message 'Failed to connect to socket: No such file or directory' in /usr/share/php/openmediavault/rpc/rpc.inc:138
    Stack trace:
    #0 /var/www/openmediavault/rpc/session.inc(56): OMV\Rpc\Rpc::call('UserMgmt', 'authUser', Array, Array, 2, true)#1 [internal function]: OMVRpcServiceSession->login(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('login', Array, Array)
    #4 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('Session', 'login', Array, Array, 3)
    #5 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
    #6 {main}


    Help or clues to go from here would be gratefully accepted.

    Dell Precision 670: 4 XEON CPUs, dedicated system internal hard drive,one internal storage drive, and two external USB harddrives

  • I have the exact same issues.

    • Offizieller Beitrag

    mdadm --examine --scan >> /etc/mdadm/mdadm.confupdate-initramfs -u

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • Thank you Ryecoaaron. Before i saw your response, I decided to burn a 3.0 beta ISO and do a fresh install (note, I had upgraded from 2 previously). On boot, I got mdadm messages I logged into GUI and set up new OMV which seems to be working. I ran your instructions above via SSH,


    Code
    mdadm --examine --scan >> /etc//mdadm.conf
    mdadmupdate-initramfs -u


    I get (BTW I've never set up any RAID):
    W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
    W: mdadm: no arrays defined in configuration file.



    Code
    cat /etc/mdadm/mdadm.conf

    Yields:


    # mdadm.conf
    #
    # Please refer to mdadm.conf(5) for information about this file.
    #
    # by default, scan all partitions (/proc/partitions) for MD superblocks.
    # alternatively, specify devices to scan, using wildcards if desired.
    # Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
    # To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
    # used if no RAID devices are configured.
    DEVICE partitions
    # auto-create devices with Debian standard permissions
    CREATE owner=root group=disk mode=0660 auto=yes
    # automatically tag new arrays as belonging to the local system
    HOMEHOST <system>
    # definitions of existing MD arrays



    I rebooted the system and see message (via journalclt -b):


    mdadm-raid[221]: Assembling MD arrays...done (no arrays found in config file or automatically).


    Should I update Grub too?

    Dell Precision 670: 4 XEON CPUs, dedicated system internal hard drive,one internal storage drive, and two external USB harddrives

    • Offizieller Beitrag

    Doesn't seem like you have an assembled array?? What is the output of: cat /proc/mdstat

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • Code
    cat /proc/mdstat


    Personalities :
    unused devices: <none>


    I've never set up RAID on this machine.

    Dell Precision 670: 4 XEON CPUs, dedicated system internal hard drive,one internal storage drive, and two external USB harddrives

    • Offizieller Beitrag

    I've never set up RAID on this machine.

    This is important information. Of course mdadm.conf will define no arrays if you don't have any.


    What is the output of: dpkg -l | grep openm

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • That's kinda what I thought, but I'm not really sure why its thinks it should.



    dpkg -l | grep openm


    ii openmediavault 3.0.51 all Open network attached storage solution
    ii openmediavault-clamav 3.2.6 all OpenMediaVault ClamAV plugin
    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive

    Dell Precision 670: 4 XEON CPUs, dedicated system internal hard drive,one internal storage drive, and two external USB harddrives

Jetzt mitmachen!

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