Posts by ejvl

    Hi all,


    I’ve a Raspberry Pi2 installed with OpenMediaVault, (Debian 8 Jessie), changed the webinterface port to 81. That works fine.
    I want to use ZoneMinder, advise for OpenMediaVault is in Docker, but Docker does not work on Raspberry Pi, so I want the install ZoneMinder manually.
    I’ve installed Zoneminder with those instructions,
    https://wiki.zoneminder.com/De…inder_1.29.0_the_Easy_Way


    The installation is fine, but the webinterface does not works.
    In Internet Explorer, I’ve seen a blank page.
    In Chrome, the PHP file is appear:


    <?php
    //
    // ZoneMinder main web interface file, $Date$, $Revision$
    // Copyright (C) 2001-2008 Philip Coombes
    //
    // This program is free software; you can redistribute it and/or
    // modify it under the terms of the GNU General Public License
    // as published by the Free Software Foundation; either version 2
    // of the License, or (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful,
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    // GNU General Public License for more details.
    //
    // You should have received a copy of the GNU General Public License
    // along with this program; if not, write to the Free Software
    // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    //
    Etc.


    But nothing opened yet. No webbrowser.


    The ZoneMinder service is working well for so far I know:


    root@raspberrypi:~# systemctl status zoneminder.service
    ● zoneminder.service - ZoneMinder CCTV recording and surveillance system
    Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled)
    Active: active (running) since Tue 2018-04-17 09:34:46 CEST; 5min ago
    Process: 2029 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
    Main PID: 2200 (zmdc.pl)
    CGroup: /system.slice/zoneminder.service
    ├─2200 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
    ├─2251 /usr/bin/perl -wT /usr/bin/zmfilter.pl
    ├─2283 /usr/bin/perl -wT /usr/bin/zmaudit.pl -c
    └─2306 /usr/bin/perl -wT /usr/bin/zmwatch.pl


    Apr 17 09:34:45 raspberrypi sudo[2255]: pam_unix(sudo:session): session closed for user www-data
    Apr 17 09:34:45 raspberrypi sudo[2287]: root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl star...watch.pl
    Apr 17 09:34:45 raspberrypi sudo[2287]: pam_unix(sudo:session): session opened for user www-data by (uid=0)
    Apr 17 09:34:46 raspberrypi zmdc[2200]: INF ['zmwatch.pl' starting at 18/04/17 09:34:46, pid = 2306]
    Apr 17 09:34:46 raspberrypi zmdc[2306]: INF ['zmwatch.pl' started at 18/04/17 09:34:46]
    Apr 17 09:34:46 raspberrypi sudo[2287]: pam_unix(sudo:session): session closed for user www-data
    Apr 17 09:34:46 raspberrypi zmfilter[2251]: INF [Scanning for events]
    Apr 17 09:34:46 raspberrypi systemd[1]: Started ZoneMinder CCTV recording and surveillance system.
    Apr 17 09:34:47 raspberrypi zmwatch[2306]: INF [Watchdog starting]
    Apr 17 09:34:47 raspberrypi zmwatch[2306]: INF [Watchdog pausing for 30 seconds]


    I don’t know how to fix it, any idea?


    Thanks.




    Update, I've changed the "short_open_tag = Off" to "shart_open_tag=On" and restart the apache services, but no result.

    Hi,
    I’ve configured Rsync with a source and destination folder, it works fine.
    Now I want a other solution, complete synchronisation between folder1 and folder2.
    If I change something in folder2, it automatic sync with folder1. And If I change something in folder1, it automatic sync with folder2.


    Rsync copy’s only from source to destination. If I make a change in the destination folder, that change is not syncing with the source.


    Is this possible with Rsync, or should I use another plugin for this?


    Thanks.

    Yes, but there are two things the topicstarter asks.


    1. Dynamic IP.


    2. Remote access to OMV.




    1. It can be solved with DDNS.


    2. It can be solved by portforwarding on the router, or a VPN to the router, or OMV (OpenVPN) so you can remote access the NAS.




    @Blabla, It's your choice. You can use the OpenVPN in OMV, in that case you have to forward the OpenVPN ports from your router to your NAS.


    When you use VPN on you router, you can connect directly to your DDNS address.




    https://openvpn.net/index.php/…tation/howto.html#dynamic

    Yes that is possible.
    I don’t know what type of router you have, but DDNS is a solution. And configure port forwarding in your router.
    For myself I’ve anything blocked from WAN, except VPN. On my router (Asus) I’ve configured open VPN, so I can remote access my NAS from any device, with this VPN connection.

    Duplicati is installed now:
    I don't know whith commands are nessecary, but I've done it as follows:


    apt-get remove mono-complete mono-devel mono-runtime
    apt-get autoremove
    apt-get remove --purge libmono*
    sudo apt-get purge mono-runtime
    sudo apt-get purge mono-complete


    Now Check for some mono remaining parts as lib or others things and unistall them


    dpkg --get-selections | grep mono
    Now unistall them


    apt-get remove remainings-parts
    Now clean apt cache


    apt get clean
    apt-get autoclean


    New Mono install:
    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
    echo "deb http://download.mono-project.com/repo/debian stable-stretch main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
    sudo apt-get update



    Check the exact version of Mono.
    apt-cache showpkg mono-devel
    And install it


    aptitude install mono-devel=version
    In my case: aptitude install mono-devel=5.8.0.108-0xamarin1+debian9b1


    First choice to keep versions, choice is no.
    Next choice is Yes and Yes.

    Hi,
    Today I’ve upgraded to release 4. OMV is installed on my Raspberry Pi.


    There was a problem with Duplicati, so I’ve installed Duplicati and want te install it again.


    But received the following error:




    root@raspberrypi:~# apt-get install duplicati


    Reading package lists... Done


    Building dependency tree


    Reading state information... Done


    Some packages could not be installed. This may mean that you have


    requested an impossible situation or if you are using the unstable


    distribution that some required packages have not yet been created


    or been moved out of Incoming.


    The following information may help to resolve the situation:




    The following packages have unmet dependencies:


    duplicati : Depends: libmono-system-drawing4.0-cil but it is not going to be installed


    Depends: libmono-system-servicemodel4.0a-cil but it is not going tobe installed


    Depends: libmono-system-servicemodel-discovery4.0-cil but it is notgoing to be installed


    Depends: libmono-system-serviceprocess4.0-cil but it is not going to be installed


    Depends: libmono-system-web4.0-cil but it is not going to be installed


    Depends: libmono-system-web-services4.0-cil but it is not going tobe installed


    Depends: gtk-sharp2 but it is not going to be installed


    E: Unable to correct problems, you have held broken packages.




    I’ve tried the apt-get dist-upgrade.


    root@raspberrypi:~# apt-get dist-upgrade


    Reading package lists... Done


    Building dependency tree


    Reading state information... Done


    Calculating upgrade... Done


    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.




    I’ve tried the


    root@raspberrypi:~# apt-get -f install


    Reading package lists... Done


    Building dependency tree


    Reading state information... Done


    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.




    I’ve tried the apt-clean in OMV webbrowser.




    I’ve tried to install from OMV webbrowser:


    Reading package lists...


    Building dependency tree...


    Reading state information...


    Some packages could not be installed. This may mean that you have


    requested an impossible situation or if you are using the unstable


    distribution that some required packages have not yet been created


    or been moved out of Incoming.


    The following information may help to resolve the situation:




    The following packages have unmet dependencies:




    >>> *************** Error ***************


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-missing --allow-unauthenticated --reinstall install openmediavault-duplicati 2>&1' with exit code '100': Reading package lists...




    Building dependency tree...




    Reading state information...




    Some packages could not be installed. This may mean that you have


    requested an impossible situation or if you are using the unstable


    distribution that some required packages have not yet been created


    or been moved out of Incoming.


    The following information may help to resolve the situation:




    The following packages have unmet dependencies:


    openmediavault-duplicati : Depends: duplicati but it is not going to be installed


    E: Unable to correct problems, you have held broken packages.


    <<< *************************************




    >>> *************** Error ***************


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-missing --allow-unauthenticated --reinstall install openmediavault-duplicati 2>&1' with exit code '100': Reading package lists...




    Building dependency tree...




    Reading state information...




    Some packages could not be installed. This may mean that you have


    requested an impossible situation or if you are using the unstable


    distribution that some required packages have not yet been created


    or been moved out of Incoming.


    The following information may help to resolve the situation:




    The following packages have unmet dependencies:


    openmediavault-duplicati : Depends: duplicati but it is not going to be installed


    E: Unable to correct problems, you have held broken packages.


    <<< *************************************




    >>> *************** Error ***************


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-missing --allow-unauthenticated --reinstall install openmediavault-duplicati 2>&1' with exit code '100': Reading package lists...




    Building dependency tree...




    Reading state information...




    Some packages could not be installed. This may mean that you have


    requested an impossible situation or if you are using the unstable


    distribution that some required packages have not yet been created


    or been moved out of Incoming.


    The following information may help to resolve the situation:




    The following packages have unmet dependencies:


    openmediavault-duplicati : Depends: duplicati but it is not going to be installed


    E: Unable to correct problems, you have held broken packages.


    <<< *************************************




    >>> *************** Error ***************


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-missing --allow-unauthenticated --reinstall install openmediavault-duplicati 2>&1' with exit code '100': Reading package lists...




    Building dependency tree...




    Reading state information...




    Some packages could not be installed. This may mean that you have


    requested an impossible situation or if you are using the unstable


    distribution that some required packages have not yet been created


    or been moved out of Incoming.


    The following information may help to resolve the situation:




    The following packages have unmet dependencies:


    openmediavault-duplicati : Depends: duplicati but it is not going to be installed


    E: Unable to correct problems, you have held broken packages.


    <<< *************************************




    What can I do more to make Duplicati working?




    Thanks

    Permissions look fine in the folder. Does the camera sw produce any logs ?

    Unfortunately it's a very old IPCAM, a Foscam FI8602W.
    I've connected another IPCamera, a Foscam FI9831P, and there all works fine.
    So, OMV works great with FTP because the FI9831P works fine.


    But I'm still wondering why the FI8602W does not work, and the mod_wrap error appears in OMV.
    For now, I've setup my Asus AC51u router as a FTP server, with a USB stick. The FI8602W push the images by FTP to the Asus. In OMV I use a plugin so I can see the shared folder off my Asus as a local shared folder in OMV, so I can use Rsync to push the images to OMV.

    Here's the output:


    root@raspberrypi:~# ls -la "/srv/dev-disk-by-label-32GB/IPCAM"
    total 104
    drwxrwxrwx 2 root root 102400 Jan 13 16:38 .
    drwxr-xr-x 7 root root 4096 Jan 12 11:39 ..
    root@raspberrypi:~#


    Today and yesterday I've put files manually in the folder, by Windows folder in File Explorer.

    It could be a permission issue. Even if privilege is enabled for that user in that folder the owner and mod might not be correct.


    Post here
    cat /etc/proftpd/proftpd.conf

    Thank you, here's the output:


    root@raspberrypi:~# cat /etc/proftpd/proftpd.conf
    Include /etc/proftpd/modules.conf
    LoadModule mod_vroot.c
    UseIPv6 on
    ServerName "raspberrypi"
    ServerType standalone
    DeferWelcome on
    MultilineRFC2228 on
    DefaultServer on
    ShowSymlinks on
    DisplayChdir .message true
    ListOptions "-l"
    MaxInstances 30
    DenyFilter \*.*/
    User proftpd
    Group nogroup
    Umask 000 000
    PersistentPasswd off
    TimesGMT off
    AllowOverwrite on
    AuthOrder mod_auth_pam.c* mod_auth_unix.c
    DefaultTransferMode ascii
    #SystemLog /var/log/proftpd/proftpd.log
    <IfModule mod_facl.c>
    FACLEngine on
    </IfModule>
    <IfModule mod_quotatab.c>
    QuotaEngine off
    </IfModule>
    <IfModule mod_ratio.c>
    Ratios off
    </IfModule>
    <IfModule mod_delay.c>
    DelayEngine on
    </IfModule>
    <IfModule mod_ctrls.c>
    ControlsEngine on
    ControlsMaxClients 2
    ControlsLog /var/log/proftpd/controls.log
    ControlsInterval 5
    ControlsSocket /var/run/proftpd/proftpd.sock
    </IfModule>
    <IfModule mod_ctrls_admin.c>
    AdminControlsEngine off
    </IfModule>
    <IfModule mod_vroot.c>
    VRootEngine on
    VRootLog /var/log/proftpd/vroot.log
    </IfModule>
    Port 21
    TransferLog NONE
    IdentLookups off
    UseReverseDNS off
    TimeoutIdle 0
    TimeoutNoTransfer 600
    TimeoutStalled 600
    PassivePorts 49152 65534
    DeleteAbortedStores off
    <Directory />
    HideFiles (welcome.msg)
    </Directory>
    <IfModule mod_vroot.c>
    VRootAlias "/srv/dev-disk-by-label-32GB/IPCAM" "IPCAM"
    </IfModule>
    <Directory /IPCAM>
    <Limit ALL>
    AllowUser OR ejvl
    DenyAll
    </Limit>
    <Limit READ DIRS>
    AllowUser OR ejvl
    DenyAll
    </Limit>
    </Directory>
    <IfModule mod_auth.c>
    DefaultRoot /srv/ftp
    MaxClients 5
    MaxLoginAttempts 3
    RequireValidShell off
    # This option is useless because this is handled via the PAM
    # pam_listfile.so module, so set it to 'off' by default.
    UseFtpUsers off
    </IfModule>
    <IfModule mod_auth_pam.c>
    AuthPAM on
    AuthPAMConfig proftpd
    </IfModule>
    <IfModule mod_ban.c>
    BanEngine off
    BanControlsACLs all allow user root
    BanLog /var/log/proftpd/ban.log
    BanMessage Host %a has been banned
    BanTable /var/run/proftpd/ban.tab
    </IfModule>
    DisplayLogin /srv/ftp/welcome.msg
    <IfModule mod_wrap.c>
    TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
    TCPAccessSyslogLevels info warn
    TCPServiceName ftpd
    </IfModule>

    Yes, I cannot change it. When I remove it and replace it to /IPCAM, the dot is automatically set again and the Pat is ./IPCAM again. It works fine with the FTP on my Asus router. I’ve insert an USB, setup the FTP, configure the folder, setup the camera with the same, ./folder and it works. I cannot change or remote those dot.

    Hi,


    Yesterday I've installed OpenmediaVault on my Raspberry Pi, it works great, thanks for that!
    There’s only one problem, it’s similar to this thread: Failure Sending Webcam Images by FTP but I’m really new to OMV and Linux, and I don’t understand how the problem is solved.


    I’ve created a shared folder and configure the user access, then I configure the FTP.
    I connect in my own LAN with FileZilla to the PI, I can login, I can access the created folder, I can read and write in that folder without any problem.
    I’ve a Foscam IP camera. FTP upload works fine with another FTP server, but not in OMV.
    Settings:
    Local LAN: 10.0.0.0 / 255.0.0.0
    IP OMV: 10.0.1.250
    IP CAM: 10.0.1.11
    Default Gateway: 10.0.0.1


    Attached you can see some images, hopefully somebody can help me, so I can fix this.