Problems upgrading 2.x to 3.x

  • Hello


    I have 2 main problems after upgrade


    1. cannot login to web gui - I get an unspecifie error
    but I can see the shares and can connect via putty


    2. couple of minutes after boot/ re-boot I lose the connection to the machine


    please help, I just ruined a perfectly good installation of stoneburner which ran for 2 years :)

  • immediately after running the command the network connection to the machine was lost


    (there is a PHP fatal error at the end)



    root@NAS:~# omv-engined -d -f
    Registered data models:
    conf.service
    conf.service.ftp
    conf.service.ftp.modban.rule
    conf.service.ftp.modtls
    conf.service.ftp.share
    conf.service.nfs
    conf.service.nfs.share
    conf.service.rsync.job
    conf.service.rsyncd
    conf.service.rsyncd.module
    conf.service.smartmontools
    conf.service.smartmontools.device
    conf.service.smartmontools.job
    conf.service.smb
    conf.service.smb.share
    conf.service.snmp
    conf.service.ssh
    conf.service.tftp
    conf.service.zeroconf.service
    conf.system.apt.distribution
    conf.system.certificate.ssh
    conf.system.certificate.ssl
    conf.system.cron.job
    conf.system.email
    conf.system.filesystem.mountpoint
    conf.system.filesystem.quota
    conf.system.hdparm
    conf.system.mdadm.device
    conf.system.monitoring.perfstats
    conf.system.network.dns
    conf.system.network.interface
    conf.system.network.iptables.rule
    conf.system.network.proxy
    conf.system.notification.email
    conf.system.notification.notification
    conf.system.powermngmnt
    conf.system.sharedfolder
    conf.system.sharedfolder.privilege
    conf.system.syslog.remote
    conf.system.time
    conf.system.usermngmnt.group
    conf.system.usermngmnt.homedir
    conf.system.usermngmnt.user
    conf.webadmin
    rpc.apt.getchangelog
    rpc.apt.setsettings
    rpc.apt.upgrade
    rpc.apt.upload
    rpc.certificatemgmt.create
    rpc.certificatemgmt.createssh
    rpc.certificatemgmt.set
    rpc.certificatemgmt.setssh
    rpc.common.devicefile
    rpc.common.getlist
    rpc.common.objectuuid
    rpc.config.applychanges
    rpc.config.revertchanges
    rpc.cron.getlist
    rpc.cron.set
    rpc.diskmgmt.sethdparm
    rpc.diskmgmt.wipe
    rpc.emailnotification.set
    rpc.exec.getoutput
    rpc.exec.isrunning
    rpc.exec.stop
    rpc.filesystemmgmt.create
    rpc.filesystemmgmt.delete
    rpc.filesystemmgmt.enumeratemountedfilesystems
    rpc.filesystemmgmt.hasfilesystem
    rpc.filesystemmgmt.mount
    rpc.filesystemmgmt.resize
    rpc.filesystemmgmt.umount
    rpc.folderbrowser.get
    rpc.fstab.getbydir
    rpc.fstab.getbyfsname
    rpc.fstab.set
    rpc.ftp.setmodbanrule
    rpc.ftp.setmodtlssettings
    rpc.ftp.setsettings
    rpc.ftp.setshare
    rpc.iptables.setrule
    rpc.iptables.setrules
    rpc.iptables.setrules6
    rpc.logfile.clear
    rpc.logfile.getcontent
    rpc.logfile.getlist
    rpc.network.enumeratebondslaves
    rpc.network.identify
    rpc.network.setbondiface
    rpc.network.setethernetiface
    rpc.network.setgeneralsettings
    rpc.network.setproxy
    rpc.network.setvlaniface
    rpc.network.setwirelessiface
    rpc.nfs.setsettings
    rpc.nfs.setshare
    rpc.notification.isenabled
    rpc.notification.set
    rpc.perfstats.set
    rpc.plugin.install
    rpc.plugin.remove
    rpc.plugin.upload
    rpc.powermgmt.set
    rpc.powermgmt.setscheduledjob
    rpc.quota.set
    rpc.raidmgmt.add
    rpc.raidmgmt.create
    rpc.raidmgmt.delete
    rpc.raidmgmt.getdetail
    rpc.raidmgmt.getslaves
    rpc.raidmgmt.grow
    rpc.raidmgmt.remove
    rpc.rsync.set
    rpc.rsyncd.setmodule
    rpc.rsyncd.setsettings
    rpc.session.login
    rpc.sharemgmt.delete
    rpc.sharemgmt.getfileacl
    rpc.sharemgmt.getprivilegesbyrole
    rpc.sharemgmt.set
    rpc.sharemgmt.setfileacl
    rpc.sharemgmt.setprivileges
    rpc.sharemgmt.setprivilegesbyrole
    rpc.smart.setdevicesettings
    rpc.smart.setscheduledtest
    rpc.smart.setsettings
    rpc.smb.setsettings
    rpc.smb.setshare
    rpc.snmp.set
    rpc.ssh.set
    rpc.syslog.setsettings
    rpc.system.reboot
    rpc.system.setdate
    rpc.system.settimesettings
    rpc.system.shutdown
    rpc.system.standby
    rpc.tftp.set
    rpc.usermngmt.authuser
    rpc.usermngmt.deletegroup
    rpc.usermngmt.deleteuser
    rpc.usermngmt.getgroup
    rpc.usermngmt.getuser
    rpc.usermngmt.importgroup
    rpc.usermngmt.importuser
    rpc.usermngmt.setgroup
    rpc.usermngmt.setsettings
    rpc.usermngmt.setuser
    rpc.usermngmt.setuserbycontext
    rpc.webgui.setpassword
    rpc.webgui.setsettings
    rpc.zeroconf.set
    Registered filesystem backends:
    btrfs
    exfat
    ext
    ext2
    ext3
    ext4
    fuseblk
    hfsplus
    iso9660
    jfs
    msdos
    none
    ntfs
    reiserfs
    udf
    ufs
    umsdos
    vfat
    xfs
    PHP Fatal error: Class 'OMVLogFile' not found in /usr/share/openmediavault/engi ned/inc/transmissionbt-logfile.inc on line 23

  • ok, how do I do that since I do not have access to the GUI and do not know linux.
    thank you


    edit: ok, I ran
    apt-get --purge remove openmediavault-transmissionbt


    then the installation proceeded with OMV 3, after a while it said problems with extplorer


    I rebooted, now I get "communication failure" in Web GUI and indeed connection is lost


    i will remove extplorer now

  • ok, removed extplorer, again communication failure in web GUI
    then I removed autoshutdown


    now I see the shares and zoneminder works and I do not seem to lose network connection but I get this error when trying to log into Web GUI


    Code
    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:138Stack 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}
    OKHide details



    new result of omv-engined -d -f as per below (new PHP fatal error)


    please help



  • ok, thank you, I removed some other plugins and now I can log on the Web GUI and I see the shares etc


    the problem now is that I cannot check for new plugins or updates in the GUI, with the below error (it is a lot longer actually)


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; apt-get update 2>&1': Ign http://security.debian.org jessie/updates InRelease Ign http://httpredir.debian.org jessie-backports InRelease Ign file: InRelease Ign http://packages.openmediavault.org erasmus InRelease Ign file: Release.gpg Ign file: Release Ign https://openmediavault.github.io erasmus InRelease Err http://httpredir.debian.org jessie-backports Release.gpg Something wicked happened resolving 'httpredir.debian.org:http' (-5 - No address associated with hostname) Err http://packages.openmediavault.org erasmus Release.gpg Something wicked happened resolving 'packages.openmediavault.org:http' (-5 - No address associated with hostname) Ign
    • Offizieller Beitrag

    You need to set your DNS server.

    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!

    • Offizieller Beitrag

    Boot systemrescuecd on that machine and run fsck on the drive.

    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!

  • I managed to start linux and OMV but now neither gui is asscesible nor the shares nor via putty
    obviously upgrading to 3.0 was the worst idea I had this year


    I will re-install everything from the beginning and hope I will have learnt my lesson, i.e. if it works, don't fix it

    • Offizieller Beitrag

    I will re-install everything from the beginning and hope I will have learnt my lesson, i.e. if it works, don't fix it

    Not all upgrades go badly. Some of the plugins just don't upgrade well. A fresh install isn't a bad idea either.

    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!

Jetzt mitmachen!

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