Oh man. Thanks a lot for all the support. Wish I could buy you a beer or something. Hope only good things come your way
Beiträge von h3dkandi
-
-
Ok it has an ip now. The web ui and ssh and other stuff works. I don't see the yellow apply message any more is that normal? I guess we didn't deploy only iptables but that probably got ovewriten by the omv-firstaid addapter fix?
-
-
I ran it but from the ssh pff. So cant see the output I guess it would be successful. However the web ui is not working now ssh is not working either. From what can I see it wiped the ip:
Previously:Code2: end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether dc:a6:32:c7:9c:40 brd ff:ff:ff:ff:ff:ff inet 192.168.2.116/24 metric 100 brd 192.168.2.255 scope global dynamic end0 valid_lft 499sec preferred_lft 499sec inet6 fe80::dea6:32ff:fec7:9c40/64 scope link valid_lft forever preferred_lft forever
Now:
Code2: end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether dc:a6:32:c7:9c:40 brd ff:ff:ff:ff:ff:ff inet6 fe80::dea6:32ff:fec7:9c40/64 scope link valid_lft forever preferred_lft forever
It is gona be kinda hard for me to give you the output would have to save it to a file on the sd card turn off the server, plug the sd card to the laptop to give you the whole output.
I have not restarted btw. -
Yes reboot fixed the monitor. What should I do now whit this predictable naming and the changest that are waiting to be appied
-
I hooked a monitor but no picture. Could the reason be that the monitor is not detected or something because hot plug is not workin? Can I restart the server mby that fixes it?
-
Code
Alles anzeigenip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether dc:a6:32:c7:9c:40 brd ff:ff:ff:ff:ff:ff inet 192.168.2.116/24 metric 100 brd 192.168.2.255 scope global dynamic end0 valid_lft 499sec preferred_lft 499sec inet6 fe80::dea6:32ff:fec7:9c40/64 scope link valid_lft forever preferred_lft forever
I ran the salt deploy the output in terminal seems good. I dunno if the packages should disappear from the web ui yellow message but they are still there
-
Ok here is the output terminalOutput.txt
And now there is web UI message:
I am afraid if I apply it the system will break as before.
-
Code
Alles anzeigen:~$ dpkg -l | grep -v ^ii Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================-===================================-============-================================================================================= rc libblockdev2:arm64 2.28-2 arm64 Library for manipulating block devices rc libparted-fs-resize0:arm64 3.5-3 arm64 disk partition manipulator - shared FS resizing library iF nginx 1.22.1-9+deb12u1 arm64 small, powerful, scalable web/proxy server iU openmediavault 7.7.5-1 all openmediavault - The open network attached storage solution iU openmediavault-compose 7.4.4 all OpenMediaVault compose plugin iU openmediavault-nut 7.0.7-1 all openmediavault Network UPS Tools (NUT) plugin iU openmediavault-omvextrasorg 7.0.2 all OMV-Extras.org Package Repositories for OpenMediaVault rc systemd-timesyncd 252.22-1~deb12u1 arm64 minimalistic service to synchronize local time with NTP servers
-
During pagckage upgrade:
Code
Alles anzeigenSetting up openssh-server (1:9.2p1-2+deb12u5) ... rescue-ssh.target is a disabled or a static unit not running, not starting it. ssh.socket is a disabled or a static unit not running, not starting it. Setting up nginx (1.22.1-9+deb12u1) ... Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for details. invoke-rc.d: initscript nginx, action "start" failed. × nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Fri 2025-04-25 16:23:54 EEST; 23ms ago Docs: man:nginx(8) Process: 15004 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE) CPU: 22ms Apr 25 16:23:54 mynas systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server... Apr 25 16:23:54 mynas nginx[15004]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) Apr 25 16:23:54 mynas nginx[15004]: nginx: configuration file /etc/nginx/nginx.conf test failed Apr 25 16:23:54 mynas systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE Apr 25 16:23:54 mynas systemd[1]: nginx.service: Failed with result 'exit-code'. Apr 25 16:23:54 mynas systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server. dpkg: error processing package nginx (--configure): installed nginx package post-installation script subprocess returned error exit status 1
But this is probably because I didn't bother to fix the web UI after the restore with omv-firstaid.
Also at the in the summary at the end of upgrade:CodeErrors were encountered while processing: nginx openmediavault openmediavault-nut openmediavault-compose openmediavault-omvextrasorg
The root cause is the nginx it is a domino effect. Maybe I should have fixed the webUI before upgrading
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on nginx; however:
Package nginx is not configured yet.
I dont remmember getting this errors previously when I used omv-firstaid before upgrade
Edit: After the update the webUI works, I have not used omv-firstaid :? Also the web UI does not ask me to apply changes this time. Maybe if I reboot but probably not. Maybe no changes because of the errors during upgrade?
Forgot you wanted full output will attach as message is too long. upgradelog.txt -
Code
Alles anzeigen~$ sudo apt-get update Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Hit:5 http://deb.debian.org/debian bookworm InRelease Get:6 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] Hit:7 https://download.docker.com/linux/debian bookworm InRelease Get:8 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB] Get:9 https://openmediavault.github.io/packages sandworm InRelease [12.8 kB] Get:10 http://archive.raspberrypi.com/debian bookworm InRelease [39.1 kB] Get:11 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Get:12 http://packages.openmediavault.org/public sandworm InRelease [12.8 kB] Get:13 https://openmediavault-plugin-developers.github.io/packages/debian sandworm InRelease [3939 B] Get:14 http://httpredir.debian.org/debian bookworm-backports InRelease [59.4 kB] Get:15 https://openmediavault.github.io/packages sandworm/main armhf Packages [8423 B] Get:16 https://openmediavault.github.io/packages sandworm/main arm64 Packages [8418 B] Get:17 http://packages.openmediavault.org/public sandworm/main armhf Packages [8423 B] Get:18 http://packages.openmediavault.org/public sandworm/main arm64 Packages [8418 B] Get:19 https://openmediavault-plugin-developers.github.io/packages/debian sandworm/main arm64 Packages [9925 B] Get:20 http://archive.raspberrypi.com/debian bookworm/main armhf Packages [535 kB] Get:21 http://httpredir.debian.org/debian bookworm-backports/main arm64 Packages [271 kB] Get:22 http://httpredir.debian.org/debian bookworm-backports/main armhf Packages [273 kB] Get:23 http://archive.raspberrypi.com/debian bookworm/main arm64 Packages [534 kB] Fetched 1936 kB in 3s (631 kB/s) Reading package lists... Done :~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libcamera0.3 linux-headers-6.6.20+rpt-common-rpi linux-headers-6.6.20+rpt-rpi-2712 linux-headers-6.6.20+rpt-rpi-v8 linux-image-6.6.20+rpt-rpi-2712 linux-image-6.6.20+rpt-rpi-v8 linux-kbuild-6.6.20+rpt Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libcamera0.4 linux-headers-6.12.20+rpt-common-rpi linux-headers-6.12.20+rpt-rpi-2712 linux-headers-6.12.20+rpt-rpi-v8 linux-image-6.12.20+rpt-rpi-2712 linux-image-6.12.20+rpt-rpi-v8 linux-kbuild-6.12.20+rpt The following packages will be upgraded: avahi-daemon base-files bsdextrautils bsdutils btrfs-progs containerd.io curl distro-info-data docker-buildx-plugin docker-ce docker-ce-cli docker-compose-plugin fdisk firmware-atheros firmware-brcm80211 firmware-libertas firmware-misc-nonfree firmware-realtek initramfs-tools initramfs-tools-core iputils-ping libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7 libblkid1 libc-bin libc-dev-bin libc-devtools libc-l10n libc6 libc6-dbg libc6-dev libcamera-ipa libcamera0.3 libcurl3-gnutls libcurl4 libebml5 libfdisk1 libglib2.0-0 libmount1 libnfsidmap1 libnghttp2-14 libnss-myhostname libnss-resolve libnss-systemd libntfs-3g89 libnuma1 libpam-systemd libpisp-common libpisp1 libpixman-1-0 libpython3.11 libpython3.11-minimal libpython3.11-stdlib libsmartcols1 libsqlite3-0 libssl3 libsystemd-shared libsystemd0 libtiff6 libudev1 libuuid1 linux-headers-rpi-2712 linux-headers-rpi-v8 linux-image-rpi-2712 linux-image-rpi-v8 linux-libc-dev locales mount nfs-common nfs-kernel-server nginx nginx-common ntfs-3g openmediavault openmediavault-compose openmediavault-nut openmediavault-omvextrasorg openssh-client openssh-server openssh-sftp-server openssl python3-jinja2 python3-pkg-resources python3-setuptools-whl python3-urllib3 python3.11 python3.11-minimal python3.11-venv raspberrypi-sys-mods raspi-config raspi-firmware raspi-utils raspi-utils-core raspi-utils-dt raspi-utils-eeprom raspi-utils-otp raspinfo rfkill rpi-eeprom rpicam-apps-lite rsyslog salt-common salt-minion ssh systemd systemd-resolved systemd-sysv tzdata ucf udev util-linux util-linux-extra vim-common vim-tiny wget zlib1g 118 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 300 MB of archives. After this operation, 13.5 MB of additional disk space will be used. Do you want to continue? [Y/n] n Abort.
BTW i am on a Linux
-
They were like 128 or something packages. Maybe I should update and see what changes it wanted to apply after updating? The list there was short something like 10 programs/packages dunno what to call them
-
As long as you tell me what information you want and how I can provide it if you wish I could restore to before the update and run it again.
-
The system is currently working although I did not apply the update changes in order not to break it. I believe that even if I did a restore by flashing a new rpie image and the system got restored to its previous and normal state without any kinks as in my case, doing the update will break it unless I choose the undo changes after it. What I am saying is that probably I will be at the same point I am now.
The problem is future backups and as per your advice I will migrate to ddfull. I will ask a friend for SD if I have to so that I can test the backup works.
As you have also mentioned that you will look into fsarchiever for /boot/firmware I am considering the thread as resolved.
Thank you -
Thanks for the answers. I will look into migrating to ddfull as recommended. I might be limited by not having another SD card for the backup test without which I am hesitant to migrate from somewhat currently working solution albeit not really good. Will dig around the house to see if I find a spare.
-
Hello, as it seems difficult to me to find relative information to my problem I decided to just ask.
I am using openmediavault-backup 7.1.4 plugin with fsarchiever to do backups of my rpie flash card. However I see that it is not backing up my boot partition:
Code
Alles anzeigenlsblk mmcblk0 179:0 0 28.9G 0 disk ├─mmcblk0p1 │ 179:1 0 512M 0 part /boot/firmware └─mmcblk0p2 179:2 0 28.4G 0 part /var/folder2ram/var/cache/samba /var/folder2ram/var/lib/monit /var/folder2ram/var/lib/rrdcached /var/folder2ram/var/spool /var/folder2ram/var/lib/openmediavault/rrd /var/folder2ram/var/tmp / fsarchiver archinfo backup-omv-2025-04-25_13-10-33.fsa ====================== archive information ====================== Archive type: filesystems Filesystems count: 1 Archive id: 68054ae9 Archive file format: FsArCh_002 Archive created with: 0.8.7 Archive creation date: 2025-04-25_13-10-34 Archive label: <none> Minimum fsarchiver version: 0.6.4.0 Compression level: 2 (zstd level 2) Encryption algorithm: none ===================== filesystem information ==================== Filesystem id in archive: 0 Filesystem format: ext4 Filesystem label: rootfs Filesystem uuid: 55d73b0c-10a4-474f-bc63-066cf6812880 Original device: /dev/mmcblk0p2 Original filesystem size: 27.80 GB (29845688320 bytes) Space used in filesystem: 3.21 GB (3449741312 bytes)
It seems that it is needed.
The story is that I did an update after not doing one in quite a while. After the update finished I click the yellow notification to apply the changes. This broke my server no webui no ssh no nothing. I restored it from backup but it was not fully functional. I had to omv-firstaid the workbench option with default options which made the webUI usable. Docker and UPS services were down. I decided that might be due to the boot not being restored. To remedy that I just updated again. This time I did not apply the changes but chose undo (god knows when will that bite me) after the update the services are now working again.
Could the bad restore be due to not being able to restore the boot partition? Or was just the backup bad/corrupted in a way?
Can I make it so that my boot partition is backed up as well? -
After omv-release-upgrade I lost the ability to connect to my machine (rpie) trough its address hostname.domain. I tried a stupid fix in changing the domain trough the Web UI to something else which made it impossible to get access to the machine at all. Did a restore from backup and release upgraded again. When changing the domain from the web UI it informs that the following modules will be changed :
Zitat- avahi
- hostname
- hosts
- postfix
- samba
- systemd-networkd
Could the problem lie in one of them? How can I fix this. Currently I am using the IP of the machine for accessing it.
By the way after the restore the hostname.domain access worked until of course upgrading again to 7.
The problem exist and seems to be absolutely the same on a newly installed system as well. I installed OMV 7 on my rpie 7. At the start i did have rpie.local working as it was set during the image burn on the flash card. The interesting thing was that in the Web UI in the Network general settings only the name was showing and the domain was empty. I did not touch the domain at all. After making my whole setup after enabling samba and sharing my old/existing folders from the external hard I decided to restart as I was not seeing them in the network. After that restart I lost the ability to use rpie. Don't know if applying the samba settings is the real culprit. local and could log through the IP. After loging that way I decided to try and change the empty domain name to "local" and after applying the changes the rpie is not connecting to the network at all.
-
Thanks for the advice.
If you say that reinstall would be better that is what I will do when I overcome my laziness.
-
The full output of the upgrade would be better. It is really hard to tell where it is going wrong. Maybe a fresh install would be better.
I did provide full log as well. Here it is again.
-
I succeeded in restoring from backup and precoded with the release upgrade again
Some hand picked errors during installation here.
Should I be worried? Should I do something? Should I restore from backup and only think about migrating by full reinstall?
Full terminal logInside the browser UI I am greeted by message saying there are pending changes for :
- apt
- avahi
- collectd
- cron
- hdparm
- hostname
- hosts
- monit
- nfs
- nginx
- postfix
- proftpd
- rsyncd
- samba
- smartmontools
- systemd-logind
- systemd-networkd
- watchdog
When I tired to apply them an errors occur - log copied from UI