Posts by patrick168

    I've got some progress by adding an "-e" option to the command.



    Code
    rsync -av --delete --numeric-ids -e "ssh -p 8822 -i /var/lib/openmediavault/ssh/keys/BACKUP_KEY" root@source.duckdns.org:/srv/dev-disk-by-label-SOURCE/SOURCE_FOLDER/ /srv/dev-disk-by-label-DESTINATION/.


    It goes through the whole rsync process, but no file is copied. The output is like this:


    Code
    receiving incremental file list
    sent 789 bytes received 355,234 bytes 64,731.45 bytes/sec
    total size is 33,212,732,677 speedup is 93,288.17


    What am I doing wrong, can someone help me on this?


    Thanks,
    Patrick

    I moved one of my OMV machines (DESTINATION) to mom's house to rsync from my Gen8 (SOURCE) at home. I can SSH shell at her machine back to the Gen8, so port forwarding rule and public key settings are all good. However, when it remote rsync (pull) with this:


    Code
    rsync -av --delete --numeric-ids --rsh=/usr/bin/ssh -p 8822 -i /var/lib/openmediavault/ssh/keys/BACKUP_KEY root@source.duckdns.org:/srv/dev-disk-by-label-SOURCE/SOURCE_FOLDER/ /srv/dev-disk-by-label-DESTINATION/.


    it doesn't work and prompts this:


    Code
    Unexpected remote arg: root@source.duckdns.org:/srv/dev-disk-by-label-SOURCE/SOURCE_FOLDER/
    rsync error: syntax or usage error (code 1) at main.c(1348) [sender=3.1.1]

    What's wrong with the syntax? Thanks.

    I used the docker image linuxserver/nextcloud and the default parameter to arrive at step 7b, but I can't get through to build MySQL, do I need to install MySQL, Nginx and Redis as suggested in Step 1a or other steps to complete the installation?

    Thanks no_Legend for the tutorial, I have successfully installed zoneminder on OMV 3, I think I can now upgrade my OMV 2 to OMV 3. :thumbsup:


    Could you please advise how I can implement zoneminder using a dedicated disk inside docker?


    In OMV2 without docker, I just edit /etc/fstab like this:


    /newdrive/zoneminder/images /var/lib/zoneminder/images none defaults,bind 0 2
    /newdrive/zoneminder/events /var/lib/zoneminder/events none defaults,bind 0 2


    How can it be done inside docker?

    Am using OMV 1.0 and just installed openmediavault-sensors_1.0.23 from web interface, but when I logged in again, it displays the following errors and couldn't go in.




    Anyone know what the problem is?

    You just install the new package over the top of the existing version
    dpkg -i ../zoneminder_1.28.1_amd64.deb;apt-get install -f


    I encountered this when issuing the above commands, what should I do? How can I login as root MySQL user?


    Should you is up to you.
    Can you - yes.


    This build is made the same way as the 1.27 version plus a few extra tweaks to get the new api working and to use IP/zm instead of a port number.
    I upgraded to this new build from 1.27 and only had 1 issue when it tried to update the database, this was fixed by running the command as the root MySQL user then running apt-get install -f


    So what should be the correct upgrade procedure? Remove the old version and do a new install based on your procedures here, or is there a simple upgrade method? Thanks.

    There isn't a plugin. Just a package built to work on OMV. Here


    I am using this 1.27 version, should I be upgrading it to the current 1.28 one?


    As to the resources used by ZM, I found that it is very sensitive to General>Max FPS and Source>Capture Width & Height, and of course the number of cams you are using. Try to adjust these parameters to tune your system, my N40L could easily reach 100% with four cams attached if Max FPS aren't set to 5!!!

    A dumb question to ask.

    I installed the openvpn_as plugin in a N40L as VPN server and it works fine with my PC client. Now, I would like a remote OMV machine to establish VPN connection with the server to make daily backup. May I know what command should I use to make the “dial up” to the server machine?

    Thanks.

    I followed Tekkbebe's guide to install my ownCloud 7.0.5 in my OMV 1.19 successfully but run into the same problem as Dennis encountered.


    The problem should be due to a bug in username management, Dennis is different from dennis because they are case sensitive, so Dennis don't have the permission to write on the ownCloud location that belongs to dennis, Dennis can only read but not write in this case.


    I bypassed this bug by creating a user called dennis in OMV and set his ACL to apply read/write permissions to all files and subfolders under that location. The log is now clean WITHOUT the error-message:


    Code
    Error - OC_Group_OpenMediaVault Failed to get user 'Dennis' (code=6000, message=User 'dennis' does not exist) - 2014-08-10T15:46:23+00:00


    I would like to ask if there is any way to manually set the ownCloud user dennis back to Dennis so we don't need to explicitly set up another user in OMV.


    Thanks.

    Did not read all this but surely get this straightened out first. Even if a drive had to be replaced.
    He may just need a root fs delay for the usb drive.


    http://phpbb.openmediavault.org/viewtopic.php?f=3&t=1465


    In one case a person needed a delay as high as 15 for a usb drive.


    I think it should be a contact problem, so I cleaned the SATA sockets with alcohol this time. But who knows the real cause, it is in essence a trial and error process.


    This happens in my backup machine that wakes up every night for backup and all disks are internal instead of USB drive.

    Sorry that I ain't very good at programming, should I be using "mount -o loop /dev/sdc2 /media" to mount assuming that the media partition is sdc2. Also where should this command be saved if it has to be auto-mounted at startup. Thanks.


    Hi Subzero, it should be a contact problem, I cleaned the SATA sockets with alcohol this time but I just want to prevent it from filling up the system disk in case it happens again.


    Hi David, please let me know if you have a solution on this? Thanks.

    The system disk of my backup machine is full again - the second time. I found that it was caused the data disk couldn't be mounted at startup, and so backup files were copied directly to system disk under /media/<uuid>.


    Is there a way that I can make a small media partition say 2G in the disk and have the /media directory directed to this partition as OMV's mounting points? In case the data disk cannot be mounted the next time, it will only fill up the 2G media partition and won't affect the system disk.


    Suggestion would be appreciated, thanks.

    If I migrated from OMV 0.56 to 1.x, should I first uninstall the previous script with ./install-remove.sh from here before upgrading to OMV 1.x and install the new sensor plugin?


    Will all previous temperature data be displayed in the new chart?

    I can now mount the shared folder under /media/sf_name-of-vbox-host-shared-folder.


    What I want to achieve is to access the same disk (or folders) in both the host machine and the VM. Would that be impossible without un-mounting the disk in the host?


    My problem now is that I can't find the shared folder neither in "Physical Disks" nor "File Systems" in the VM web interface. How can I access the shared folder in the VM OMV?