Beiträge von dzooky

    Sorry my fault :D


    Here is output


    Hi guys I have strange behavior, I can't mount external disk to OMV, there is error message
    I do not understand why there is message about NTFS when it is EXT4 disk.
    Disk was previously with NTFS partition but there were problem, NTFS was corrupted so I deleted NTFS partition and created new ext4 partition.
    I've rebooted RPI but it doesn't help.



    -rw-r----- 1 root adm 191M May 21 08:36 daemon.log
    -rw-r----- 1 root adm 116M Apr 12 07:46 syslog.1
    -rw-r----- 1 root adm 76M May 21 08:36 syslog
    -rw-r----- 1 root adm 45M Mar 19 01:02 daemon.log.1
    -rw-r----- 1 root adm 13M Mar 19 01:03 auth.log.1
    -rw-r----- 1 root adm 11M May 21 08:36 auth.log

    Hi Guys


    I have OMV3 on RPi3 and I have problem with automatic cleaning /var/log
    After week or two I have this directory full and it is not automatically cleaned.


    I don't know if I made something wrong or why it is not automatically cleaned.
    Can somebody help me.
    Thanks

    Hi guys
    I found out that I have problem with login to DB via phpMyAdmin.
    1. When I use zip pack, while I press login button it always reload page, I can't log in.
    2. When I use installation of phpMyAdmin, it log me in but after every click inside phpmyadmin it return me again to login page.


    After searching for help after some hours I found it.
    If you have same problem you need to uncomment session.save_path in php.ini which you can find /etc/php5/fpm/
    This is by default commented.


    https://stackoverflow.com/ques…hpmyadmin-no-errors-shown

    Did it many times because I had problem with phpmyadmin, and as you can see it wasn't there.
    But I did it again and voila it is in right place and backup is running fine :D

    Code
    Could not open required defaults file: /etc/openmediavault/mysqldump.cnf
    Fatal error in defaults handling. Program aborted


    Code
    root@omv:~# ll /etc/openmediavault/
    total 124K
    drwxr-xr-x   2 root root                  4.0K Oct 22 00:20 .
    drwxr-xr-x 116 root root                  4.0K Oct 21 19:11 ..
    -rw-rw----   1 root openmediavault-config  43K Oct 22 00:19 config.xml
    -rw-r--r--   1 root root                   70K May  5 00:46 php.ini

    I have similar or better to say same issue in 3.0.88


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export SHELL=/bin/sh; sudo --shell --non-interactive --user=root -- omv-rpc MySql dumpDatabaseToSharedFolder '{"uuid":"dedfa955-c9e0-4231-aed1-a8b697ee9f8d"}' 2>&1' with exit code '1': {"response":null,"error":{"code":0,"message":"Failed to execute command 'export PATH=\/bin:\/sbin:\/usr\/bin:\/usr\/sbin:\/usr\/local\/bin:\/usr\/local\/sbin; export LANG=C; mysqldump --defaults-extra-file='\/etc\/openmediavault\/mysqldump.cnf' --all-databases --result-file=\/srv\/dev-disk-by-label-omv-backup\/mysql\/mysql-2017-10-22T21:34:56+0200.sql' with exit code '1': ","trace":"exception 'OMV\\ExecException' with message 'Failed to execute command 'export PATH=\/bin:\/sbin:\/usr\/bin:\/usr\/sbin:\/usr\/local\/bin:\/usr\/local\/sbin; export LANG=C; mysqldump --defaults-extra-file='\/etc\/openmediavault\/mysqldump.cnf' --all-databases --result-file=\/srv\/dev-disk-by-label-omv-backup\/mysql\/mysql-2017-10-22T21:34:56+0200.sql' with exit code '1': ' in \/usr\/share\/php\/openmediavault\/system\/process.inc:175\nStack trace:\n#0 \/usr\/share\/openmediavault\/engined\/rpc\/mysql.inc(284): OMV\\System\\Process->execute()\n#1 \/usr\/share\/openmediavault\/engined\/rpc\/mysql.inc(175): OMV\\Engined\\Rpc\\MySql->dumpDatabase('\/srv\/dev-disk-b...', '\/etc\/openmediav...')\n#2 [internal function]: OMV\\Engined\\Rpc\\MySql->dumpDatabaseToSharedFolder(Array, Array)\n#3 \/usr\/share\/php\/openmediavault\/rpc\/serviceabstract.inc(124): call_user_func_array(Array, Array)\n#4 \/usr\/share\/php\/openmediavault\/rpc\/rpc.inc(86): OMV\\Rpc\\ServiceAbstract->callMethod('dumpDatabaseToS...', Array, Array)\n#5 \/usr\/sbin\/omv-engined(536): OMV\\Rpc\\Rpc::call('MySql', 'dumpDatabaseToS...', Array, Array, 1)\n#6 {main}"}}


    I'm not an expert but probably problem is with generated command


    Code
    omv-rpc MySql dumpDatabaseToSharedFolder '{"uuid":"dedfa955-c9e0-4231-aed1-a8b697ee9f8d"}'

    I've checked /dev/disk/by-uuid and I don't have link with this uuid



    Code
    root@omv:/dev/disk/by-uuid# ll
    total 0
    drwxr-xr-x 2 root root 160 Oct 20 22:28 .
    drwxr-xr-x 6 root root 120 Oct 20 22:28 ..
    lrwxrwxrwx 1 root root  10 Oct 20 22:28 16F535FE3FF80700 -> ../../sdb1
    lrwxrwxrwx 1 root root  10 Oct 20 22:28 3B35A97D53ABEABD -> ../../sda2
    lrwxrwxrwx 1 root root  15 Oct 20 22:28 3be1863a-6aa6-4109-9561-5aebdbbe10c8 -> ../../mmcblk0p3
    lrwxrwxrwx 1 root root  15 Oct 20 22:28 a53d1120-f131-42f1-9eaa-334526c2ae70 -> ../../mmcblk0p4
    lrwxrwxrwx 1 root root  15 Oct 20 22:28 ae708a4d-982a-4a20-965c-01ec7e1f32b3 -> ../../mmcblk0p2
    lrwxrwxrwx 1 root root  15 Oct 20 22:28 CE83-8CE1 -> ../../mmcblk0p1