Beiträge von trohn_javolta

    Hi, can I somehow get the great samba file transfer performance these tweaked omv builds have?
    I run latest armbian stretch stable on Odroid HC2, installed OMV via armbian-config.


    Then messed up my php install: PHP Fatal Error: Uncaught Error
    Then removed OMV.
    Then tried to reinstall it via armbian-config which failed: https://github.com/armbian/con…37#issuecomment-440919087
    https://forum.armbian.com/topi…omv-how-to-reinstall-omv/
    ..Apparently a reinstall of OMV via armbian-config is neighter intended nor possible..


    So now I just installed samba manually, using the old omv generated smb conf but I just get 60 mb/s tranfer speed.
    I used to get 100 mb/s.

    OMV explicitly puts its configs in the /etc/php/7.0 directory. So, having the other packages on the system aren't the problem. The toolkit probably altered other files because it wants to configure a web server. I have no idea what it did but I wouldn't want to spend the time to figure it out. It would take less time to reinstall (at least for me).

    How can I remove openmediavault? I want to reinstall it via armbian-config to get omv again with optimised settings.
    Like that:
    apt-get purge openmediavault
    apt-get autoremove


    On armbian forum I didn't get an answer yet and uninstall via armbian-config is not implemented.

    sudo smartctl -a /dev/sda :)


    What device do you use for nas trohn_javolta?

    Odroid Hc2 like others here. Thx that worked:


    192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 0


    Looks good to me. I have it running a couple month now and immediately updated the firmware of sata bridge and also installed the script on odroid wiki. But honestly never checked this value.

    Technically you did add it. That toolkit looks like it takes over an install which is very bad for OMV. This is why running things in docker is much better because it doesn't add tons of things to your OMV install. So, I stand by my original statement that you need to re-install to fix this mess.

    That's a bummer. I don't understand why I can't just tell omv to us php 7.0? I read in debian stretch different php versions can run in parallel without problems. And with update-alternatives --config php I chose php 7.0 as default version. So why can't omv just use it?

    Huh, those are php 7.2 packages built for jessie. Those definitely didn't come from a Debian repo. What is the output of:
    cat /etc/apt/sources.list
    cat /etc/apt/sources.list.d/*

    That sury.org/php line?..Damn...I did not add this. It could only be Atomic-Toolkit: https://github.com/htpcBeginner/AtoMiC-ToolKit I guess.. ;(

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

    Try to install the package php-bcmath which should be installed by the package manager automatically because it is a dependency of the openmediavault package.

    Oh no, apt-get tells me it's already installed :( Any other ideas?



    I'm sorry but iIf your system has php 7.2 on it, you at least upgraded some components to buster. There is no php 7.2 in stretch backports.

    Hmm.. that's strange. I checked sources.list and all files in /etc/apt/sources.list.d and nowhere is a buster entry..

    You probably upgraded to buster (Debian 10). Your system is a mess and I recommend starting over.

    No, I upgraded from debian jessie to debian stretch using omv-upgrade.



    I'm running omv on top of armbian os. Debian buster isn't avaiable via armbian stable.


    Is there nothing else I can do to fix this? I didn't think a dedicated nas app/os would break after a simple system upgrade. But to be honest, I just started using it a few month agao. I know too little about omv to judge here, maybe one should "stay in omv" and use it as an os rather than an app in you os. I saw there are many plugins for all sorts of apps also docker (which I still didn't tinker with yet).


    Armbian os is still rock solid after the upgrade.


    Is there at least a backup option of omv settings and network shares I can later restore? Some tabs in webif still work.

    So I didn't log into omv webinterface for quite a while. I previously upgraded from jessie to stretch.
    Now I need to set up new hdd and logging into webif I'm greeted with this message:



    Code
    Error #0: OMV\Rpc\Exception: Invalid RPC response. Please check the syslog for more information. in /usr/share/php/openmediavault/rpc/rpc.inc:186 Stack trace: #0 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('System', 'getInformation', Array, Array, 3) #1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle() #2 {main}


    Now choosing "disks" or "filesystems" tab it's just loading and not showing anything.
    Looking into syslog I see following errors:



    I read that omv requires php 7.0. I guess I somwhere updated to php 7.2 :/


    But I still have php 7.0 installed.


    Now via update-alternatives --config php I saw that default php version is 7.2. So I changed it to 7.0 and rebooted.


    Unfortunatly this did not solve the issue :( How can I force omv to use php 7.0?
    Or maybe I should install php 5.6 and try that??

    The php uncaught error appears to trigger the rest of the error and is related to something regarding the drive...but searching for that error reveals little on how to correct it.TBH, if this was me I would have given up and started again, in respect of updates I have a habit of initialising a few at a time, so if there is a group of php then update just those, then move on.

    One gets the impression this is standard procedure with omv: If you get an error, start over :D
    I'd like to avoid that. Maybe I can fix this error somehow..

    I had a brain 'fart' last night :) and going back over this to the first post most SBC's do not 'play nice' with USB HDD unless the USB is powered i.e. has it's own power source.

    I should have mentioned that I'll use a 3,5" external hdd which is powered seperatly.



    But back to my PHP Fatal Error:


    I think I updated php together with nginx sometime, maybe omv didn't like that?
    Any ideas how to fix that?

    Unfortunately I doubt that I can help much.


    I have found that OMV is very "brittle".


    When it works everything is fine and OMV works great. Snappy and stable...............................

    Thx for your judgement, can't say many good or bad things about it. I have it running for quite a while now, but I use my homeserver for other stuff too, "outside omv cosmos". Maybe omv doesn't like that.
    I don't use the webif much, main reason to install omv was that via armbian there's a config menu from which you can install a optimised version of omv with tweaks for faster transfer speed, etc.


    Right now I just wanted to hook up a spare external hdd via usb and use it just to store and playback movies. I head the transfer speed isn't good, do you have experience with that? I thought it should be fast enough to just playback hd movies via lan from it.

    Then try enable and then disable.

    Error message persists, however I found new errors in syslog:


    Code
    Nov 11 16:04:07 localhost omv-engined[18770]: PHP Fatal error: Uncaught Error: Call to undefined function bccomp() in /usr/share/php/openmediavault/functions.inc:689#012Stack trace:#012#0 /usr/share/openmediavault/engined/rpc/system.inc(428): binary_format('2093920256')#012#1 [internal function]: OMVRpcServiceSystem->getInformation(Array, Array)#012#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getInformation', Array, Array)#012#4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('System', 'getInformation', Array, Array, 1)#012#5 {main}#012  thrown in /usr/share/php/openmediavault/functions.inc on line 689
    
    
    
    
    
    
    Nov 11 16:04:18 localhost omv-engined[18809]: PHP Fatal error: Uncaught Error: Call to undefined function bccomp() in /usr/share/php/openmediavault/functions.inc:689#012Stack trace:#012#0 /usr/share/php/openmediavault/system/storage/storagedevice.inc(72): binary_format('31914983424')#012#1 /usr/share/openmediavault/engined/rpc/diskmgmt.inc(85): OMV\System\Storage\StorageDevice->getDescription()#012#2 [internal function]: OMVRpcServiceDiskMgmt->enumerateDevices(NULL, Array)#012#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#4 /usr/share/openmediavault/engined/rpc/diskmgmt.inc(119): OMV\Rpc\ServiceAbstract->callMethod('enumerateDevice...', NULL, Array)#012#5 [internal function]: OMVRpcServiceDiskMgmt->getList(Array, Array)#012#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('getList', Array, Array)#012#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{clos in /usr/share/php/openmediavault/functions.inc on line 689