Posts by Nemesis_Zero

    No backups, at the moment i don't have accesses to omv to start a backup

    Code
    root@NAS:/# apt install --reinstall openmediavault
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    E: Internal Error, No file name for openmediavault:armhf

    I did this

    Code
    root@NAS:/# systemctl unmask lvm2-lvmpolld.socket
    Removed /etc/systemd/system/lvm2-lvmpolld.socket.


    Strange. Then you executed some commands on the host that are supposed to be executed in docker.

    Can you post the link to the guide you followed?

    yes, i deployed the stack, the stack cause nginx to listen at port 80, so i deleted the stack but nginx was still listening on port 80, thats why i uninstalled it. I was thinking, that i never installed nginx on the pi (not that i was aware of) so deleting it wouldnt do any harm.


    The Guide is on Youtube in german:

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    following those instuctions: https://docs.google.com/docume…eavUB4-fCMg9ZqTOUYYo/edit

    Yes, i use container and i was installing nextcloud via a stack in portainer.


    here is the output:

    It gives:


    Code
    root@NAS:/# dpkg -l | grep openmedi
    iU  openmediavault                  5.6.24-1                            all          openmediavault - The open network attached storage solution
    ic  openmediavault-autoshutdown     5.1.21                              all          OpenMediaVault AutoShutdown Plugin
    ic  openmediavault-flashmemory      5.0.9                               all          folder2ram plugin for OpenMediaVault
    ii  openmediavault-keyring          1.0                                 all          GnuPG archive keys of the OpenMediaVault archive
    ic  openmediavault-lvm2             5.0.3-1                             all          openmediavault Logical Volume Manager (LVM2) plugin
    ic  openmediavault-minidlna         5.0.5                               all          OpenMediaVault miniDLNA (DLNA server) plugin
    ic  openmediavault-omvextrasorg     5.6.5                               all          OMV-Extras.org Package Repositories for OpenMediaVault
    ic  openmediavault-usbbackup        5.0.9-1                             all          openmediavault USB/eSATA backup plugin

    i followed a guide to install nextcloud. In addition to nextcloud, mariadb and swag had to be installed. For installing swag the guide explicitly mentioned to first change OMV port to something else then 80. I didn't do it because i thought i could change it later anyway, turns out it broke everything.


    Next, i found out that nginx was listening on port 80, so i uninstalled it, well then omv stoped working, so installed omv via this: wget -O - https://raw.githubusercontent.…tallScript/master/install | sudo bash . Now im stuck

    i cant accesses omv on port 80 anymore


    I installed omv on RPi4 which has his ip: 192.168.0.166


    if i connect to https://192.168.0.166:80/ via Firefox i get this error "SSL_ERROR_RX_RECORD_TOO_LONG"


    if i connect to http://192.168.0.166:80/, this time http instead of https, its telling me nginx server is running


    if i try to change the port of omv via omv-firstaid -> configure web control panel , i get this error " ERROR: Failed to connect /var/lib/openmediavault/engined.sock: [Errno 2] No such file or directory"


    How to resolve this ? I dont need/want nginx right now. I dont know how it is connected to omv.

    I am missing the '/etc/default/openmediavault' folder with all the "environment variable" like :


    'OMV_CONFIG_FILE'

    'OMV_ENGINED_SO_ADDRESS'


    because of this i get errors when using omv-firstaid. How to set up this folder ?

    explain please.

    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color systemd-networkd 2>&1' with exit code '1': raspberrypi: ---------- ID: remove_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 14:15:26.681681 Duration: 3.899 ms Changes: ---------- file.find: ---------- ID: remove_empty_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 14:15:26.685942 Duration: 6.085 ms Changes: ---------- file.find: ---------- ID: remove_netplan_config_files Function: module.run Result: True Comment: file.find: ['/etc/netplan/10-openmediavault-default.yaml', '/etc/netplan/20-openmediavault-eth0.yaml', '/etc/netplan/30-openmediavault-wlan0.yaml'] Started: 14:15:26.692390 Duration: 4.161 ms Changes: ---------- file.find: - /etc/netplan/10-openmediavault-default.yaml - /etc/netplan/20-openmediavault-eth0.yaml - /etc/netplan/30-openmediavault-wlan0.yaml ---------- ID: configure_etc_network_interfaces Function: file.managed Name: /etc/network/interfaces Result: True Comment: File /etc/network/interfaces is in the correct state Started: 14:15:26.701707 Duration: 86.304 ms Changes: ---------- ID: symlink_systemd_resolvconf Function: file.symlink Name: /etc/resolv.conf Result: True Comment: Symlink /etc/resolv.conf is present and owned by root:root Started: 14:15:26.788371 Duration: 4525.545 ms Changes: ---------- ID: configure_netplan_default Function: file.managed Name: /etc/netplan/10-openmediavault-default.yaml Result: True Comment: File /etc/netplan/10-openmediavault-default.yaml updated Started: 14:15:31.314566 Duration: 38.691 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_netplan_ethernet_eth0 Function: file.managed Name: /etc/netplan/20-openmediavault-eth0.yaml Result: True Comment: File /etc/netplan/20-openmediavault-eth0.yaml updated Started: 14:15:31.353678 Duration: 86.032 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_netplan_wifi_wlan0 Function: file.managed Name: /etc/netplan/30-openmediavault-wlan0.yaml Result: True Comment: File /etc/netplan/30-openmediavault-wlan0.yaml updated Started: 14:15:31.440186 Duration: 77.967 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: apply_netplan_config Function: cmd.run Name: netplan apply Result: False Comment: Command "netplan apply" run Started: 14:15:31.518548 Duration: 341.84 ms Changes: ---------- pid: 2497 retcode: 1 stderr: Traceback (most recent call last): File "/sbin/netplan", line 23, in <module> netplan.main() File "/usr/share/netplan/netplan/cli/core.py", line 50, in main self.run_command() File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command self.func() File "/usr/share/netplan/netplan/cli/commands/apply.py", line 43, in run self.run_command() File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command self.func() File "/usr/share/netplan/netplan/cli/commands/apply.py", line 93, in command_apply stderr=subprocess.DEVNULL) File "/usr/lib/python3.7/subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/lo']' returned non-zero exit status 1. stdout: Summary for raspberrypi ------------ Succeeded: 8 (changed=7) Failed: 1 ------------ Total states run: 9 Total run time: 5.171 s

    Hi, i have difficulties removing/adding a wlan0 interface in OMV5. Bevorehand i followed the guides linked below to enable wlan on my rpi4 and it helped but my guess is that those changes won't work well with omv5.


    https://www.raspberrypi.org/do…/wireless/wireless-cli.md

    https://www.raspberrypi.org/do…ss/access-point-routed.md

    I reverted all changes to the best of my abilities but now i get this error whenever i try to remove the wlan0 interface.

    I dont think i made any changes to the direcotries or files listed in the error message

    Thank you for the reply.

    Soma: Yes, i flashed the ISO to a 16gb sd card so Rpi4 (not5) can boot omv. For the ISO i picked the lite version.

    i also followed the guide but the guide dont explain how to deal with error messages. i read the guide and repeated the steps like 5 times.


    cubemin : Yes, the 1Tb is not the OS system drive. When i try to reformat the 1TB card from the OMV GUI i get this progress:



    and when im try to mount it i get this error:


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': raspberrypi: ---------- ID: create_filesystem_mountpoint_201a8f16-a628-4fd3-bc2f-3a930ee59d69 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_201a8f16-a628-4fd3-bc2f-3a930ee59d69 for file /etc/fstab was charged by text Started: 10:45:55.977803 Duration: 2.379 ms Changes: ---------- ID: mount_filesystem_mountpoint_201a8f16-a628-4fd3-bc2f-3a930ee59d69 Function: mount.mounted Name: /srv/dev-disk-by-uuid-EA24-365E Result: True Comment: Started: 10:45:55.983436 Duration: 413.481 ms Changes: ---------- ID: create_filesystem_mountpoint_fe6c9b56-5335-47fd-b943-0c1fcacc49b2 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_fe6c9b56-5335-47fd-b943-0c1fcacc49b2 for file /etc/fstab was charged by text Started: 10:45:56.397654 Duration: 3.156 ms Changes: ---------- ID: mount_filesystem_mountpoint_fe6c9b56-5335-47fd-b943-0c1fcacc49b2 Function: mount.mounted Name: /srv/dev-disk-by-uuid-e1ca5d9d-a66a-4190-bf20-845aa5c78ea0 Result: False Comment: mount: /srv/dev-disk-by-uuid-e1ca5d9d-a66a-4190-bf20-845aa5c78ea0: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error. Started: 10:45:56.401195 Duration: 133.678 ms Changes: ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: Changes were made Started: 10:45:56.537801 Duration: 23.561 ms Changes: ---------- diff: --- +++ @@ -5,4 +5,5 @@ # use dphys-swapfile swap[on|off] for that # >>> [openmediavault] /dev/disk/by-uuid/EA24-365E /srv/dev-disk-by-uuid-EA24-365E vfat defaults,nofail 0 2 +/dev/disk/by-uuid/e1ca5d9d-a66a-4190-bf20-845aa5c78ea0 /srv/dev-disk-by-uuid-e1ca5d9d-a66a-4190-bf20-845aa5c78ea0 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 # <<< [openmediavault] Summary for raspberrypi ------------ Succeeded: 4 (changed=1) Failed: 1 ------------ Total states run: 5 Total run time: 576.255 ms

    and this details: