Posts by Humbert

    it's pretty weak (about 1 hour with the server + router + Smartthings Hub plugged in) and I would have liked to keep the router and ST powered for as long as possible (security reasons).


    but yes, apparently there is no other solution than to configure the NUT pluging to shutdown OMV when the battery is running low and not immediately after a power failure.


    this ensures that if the outage is long enough, the UPS will shut itself down and so the OMV will restart on power resume.

    the downside is that the router and ST Hub will not stay powered for as long as I'd like them to.


    there is maybe a solution but it does not involve just the UPS and the server.
    I could put a smart plug between the UPS and the server


    on power failure, the Home Assistant running on OMV server will inform ST that it needs to turn off the plug after a delay


    then the OMV will shutdown as instructed by NUT and then the smart plug will shutdown, cutting power to the server


    I haven't figured out yet how to automatically turn on the smart plug when power returns; I guess I could turn it on manually, or maybe use a smart bulb that is always off as a trigger (smart bulbs power ON after a power failure)

    so, pretty complicated but it could work :-))

    Hi guys

    Yes I know about the bios setting but please note that in my application the UPS does not shutdown and restart upon power return as it needs to power other devices during the outage.


    So if the power outage is short, which most are in my case, the OMV server does not see the power being cut and then returned so as to power itself up (because the UPS does not do a power cycle).

    Hello guys


    I have the same kind of problem, but with a twist.
    The twist is that my APC UPS needs to shutdown the OMV server (which it does) but it needs to stay ON to continue providing power to other devices (a router and a smartthings hub).

    In order to do this, I edited /etc/nut/upsmon.conf and deleted the line POWERDOWNFLAG /etc/killpower, which does the job

    But I also need for the OMV server to restart itself upon power return.

    So is there a way to do this? I think one idea is to force the UPS to restart itself when the power returns, which will inform the OMV server that it also needs to restart. But I have no idea whether that is possible and if yes, how to do it.

    thank you

    sorry, there are a lot of things I do not understand in your reply; unfortunately I have very little knowledge of server setup


    1. "Using the ssd on the usb will kill your CPU from time to time"
    what exactly do you mean by "will kill your CPU" - kill as in "destroy"? or kill as in "overload"? what happens if the CPU overloads? does this just affect performance or the server may shutdown?


    I have run OMV from a HDD connected via the USB port of an old laptop for several years now and never had any issues - why is this a problem for a server?


    2. "fix the boot from cd port witch is now occupied by the odd"


    what do you mean "fix the boot from cd port" - how do I do that? are you talking about the ODD port from the motherboard? will this port boot without RAID enabled?


    the ODD port on the motherboard is not occupied, since the server does not have a CD-ROM, just a bay for installing one
    anyway, by ODD port I mean "optical disk drive" port, so I really do not understand what you mean by "CD port"


    PS looks like you are romanian (so am I) - if you want, we can move this conversation to PM.
    thank you

    hello, I recently purchased a Gen8 G1610T for use with OMV and 3 storage HDDs; I am a home user, main priority is media server and backup


    I have the following questions:


    1. OMV is installed on a SSD which I placed inside the server case (where the optical drive would be) and connected to the USB on the motherboard using a chip from a 2.5" external rack - it boots fine


    is this ok in terms of reliability and in terms of the SSD temperature negatively affecting the surroundings or any other things?


    2. I will not be using RAID (too complicated for me and I also think I do not need it)
    instead, I will use daily rsync jobs to copy my data from one HDD to another for redundancy purposes


    the questions is: should I enable the RAID feature in BIOS or only use SATA AHCI?


    why I considered enabling RAID even if I do not use it:
    - I might need to put the SSD with OMV on the ODD interface and I understand that the server does not boot from ODD unless RAID is enabled
    - in the future I might need to use RAID and I do not know whether I can enable it then, everywhere I read it says that these choices need to be made before installing the OS


    thank you

    hello
    I am trying to install using the step by step instructions


    when I run dpkg-buildpackage -uc -us


    I get this:

    Code
    CMake Error: The source directory "/zoneminder/ZoneMinder" does not appear to contain CMakeLists.txt.
    Specify --help for usage, or press the help button on the CMake GUI.
    dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=OFF -DCMAKE_COLOR_MAKEFILE=ON -DZM_RUNDIR=/var/run/zm -DZM_SOCKDIR=/var/run/zm -DZM_TMPDIR=/var/tmp/zm -DZM_LOGDIR=/var/log/zm -DZM_WEBDIR=/usr/share/zoneminder -DZM_CONTENTDIR=/var/cache/zoneminder -DZM_CGIDIR=/usr/lib/cgi-bin -DZM_WEB_USER=www-data -DZM_WEB_GROUP=www-data -DZM_PERL_SUBPREFIX=/usr/lib/perl5 -DCMAKE_INSTALL_SYSCONFDIR=etc/zm returned exit code 1
    make[1]: *** [override_dh_auto_configure] Error 2
    make[1]: Leaving directory `/zoneminder/ZoneMinder'
    make: *** [build] Error 2
    dpkg-buildpackage: error: debian/rules build gave error exit status 2

    help is much appreciated, thank you

    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

    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

    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, 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

    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

    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 :)

    Hi everybody


    I run OMV 2.2.7 and I appologize if this has already been discussed or it is a very simple thing.


    My discs are getting full and I cannot tell which directories or files take up the most space in order to delete selectively: is it the videos folder, the pictures one, the backup for my laptop etc


    I have EXTplorer installed but could not find an option to at least tell me which is my largest folder.


    It would be great if there was a way to do this other than using putty, i.e. a GUI would be the best option for me, but I'll take any method.


    Your help is very much appreciated.

    thank you
    I will try the commands when I get home, right now I'm at work.


    my /dev/sda device definetely contained a filesystem, I created it with OMV (ext4), I copied files to it and I was able to access the shared folders on it before it disappeared, so something must have happened to it.


    if you are saying that because it is not in the returned list of the FileSystemMgmt::getList RPC then it is probable there is no file system on it, then this means the filesystem was somehow deleted or corrupeted - could this be a hardware problem with the disk itself?


    I am wondering what solutions I have to access the data on this disk.