Posts by sparx82

    In the meantime I put almost everythingh to Docker but didn't remove all the unnecessary PHP version because I don't know what Openmediavault is using and I don't wan't to mess that up. Now it happend anyway.


    My OMV setup:



    Any ideas?


    Best regards,


    Oliver

    Hi All,


    (Sorry for double posting, I first attached it to an old thread)


    Today when I logged in, I experienced the exact same issue. I didn't upgrade Debian to another Major version. What I regularly do is just the normal apt-get update & upgrade. Can't remember of any php updates but I normally don't have a look at what is being updated. And it was the first login after a reboot.


    So, my error message is:


    Code

    Code
    Apr 8 20:31:44 DebianNAS omv-engined[8211]: 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('16452345856')#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(537): OMV\Rpc\Rpc::call('System', 'getInformation', Array, Array, 1)#012#5 {main}#012 thrown in /usr/share/php/openmediavault/functions.inc on line 689


    dpkg -l | grep php


    In the meantime I put almost everythingh to Docker but didn't remove all the unnecessary PHP version because I don't know what Openmediavault is using and I don't wan't to mess that up. Now it happend anyway.


    My OMV setup:



    Any ideas?


    Best regards,

    Oliver

    dpkg -l | grep php



    More info, see next post

    Today when I logged in, I experienced the exact same issue. I didn't upgrade Debian to another Major version. What I regularly do is just the normal apt-get update & upgrade. Can't remember of any php updates but I normally don't have a look at what is being updated. And it was the first login after a reboot.


    So, my error message is:


    Code
    Apr 8 20:31:44 DebianNAS omv-engined[8211]: 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('16452345856')#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(537): OMV\Rpc\Rpc::call('System', 'getInformation', Array, Array, 1)#012#5 {main}#012 thrown in /usr/share/php/openmediavault/functions.inc on line 689

    More info, see next post.

    Ok, I found the problem. I have an invalid entry in the /etc/default/openmediavault for OMV_HTTPREQUEST_TIMEOUT (it was "#*1000"). This then generated invalid code in the index file where the global defines are.


    Code
    OMV.UUID_UNDEFINED = 'fa4b1c66-ef79-11e5-87a0-0002b3a176b4'; OMV.ROLE_ADMINISTRATOR = 1; OMV.HTTPREQUEST_TIMEOUT = #*1000; OMV.PRODUCT_NAME = 'openmediavault'; OMV.PRODUCT_URL = 'http://www.openmediavault.org'; OMV.PRODUCT_COPYRIGHT = 'Copyright (C) 2009-2018 by Volker Theile. All rights reserved.'; OMV.PRODUCT_PACKAGENAME = 'openmediavault';

    And now all the global defines (including "OMV.UUID_UNDEFINED") have not been loaded and were not defined which then caused the above error.


    I remember that I changed the above value once in a completely different context and file and am now a little bit surprised that it's showing up here again :-) Some sort of automatic find/replace which went wrong I guess.

    Sorry, I have no idea how to reproduce it, itjust happens to be like this one day. Of course something has changed but I cannot tell what as I dont use the add buttons every day. I can reproduce it now if I press the add button no matter where, not only in plugins, also in the core system (File shares, Cron jobs, Let's encrypt plug in, ...). I have the following plugins installed: openmediavault-backup, openmediavault-usbbackup, openmediavault-deluge, openmediavault-minidlna, openmediavault-mysql, openmediavault-nginx, openmediavault-clamav, openmediavault-letsencrypt, openmediavault-nut, openmediavault-omvextrasorg.

    I'm using chrome on a normal desktop PC. But indeed, I see an error in the console:


    Hi all,


    If I change something in the WebGUI, then it is saved there and I can see the change after opening the window again. But the change will not be applied to the system. There used to be a message in a yellow bar whether I want to apply the config changes. This doesn't show up anymore. I can't tell when this behavior first appeared but it was there with OMV3 and is now also with OMV4. The change itself is still saved somewhere as I get every morning an email that I have config changes which are not applied yet. But I'm unable to do that in the WebGUI as it doesn't show this message anymore. Is anybody able to help?


    Thanks,
    Oliver

    Hi all,


    I have a strange problem on OMV WebGui. If I click on an add button, it doesn't matter where (e.g. Let's encrypt plug, NFS, Planned tasks) nothing happens. Really nothing. I click the button, it turns dark grey as long as I click but that's it. It happens on different computers with different browsers and even after upgrade vom OMV3 to OMV4. It used to work unntil a couple of weeks ago but I cannot tell when it exactly stopped working. Can anyone help?


    Best regards,
    Oliver

    Hi all,


    My NAS can be reached from the outside world through a Domain nas.xxx.xx. On the nameserver it is mapped using an A-Record to the IP Address of my NAS at my home. What I would like to have now is a webpage which can be reached through nas.xxx.xx/subfolder oder subfolder.xxx.xx. Both need, as far as my knowledge goes, a special configuration of the OMV webpage Nginx config. Is this possible? Or is there any other way to do that?
    The webpage could also run on another port but has to be reached from the outside through port 80/443. So a "remapping" of this subfolder to another port could also be done. But as far as I can see this would also need a special configuration of the "normal" nginx server.


    Thanks for your help
    Oliver

    Hi all,


    After the newest change of the OMV Gui, everything looked a little bit too big for me as I don't like "wasted" space on my screen (see also this Pull Request). There's a reason why I have a high screen resolution and it is not to fill it with white but to display information :-) So I created a theme-custom.css which I'd like to share with you. Basically I just decreased paddings and some other stuff. As I'm not a CSS specialist I don't know whether everything makes sense, I used Chrome to determine to parameters and then changed it. And some proportions might also not be perfect, but it's fine for me.


    Copy it to /var/www/openmediavault/css/theme-custom.css

    Maybe it's helpful for someone likewise as well.


    And thanks for the possibility to customize the GUI!

    Actually, I'm the only one using the website so no, it is not very big :-) But it is protected using "auth_basic "Restricted Content";" and I can see in the log that someone is trying to access the page by trying random user name and password combinations. And I hoped to make their lives a little bit more annoying by allowing only one connection every few seconds. This would be enough for me.

    Hi all,


    I used the Nginx Plugin to create an additional server. It is up and running but I would like to add some additional configuration (like this: https://miete-admin.de/blog/dd…-mit-nginx-abmildern.html). As far as I can see this is not possible using the web interface as the additional configuration there always goes into the "server" block of the config file but I need as well something in the "location" block. Changing the configuration file itself doesn't make sense as well as this will be overwritten when restarting the server. So where and how should I do that?


    Thanks,
    Oliver