Sorry I had a typo in post. It should be dpkg -l | grep -E "certi|gpg"
Newbie question on backing up boot device
-
-
Sorry I had a typo in post. It should be dpkg -l | grep -E "certi|gpg"
Code
Alles anzeigenpi@omvt:~ $ dpkg -l | grep -E "certi|gpg" ii ca-certificates 20200601~deb10u1 all Common CA certificates ii dirmngr 2.2.12-1+rpi1+deb10u1 armhf GNU privacy guard - network certificate management service ii gpg 2.2.12-1+rpi1+deb10u1 armhf GNU Privacy Guard -- minimalist public key operations ii gpg-agent 2.2.12-1+rpi1+deb10u1 armhf GNU privacy guard - cryptographic agent ii gpg-wks-client 2.2.12-1+rpi1+deb10u1 armhf GNU privacy guard - Web Key Service client ii gpg-wks-server 2.2.12-1+rpi1+deb10u1 armhf GNU privacy guard - Web Key Service server ii gpgconf 2.2.12-1+rpi1+deb10u1 armhf GNU privacy guard - core configuration utilities ii gpgsm 2.2.12-1+rpi1+deb10u1 armhf GNU privacy guard - S/MIME version ii gpgv 2.2.12-1+rpi1+deb10u1 armhf GNU privacy guard - signature verification tool ii libgpg-error0:armhf 1.35-1 armhf GnuPG development runtime library ii python3-certifi 2018.8.24-1 all root certificates for validating SSL certs and verifying TLS hosts (python3)
-
What is the output of: dpkg -l | grep openm
And I guess the following should fix:
apt-key adv --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "7AA630A1EDEE7D73"
apt-get update
-
What is the output of: dpkg -l | grep openm
And I guess the following should fix:
apt-key adv --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "7AA630A1EDEE7D73"
apt-get update
ran all of those commands but getting locked file/permission denied along the way.
Code
Alles anzeigenpi@omvt:~ $ dpkg -l | grep openm ii openmediavault 5.5.4-1 all openmediavault - The open network attached storage solution rc openmediavault-flashmemory 5.0.7 all folder2ram plugin for OpenMediaVault ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive ii openmediavault-omvextrasorg 5.3.3 all OMV-Extras.org Package Repositories for OpenMediaVault pi@omvt:~ $ apt-key adv --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "7AA630A1EDEE7D73" Executing: /tmp/apt-key-gpghome.9XYcs4gYKh/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 7AA630A1EDEE7D73 gpg: keyserver receive failed: Server indicated a failure pi@omvt:~ $ apt-get update Reading package lists... Done E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied) W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
-
Try running dpkg as root.
-
apt-key definitely needs to be run with sudo or as root. I forget to post the word sudo sometimes.
-
Try running dpkg as root.
just reran everything with sudo but still getting pretty much same results.
Code
Alles anzeigenpi@omvt:~ $ sudo apt-key adv --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "7AA630A1EDEE7D73" Executing: /tmp/apt-key-gpghome.Swz8SZn5zX/gpg.1.sh --no-tty --keyserver hkp://k eyserver.ubuntu.com:80 --recv-keys 7AA630A1EDEE7D73 gpg: keyserver receive failed: Server indicated a failure pi@omvt:~ $ 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://packages.openmediavault.org/public usul InRelease Get:6 http://httpredir.debian.org/debian buster-backports InRelease [46.7 kB] Hit:7 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:8 http://archive.raspberrypi.org/debian buster InRelease Hit:9 https://openmediavault.github.io/packages usul InRelease Hit:10 https://download.docker.com/linux/debian buster InRelease Ign:11 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRel ease Ign:12 https://dl.bintray.com/openmediavault-plugin-developers/usul-testing bust er InRelease Ign:13 https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buste r InRelease Get:14 https://dl.bintray.com/openmediavault-plugin-developers/usul buster Relea se [4363 B] Get:15 https://dl.bintray.com/openmediavault-plugin-developers/usul-testing bust er Release [3538 B] Get:16 https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buste r Release [3538 B] Get:17 https://dl.bintray.com/openmediavault-plugin-developers/usul buster Relea se.gpg [821 B] Get:18 https://dl.bintray.com/openmediavault-plugin-developers/usul-testing bust er Release.gpg [821 B] Get:19 https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buste r Release.gpg [821 B] Get:20 http://httpredir.debian.org/debian buster-backports/main armhf Packages [ 333 kB] Ign:17 https://dl.bintray.com/openmediavault-plugin-developers/usul buster Relea se.gpg Ign:18 https://dl.bintray.com/openmediavault-plugin-developers/usul-testing bust er Release.gpg Ign:19 https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buste r Release.gpg Reading package lists... Done W: GPG error: https://dl.bintray.com/openmediavault-plugin-developers/usul buste r Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7AA630A1EDEE7D73 E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul buster Release' is not signed. N: Updating from such a repository can't be done securely, and is therefore disa bled by default. N: See apt-secure(8) manpage for repository creation and user configuration deta ils. W: GPG error: https://dl.bintray.com/openmediavault-plugin-developers/usul-testi ng buster Release: The following signatures couldn't be verified because the pub lic key is not available: NO_PUBKEY 7AA630A1EDEE7D73 E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul- testing buster Release' is not signed. N: Updating from such a repository can't be done securely, and is therefore disa bled by default. N: See apt-secure(8) manpage for repository creation and user configuration deta ils. W: GPG error: https://dl.bintray.com/openmediavault-plugin-developers/usul-extra s buster Release: The following signatures couldn't be verified because the publ ic key is not available: NO_PUBKEY 7AA630A1EDEE7D73 E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul- extras buster Release' is not signed. N: Updating from such a repository can't be done securely, and is therefore disa bled by default. N: See apt-secure(8) manpage for repository creation and user configuration deta ils.
-
keyserver receive failed: Server indicated a failure
Since the command didn't work, I wouldn't expect anything to change on your system. I have no idea what is causing this. Maybe try re-installing the ca-certificates package?? EVery damn problem is always an RPi issue....
sudo apt-get install --reinstall ca-certificates
then try the apt-key command again
-
sudo apt-get install --reinstall ca-certificates
then try the apt-key command again
ok re-ran but still got the error after running sudo apt-key command: keyserver receive failed: Server indicated a failure
luckily this is a omv test unit as I learnt the hard way when my main omv server crashed and had to restart afresh.
i guess if you guys are out of ideas, i will do a fresh install. i was actually trying to test the backup restore process which is ironic.
-
I'm starting to question your SD card.
-
I'm starting to question your SD card.
Slightly off topic, but I noticed clonzilla is not under omv extras on the raspberry pi. Is it not arm compatible?
-
Is it not arm compatible?
Correct. While I have never tried the actual clonezilla binary on arm, the clonezilla distro will not work on arm. Arm also doesn't have grub allowing one to boot from an ISO like omv-extras sets up.
-
No, this will not work. "Sync" methods copy files and folders only. They do not copy the boot track, so the drive used for the openmediavault image backup will not boot.
Files and folders will be copied. But do verify that whatever tool you use preserves the ownership and permissions of the files and folders.
Just wont to come back on this, so I get the restore OMV image and will attempt to test this out.
but on my docker image and container appdata which are on separate hard drives, whilst rsync might work to replicate these, what is the correct way if one of these hard drives go down - is it better just to install fresh docker fresh and/or paste the appdata/stack files in portainer fresh rather than using a rsync backup?
-
So what related to this thread question- my drive back up file grown from ~2gb to 20+gb !!!
Wonder what’s the best practice to clean up drive before backing it ?
I run OMV on R pi 4
-
I ran into a similar issue:
I did backup my SD Card (with SD Clone on mac) and then reinstalled it on a faster SD Card with the same size (Sandisk) - Technically it worked fine, but when I now open OMV and perform an update or change settings it takes for ages until the task is completed.
Is there any way to find out what causes this lag?
-
-
Every OMV install, even normally working ones, will display that mdadm warning message. You have other problems. But you don't say exactly how you wrote the image to the disk.
-
Every OMV install, even normally working ones, will display that mdadm warning message. You have other problems. But you don't say exactly how you wrote the image to the disk.
I used balenaEtcher witch reported no errors
-
When you made the backup image are you sure you used the correct source?
-
When you made the backup image are you sure you used the correct source?
Yes but the one from 11-22 was corrupted but the one from 11/15 is actually working, but I was expecting having my portainer installed on that one since I am not able to reinstall it but no luck gonna try the 11.01.2020.
Bash
Alles anzeigen#!/bin/bash # Script to make dd image of system drive now=$(date +"%Y.%m.%d.%H.%M.%S") file="omv-5.5.3-1-$now.img" cd /mnt/AppData_remote/OMV_backup_intel dd if=/dev/disk/by-id/usb-SanDisk_Ultra_Fit_04018ed0604a1038360a27fa07eacd191b6664b8d62de6e3bcbbdd5de3246f5222bc00000000000000000000f0ed84baff880b18835581073ba93c9e-0:0 of=$file bs=1M status=progress
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!