Posts by sbocquet

    There is a plugin that does this but I stopped maintaining it because certbot is a moving target and the version in the Debian repo is rarely up to date enough for a lot of people. The wildcard feature that most people want is very difficult to automate as well.

    And yes, I do tell people to use docker. I use certbot myself. Putting it in docker doesn't change that much. It actually makes it easier if the system you are generating the cert on does not have a web server or you do not want the current web server exposed to the internet (like OMV's web server).

    I can totally understand that. I personnaly recompile the latest versions of handbrake, qbittorrent-nox to be up to date in debian 10, and this can be a real pain ;)

    Certificates are much more used and useful. As said just before, maybe a path to the automated certificat in the Certificates or General Settings tabs in OMV could be a huge help for a lot of people ?



    Will be very interested in a way to automaticaly renew LetsEncrypt certificates in OMV as, at the moment, it's really a pain in the ass every 3 months to :
    1 - Renew the LetsEncrypt certificate by cron or CLI,
    2 - Copy/Paste the info in OMV GUI to generate the OMV one,
    3 - Copy/Paste the path to the new OMV certificate in every nginx site conf file (yes, I have some reverse proxy sites that use my wildcard certicate !)

    So many sources of errors...

    Why can OMV have the option to use directly the LetsEncrypt certificate (which is automatically renew) by simply giving its path ? It would be so easy !

    OMV is mean to be easy on those things, no ?

    P.S.: Please, don't tell me to use docker as it's a PERSONNAL NAS that don't need this complexity to automaticaly renew a certificat ! OMV is supposed to be a user friendly experience.


    But I also want them to be in the same group in order that they can all read/write in some other directory.
    Well, I guest that not a big deal but I wanted to do it all in the GUI and not be forced to use CLI.

    No problemo... but maybe this can be thinked to be done in a future update ;)

    My main goal is to have :
    - familly users that can read/write on all folders.
    - external (guests) users that can only read in some folders.

    All the external users can access the NAS with SFTP to download files from musics and videos.

    With those rights, only the users in the "users" group can read and write.

    At the moment, I just change the default group of the external users in /etc/passwd to match /etc/group.

    sbocquet:x:1000:100:Stéphane BOCQUET:/home/vbocquet:/usr/sbin/nologin
    utest:x:1002:1000:User test:/home/utest:/bin/sh

    Maybe there's a better way.


    My goal here is to link a user to a "guests" group so that he cannot access to some directories the internal users can.
    I have successfully added the user to the group "guests".

    I then was trying to remove a new created external user from the "users" group, and it seems not to work at all. The /etc/passwd file isn't modify too.

    Is it a bug?

    Thank for the tip.

    I have writen the new class.

    Is there an easy way to "reload" the conf in order to test it ?


    I want to add some custom services (Plex, QBittorrent-nox, etc) watching in the dashboard part of OMV5.

    I have installed those services by CLI as theres no more plugin for them, but it would be helpful to me to see if they are running in OMV dashboard.

    I have already custom some OMV dashboard graph with disks and CPU temp and so on, so I'm not new to OMV tweaking.

    Can someone give me some clue on what file I have to search/modify to include those services in the dashboard, and the best way to do it?

    P.S: I already have checked /var/www/openmediavault/js/omv/module/admin/dashboard/part/ServiceStatus.js but that's not here ;) Maybe more in the back engine ?

    Thx a lot for helping.


    For those who want to have fun...

    - Connect via SSH to your server...

    cd /var/www/openmediavault/css
    cp defaults.scss defaults.sav
    vi defaults.scss

    - Modify those line with what colors you want:

    $omv-color-more-lighter: #404040;
    $omv-color-lighter: #303030;
    $omv-color-default: #202020;
    $omv-color-darker: #101010;
    $omv-color-more-darker: #000000;

    Save and exit.

    - Compile the new CSS file:

    - Refresh your web browser with CTRL+F5 and enjoy ;)

    Note : This have to be done after each OMV update... or maybe you can use the theme-custom.css file possibility to override the default CSS?

    Quick update...

    I manage to get it work with HTTP with that conf file...

    Unfortunatly, when I try to use, I'm still redirected to OMV web UI :(
    Any idea ?

    EDIT : After some web browser cleaning (cookies, etc...), this qbittorrent.conf file seems to work !


    I currently have an OMV5 server with a LetsEncrypt wildcard certificate configured.
    It can be acceded by from the internet.

    I also have a qBittorrent web UI that I can access from the internet with

    I'm trying to have a reverse proxy set in nginx for my qBittorrent web UI with the following URL at first :
    Will try to set it to HTTPS in a second time with my wildcard certificate.

    I have created a nginx conf file for qbittorrent.

    Here is the OMV5 conf file for nginx :

    Anyway, it doesn't work but I can't see what I'm doing wrong here.

    Any idea ? Thx a lot.


    I've just setup a new OMV with OMV5 and just realized that there's no more links created in the /sharefolders directory.
    Also, I have noticed that I have no sharedfolders-xxxxxx.mount file generated in /etc/systemd/system each time I create a new one.

    Is it a bug or not ? Seems strange to me.


    Yep. I just installed it.

    Strangely, openIPMI needs mysql-common and mariadb-common ! Can't understand why as they are not listed in this page