Posts by HubbleWho

    Hello again!

    I recently discovered that my server wasn't on a static IP address. After fixing that mistake, rsync now gives me an ssh error saying that it's failing to resolve the host and the receiver closed off the connection. I know the host site works, I pinged it but also Filezilla connects just fine to it. I'm not sure what's going on or why rsync is failing here. I use an SSH certificate to communicate with the host, and that certificate was made when the server had a different IP address. Could that be the issue?

    The Error:

    ssh: Could not resolve hostname Name or service not known

    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]

    rsync error: unexplained error (code 255) at io.c(235) [Receiver=3.1.3]

    ERROR: The synchronisation failed.

    I'm working on getting Nextcloud running but I don't know what I don't know here. In using this OMV forum tutorial and this Technodad tutorial they talk about setting up a reverse proxy so that you can access the Nextcloud server from the internet. In talking to my sysadmin friend it's my understanding that this presents a huge host of security issues and for someone as amateurish as me, that seems over my head. My sysadmin friend suggested something like Wireguard instead as a means of contacting the server while remote.

    So I have some questions:

    • How insecure is this?
    • Is one more secure than the other?
    • Can I do both?
    • If I want to just do wireguard, do I just delete/comment out the portion of the Docker-compose file that includes SWAG (In the video they use Letsencrypt but the OMV tutorial changed it)?
    • I'm sure there are things I don't know, but what are other considerations that I'm missing? (I can google so you just have to list them if you don't want to explain)
    • Do I need to get the DuckDNS container if I use a DuckDNS url?
    • If I use Wireguard, is it better to install that natively or use it in a container?

    Serious thanks to anyone who answers. Hopefully I'll be able to answer people's questions on here someday.

    I'm having a totally bizarre problem with rsync. I set up two rsync jobs to download some folders from a remote server. One rsync job works (in that I can tell the command to run, it connects, syncs, tells me it's complete) and the other rsync command doesn't (in that I tell it to run and it gives a "failed to execute" error) however, it still downloads the folder on the interval that I set it at. I don't really know what's going on here but I'd love to be able to just ask OMV to run the rsync when I'd like. Any help?

    Error #0:

    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export SHELL=/bin/sh; sudo --shell --non-interactive -- /var/lib/openmediavault/cron.d/rsync-5c53b71e-4f66-405a-b965-ec6345db6c14 2>&1' with exit code '1': in /usr/share/openmediavault/engined/rpc/

    Stack trace:

    #0 /usr/share/php/openmediavault/rpc/ Engined\Rpc\Rsync->Engined\Rpc\{closure}('/tmp/bgstatusy3...', '/tmp/bgoutputr4...')

    #1 /usr/share/openmediavault/engined/rpc/ OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))

    #2 [internal function]: Engined\Rpc\Rsync->execute(Array, Array)

    #3 /usr/share/php/openmediavault/rpc/ call_user_func_array(Array, Array)

    #4 /usr/share/php/openmediavault/rpc/ OMV\Rpc\ServiceAbstract->callMethod('execute', Array, Array)

    #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Rsync', 'execute', Array, Array, 1)

    #6 {main}


    Here's what happened. I used cubemin's idea of running scripts through the task scheduler. First I ran "sudo systemctl start ssh.service" and it kicked back the same error. So I then ran "systemctl status ssh.service". It was telling me that SSH couldn't bind to port 22, that something was already using it. I looked up other port numbers I can use and selected a different one and voila! Now SSH works. Putty connects. Life is good.

    Afterwards I looked up a port listening command
    "sudo lsof -i:22" and it told me that rsync was using Port 22. I have no idea why rsync was conflicting with SSH, since I thought it was the same command. But whatever. It works now.

    (I don't know why the font changed mid post. Sorry about that)

    After rebooting the server, the SSH failed to start up. Which blows because that's the only way I know how to execute commands (via Putty). When I plug in a monitor/keyboard, the monitor just says "No signal". If I reboot the server, I just get to select which version of debian I boot (currently 5.10.0.bpo.5-amd64), then the screen displays some MCE errors and then goes blank. The server runs fine, I can access through the webUI, Jellyfin runs, etc, but I can't restart SSH.

    The comments that OMV gives me say

    "Job for ssh.service failed because the control process exited with error code.

    See "systemctl status ssh.service" and "journalctl -xe" for details."

    I have no idea how to execute those commands because I don't have access to a command line. Any help would be appreciated as I'm not sure where to go from here.

    Here is the full text of the error readout OMV gave me

    Here's a picture of the MCE errors at startup

    I'm new to OMV and Debian. OMV won't detect my connected SATA HDD. When I ask OMV to scan for new disks, it returns this error:

    Error #0:
    OMV\ExecException: Failed to execute command '[ -x /sys/class/scsi_host ] && for hostdir in $(find /sys/class/scsi_host -iname "host*" -type l); do echo "- - -" > ${hostdir}/scan; done' with exit code '1': in /usr/share/php/openmediavault/system/
    Stack trace:
    #0 /usr/share/openmediavault/engined/rpc/ OMV\System\ShellScript->execute()
    #1 [internal function]: Engined\Rpc\DiskMgmt->rescan(NULL, Array)
    #2 /usr/share/php/openmediavault/rpc/ call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/ OMV\Rpc\ServiceAbstract->callMethod('rescan', NULL, Array)
    #4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('DiskMgmt', 'rescan', NULL, Array, 1)
    #5 {main

    Which is utter gibberish to me. Using the command line, an fdisk and lsblk only return that my NVME is there. However, my MOBO reads the disks just fine so I'm at a loss. How do I get OMV to recognize the disks?

    Other information:
    Mobo: MSI b560M Pro

    - Chipset: Intel B560

    Processor: Intel Core i3 10100

    Thanks for all the help! I initially used the command line interface via ssh to install backports but then I tried the roundabout, download-upload-install via webgui and it works now.

    (Gotta make sure I post that it's successful and what I did. :P )

    I know this post is a little old but I'm running into the same issue. The output for me is:

    ii openmediavault 5.6.4-1 all openmediavault - The open network attached storage solution

    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive

    I cleared my browser cache and rebooted the server.