Posts by Sero

    Hello everyone,


    I would like to back up my databases daily.

    So I created a scheduled task, put this command:

    Code
    mysqldump -u root --password=mypassword --all-databases> /srv/dev-disk-by-label-Data/Backup_DB/save_alldb_$(date +%d-%m-%Y-%R).sql

    but I get a file weighing 0k instead of 1.7MB.

    I tried as root and mysql user. Same.


    A search here gave me results but i don't have permission to see them. :(


    How do you do that?


    Thanks.

    Hello there,


    After upgrade the system (OMV4.1.XX-X), i get

    Code
    Job for php7.0-fpm.service failed because the control process exited with error code.
    See "systemctl status php7.0-fpm.service" and "journalctl -xe" for details.
    invoke-rc.d: initscript php7.0-fpm, action "restart" failed.
    ● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
    Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Tue 2020-08-11 20:16:47 CEST; 4ms ago
    Docs: man:php-fpm7.0(8)
    Process: 31546 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf (code=exited, status=78)
    Main PID: 31546 (code=exited, status=78)

    journalctl give me

    Code
    journalctl -u php7.0-fpm.service
    -- Logs begin at Tue 2020-08-11 20:28:23 CEST, end at Tue 2020-08-11 20:33:35 CEST. --
    août 11 20:28:25 omv-tati systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
    août 11 20:28:27 omv-tati php-fpm7.0[919]: [11-Aug-2020 20:28:27] ERROR: An another FPM instance seems to already l
    août 11 20:28:27 omv-tati php-fpm7.0[919]: [11-Aug-2020 20:28:27] ERROR: FPM initialization failed
    août 11 20:28:27 omv-tati systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/n/a
    août 11 20:28:27 omv-tati systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
    août 11 20:28:27 omv-tati systemd[1]: php7.0-fpm.service: Unit entered failed state.
    août 11 20:28:27 omv-tati systemd[1]: php7.0-fpm.service: Failed with result 'exit-code'.

    I found this topic: php-fpm / phpapi issues

    but I'm not sure that would solve the problem.

    Do you know the best way to solve this?


    Thanks

    Hi,


    Have warnings here on a fresh install of OMV5 and on new hardware. The SSD seems ok.



    Finally, I don't need omv-extras. How can I delete it properly?
    Hope not to pollute the Rallaic's topic with my question.

    Hi everybody,


    I currently have 2 websites running, but with website nginx plugin I have to define a different port for each of them.


    Each of the websites is installed in its directory: /www/nextcloud; /www/grr


    Do you know a way to force port 443 on all?
    For now, I have a /etc/nginx/sites-enabled/zzz-omv-nginx file that manages my 2 websites.



    I think it would be better to have 1 file per website for it to work.
    Is it possible to define a configuration file with this plugin?




    Thank you in advance for your assistance.

    I thought about crontab -e but not to look in the dirs.


    found /etc/cron.d/php5:


    it corresponds well to the hours of receipt of mails.


    I commented the line 15, check mails and remove it.
    Solved.


    Thank you. ^^

    Hi everyone,


    since the activation of the notifications by mail, I receive every 30 minutes an email indicating:

    Code
    /usr/lib/php5/sessionclean: 34: /usr/lib/php5/sessionclean: php5: not found

    However,


    Code
    ls -l /usr/lib/php5/sessionclean 
    -rwxr-xr-x 1 root root 2730 mars  30  2019 /usr/lib/php5/sessionclean

    no idea since when do I get that.


    by looking here, a topic is about an old dating back to 2014.
    I did not know OMV in 2014. :/
    it was talking about a bug that was solved today.


    I migrated my system from version 3.x.x to 4.x.x, now 4.1.26-1.


    Before migrating, I had a nextcloud, which today is still functional.
    I guess php5 is no longer useful?
    Will deleting php5 packages not break my nextcloud?
    Will this solve the problem?


    here are my php packages installed:

    thank you in advance for the help. :)

    Oh my bad ! Never change port from nginx (websites) addon before perform updates. Otherwise aptitude get an error failed (98: Address already in use) and the updates configuration was obstruct.
    To solve that, I executed

    Code
    # fuser -k 445/tcp
    # aptitude install -f
    # systemctl start nginx.service

    and it works back again. :)



    Edit: So now, how to turn this thread solved?

    Hello,


    I just perform the system updates and bad surprise: nginx is broken.
    Here, how it happened:
    https://pastebin.com/kq5svf8F


    I did not know nginx-full, nginx-light, nginx-extras packages exist.
    Now, i would like to know what I should do to solve it because I can't restart nginx with systemctl.
    I look for a bit here but it is weird, it seems I am alone with that issue. ?(
    I am on Arakkis version upgraded from Erasmus.


    Thanks.

    Howdy ryecoaaron,


    I am in the same case as CarfRip.
    After execute
    sed -Ei "s/(stable|oldstable|jessie)/stretch/g" /etc/apt/sources.list.d/* /etc/apt/sources.list
    aptitude update shows

    Code
    553 mises à jour restantes [+553], 14358 nouveaux paquets [+14352].




    should I run aptitute upgrade before omv-release-upgrade ?
    OR only omv-release-upgrade ?


    Sorry, it's not clear for me. I don't know what omve-release-upgrade really do.
    Is there an howto for upgrade OMV 3.x.x to OMV 4.x.x ?

    Hi guys,


    I installed the latest stable version of OMV. Nextcloud setup page access is right but after I fill the fields, I get an error:

    Quote from nextcloud

    Error while trying to create admin user: Failed to connect to the database: An exception occured in driver: SQLSTATE[28000] [1045] Access denied for user 'ncuser'@'localhost' (using password: YES)


    I wish use mariadb.
    Should I create user, database and set privileges via

    Code
    mysql -u root -p

    and so it will works ? nextcloud don't do that automatically ?




    I already tried and failed so I am not sure about that.


    Any idea ?
    Thanks.