Clone the USB stick to another of same size on another PC (use whatever software you feel more comfortable)
My other machine is Windows based, so is there a cloning software that works that reads the linux USB to clone it on another USB?
Clone the USB stick to another of same size on another PC (use whatever software you feel more comfortable)
My other machine is Windows based, so is there a cloning software that works that reads the linux USB to clone it on another USB?
Display MoreThe link you posted is refering RaspberryPi.
RaspberryPi doesn't have Legacy/UEFI.
So, the question is: What are you trying to accomplish?
And the next one: which hardware are you running?
Display MoreThe link you posted is refering RaspberryPi.
RaspberryPi doesn't have Legacy/UEFI.
So, the question is: What are you trying to accomplish?
And the next one: which hardware are you running?
I'm running Dell Desktop i5.
I've had to fully re-install OMV5 a few weeks ago, which I have done on a flash drive.
I'm now trying to restore from the backup plug by writing the backup image to a new flash drive. Therefore, if my original system drive crashes, I can just replace it with my backup flash drive.
So I have been trying to create a backup using the guide in post #1.
I have tried 4 different USB brands, creating a backup of my 16gb flash drive operating system to another 16gb and 32gb flash drive.
I can not get the 'backup' version to boot - keep getting errors on each version (sometimes same) per the image below:
I've tried using Etcher and USB imager as well.
Any ideas to get it working?
Display Morevolumes are created for containers, if the creator of the image defines that, nothing to worry about.
How did you start the portainer container?
can you repeat the commands from before.
cat /etc/docker/daemon.json
docker info
docker ps -a
docker image ls
docker inspect portainer
Portainer starts through the webUI.
Output too big to post but all looks good to me - there was no reference to the by-label ID.
Thanks for your help....again!
try to get rid of this image
docker image rm a1c22f3d250f
After deleting the docker container, I couldn't run this command - "error no such image."
I've rebooted and docker inspect portainer is referencing back to the uuid disk, so currently working.
It says no portainer_data and does the 2 docker volumes mean 2 dockers?
I do not understand what I see. This is a portainer installation created 2 month ago and stopped 7 days ago, but the image tag has been removed in the meantime. it does not have a name or did you cut off the name of the container in the last line at the right?
I can't explain why the dates are like they are but the 7 days ago is the new portainer from the outset of this thread. There is nothing cutoff from what I can see. The containers themselves are also working fine, just not portainer.
How are you starting your portainer container?
I can't at the moment.
root@OMV:~# docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
lscr.io/linuxserver/syncthing latest 3e86dd0e8a0b 8 days ago 49MB
plexinc/pms-docker latest 50eaaf5e3424 8 days ago 631MB
lscr.io/linuxserver/resilio-sync latest f2c2f16c41dd 2 weeks ago 211MB
uroni/urbackup-server latest ba6cf74a3d2a 2 weeks ago 177MB
dlandon/logitechmediaserver latest 53a4242e55d1 5 weeks ago 1.38GB
portainer/portainer-ce latest 0df02179156a 2 months ago 273MB
I feel this portainer image from 2 months ago is not correct, as I created a portainer image last week per post #2.
Display Moregive me
cat /etc/docker/daemon.json
docker info
docker ps -a
Your docker root has not been moved properly to the /srv/dev-disk-by-... directory.
Here you go. It all looks good except for portainer which keeps referencing back to the bylabel ID but none exists anymore.
root@OMV:~# cat /etc/docker/daemon.json
{
"data-root": "/srv/dev-disk-by-uuid-fc008cb9-1532-4231-a49e-88721f97ba63/AppData2/Docker"
}
root@OMV:~# docker info
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
buildx: Docker Buildx (Docker Inc., v0.7.1-docker)
Server:
Containers: 6
Running: 5
Paused: 0
Stopped: 1
Images: 6
Server Version: 20.10.12
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
Default Runtime: runc
Init Binary: docker-init
containerd version: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
runc version: v1.0.2-0-g52b36a2
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 5.10.0-0.bpo.9-amd64
Operating System: Debian GNU/Linux 10 (buster)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 3.716GiB
Name: OMV
ID: LNTO:FMJM:EZZH:EIOA:IYYX:25ED:FRWW:W5IT:KIAU:WN6J:WLAR:HLV3
Docker Root Dir: /srv/dev-disk-by-uuid-fc008cb9-1532-4231-a49e-88721f97ba63/AppData2/Docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
root@OMV:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e36304f70cea lscr.io/linuxserver/syncthing "/init" 4 days ago Up 8 hours 0.0.0.0:8384->8384/tcp, 0.0.0.0:21027->21027/udp, :::8384->8384/tcp, :::21027->21027/udp, 0.0.0.0:22000->22000/tcp, :::22000->22000/tcp, 0.0.0.0:22000->22000/udp, :::22000->22000/udp syncthing
9a85594e571a dlandon/logitechmediaserver "/sbin/my_init" 7 days ago Up 8 hours lms
f5770fc6cd24 plexinc/pms-docker "/init" 7 days ago Up 8 hours (healthy) plex
13e74f570260 lscr.io/linuxserver/resilio-sync "/init" 7 days ago Up 8 hours 0.0.0.0:8888->8888/tcp, :::8888->8888/tcp, 0.0.0.0:55555->55555/tcp, :::55555->55555/tcp resilio-sync
5897aa008dae uroni/urbackup-server:latest "/usr/bin/entrypoint…" 7 days ago Up 8 hours urbackup
75ba5e06fcd2 a1c22f3d250f "/portainer" 2 months ago Exited (128) 7 days ago 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp, 9443/tcp, 0.0.0.0:9200->9000/tcp, :::9200->9000/tcp
Display More
Display MoreI carefully checked all docker inspect containers for any old mount points but couldn't find any. I also checked the old srv label directories many were empty but some had duplicate data - so deleted them.
Rebooted and portainer works.
As you said, post #73 had a reference ("log path") to the 'old disk by label' whereas now it refers to 'by uuid'. Not 100% sure why previously just the log path was being referenced to the old label whereas everything else was mapped to the disk by uuid. And after deleting /srv/by-label drives, portainer has updated 'log path' to by uuid - which I guess why it works.
Anyway thanks again to Zoki and KM0201 for patience and assistance.
I truly hope this is now resolved.
Unfortunately the issue has resurfaced. The output of docker inspect portainer shows for log path and mounts the disk label whereas all were changed to uuid, with the /srv/by-label directories deleted:
"LogPath": "/srv/dev-disk-by-label-Chimp/AppData2/Docker/containers/75ba 5e06fcd2ba6cdf2e02e4c9bdb72afd577dfdada7a97266ff8faab5b893e7/75ba5e06fcd2ba6cdf2 e02e4c9bdb72afd577dfdada7a97266ff8faab5b893e7-json.log",
"Mounts": [
{
"Type": "volume",
"Name": "portainer_data",
"Source": "/srv/dev-disk-by-label-Chimp/AppData2/Docker/volumes/ portainer_data/_data",
My portainer docker-compose.yml is defintely mapped to by..uuid
docker volume ls is showing 2 volumes - is this causing the issue?
I assumed it was a security risk. Another issue I had was play around and added a user with password. But now I can't remove the user.
From google, I found the only way to remove a user was send a command via sqlite (https://github.com/linuxserver/Heimdall/issues/345)
I tried that but it didn't work. Does anyone have another way to remover a user?
you need to write the URL heimdall must open when push the button.
and example for netatmo a remote temp monitor for my home, but all apps works in a simmilar way ( URL, can be a Ip too eg: http://192.168.1.100:9000 to open your portainer page if 192.168.1.100 is the IP of your NAS).
I've done that in both the 'add application' and 'edit configuration' but it only takes you to the login page of the application. It doesn't actually log you in.
There is a config section on bottom of the edit window.
I saw that but thats only to bring in the api data from the enhanced apps. It doesn't actually log you into the app.
I also found the app seemed unfinished. For example, if you add a user thee is no way to remove them.
Can you check the logs in /var/log/nginx?
The only thing that was happening around that time is a scheduled job of Clam AV running for one of my data folders.
root@OMV:~# cat /var/log/nginx/error.log
2022/02/06 10:07:17 [alert] 1154#1154: worker process 1156 exited on signal 9
2022/02/06 10:07:17 [alert] 1154#1154: worker process 1155 exited on signal 9
2022/02/06 10:07:17 [alert] 1154#1154: worker process 1157 exited on signal 9
2022/02/06 10:07:17 [alert] 1154#1154: worker process 1158 exited on signal 9
2022/02/06 10:13:28 [alert] 16515#16515: worker process 16517 exited on signal 9
A load of 15 is rather high for a simple nas. Do you still have troubles with a disk where the kernal waits for timeouts?
Not that I'm aware.
But not sure if this could be an issue. The original drive which failed last week is the internal drive and I have not removed this as I'd need to open the desktop and physicall remove it. However, BIOS sequence is setup to boot from USB (the new OMV5 installation), which is does. The failed internal drive is not mounted, so OMV should be ignoring it.
nginx is the web server that OMV uses to display the interface in your browser.
Have you installed any application directly on the host?
Have you installed a desktop system?
No. The hardware is only used for OMV5.
Initially I had OMV5 installed for a couple of years but got this error a week ago (see earlier posts) which was traced to a bad system drive.
So I did a fresh install of OMV5 onto a new USB flash drive. Was back up and running and everything worked fine for a week but then started getting the emails etc again yesterday.
That message is simply a notice of CPU load averaging. https://en.euro-linux.com/blog…-process-states-on-linux/
If it bothers you, you can disable it in the GUI.
It doesn't bother me. I thought it was might be related to the constant nginx failure, I've been getting, which in turn means I cant access my system per #29
Its happened again Re: nginx failure then succeeded.
I also received an email ahead of the nginx failure about my loadavg
Description: loadavg (1min) of 15.5 matches resource limit [loadavg (1min) > 8.0]
Is this a hardware (Dell i5 machine) issue even though all of my hardware tests were passed and only using a handful (4) of conatiners
Thanks ![]()
This might be another good example of why using Symlinks in docker is a pretty good idea. Since UUID's can change on a new install, it could put OP back in this situation (although now he'd be wise to it). With Symlinks, you can keep them consistent across new installs, you just have to create your links before installing docker. That's what I did when I clean installed 6 earlier this month and it actually worked very well. In my situation, all of my "/config" directories (or in the case of Portainer, /data), are under /NAS/AppData. All of my Media, is under /NAS/Media... This makes setting up my symlinks from memory easy, and also if I want to install new containers, my paths are easy to set from memory. I've got a few other paths I link outside of AppData and Media, but since I know them and know they are consistent.. it's quite easy.
I'm still slightly confused with the setup. If I understand correctly (notwithstanding the order):
1) Docker installed on a separate external drive
2) Portainer plus all containers on another drive (i.e. /config files) - which is backed up onto another external drive, in case the first drive goes down
3) Symlinks to make it easier to navigate and get No. 2 working irrespective of their UUIDs
sorry to bump this thread but I'm testing Heindall on my pi unit. How does one get the autologin details so that for example it will automatically log in to OMV once the OMV icon is selected?
Following the nginx errors I had last week, which was tracked down to a faulty hard drive, I did a new install last week on a new USB drive.
Its been working fine all week but today I was presented with over 80 nginx error/fail emails.
I've run all of the PC tests through the BIOS which passed.
On the bootup - I noticed this error, not sure if its relat
I also noticed these outputs:
root@OMV:~# dmesg | grep error
[ 9.009450] EXT4-fs (sdg1): re-mounted. Opts: errors=remount-ro
[ 10.813203] platform regulatory.0: Direct firmware load for regulatory.db fai led with error -2
root@OMV:~# dmesg | grep fail
[ 10.813106] platform regulatory.0: firmware: failed to load regulatory.db (-2)
[ 10.813203] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 10.813204] cfg80211: failed to load regulatory.db
root@OMV:~#
Can anyone shed any light why I keep getting these nginx issues (not sure what nginx is) ?