Posts by tannaroo

    Absolutely worth it.. Now all of my "important email" goes through my new email (banking, insurance, etc.).. Forum emails, anything I'm gonna get put on a mailing list, spammed, etc.. goes to my gmail address. I have my email set up through Nextcloud as well and can send/receive email from there.. but I mostly do that for contact and calendar syncing, etc. and just use my mail's web client. Obviously my cloud storage is handled there to.

    :thumbup: That is going on the list for a future project.

    I hear you loud and clear on Windows but the day I can finally say bye bye to WIndows, it will be a happy day. That journey has started.


    On nextcloud, I've tried to read the forums/ nextcloud website. My setup is data folders/music/videos all being serviced by OMV server with a Windows client (for work). The underlying files are being backed up by a combination of urbackup/resilio acting as both as file sync between different clients and backups.


    Just wondering what the benefits of nextcloud would be in my situation as I haven't fully understood its capabilities?


    I did try to install it using the how to guide but couldn't get it to work.

    I've never messed w/ urbackup. Syncthing.. like I said it's pretty straightforward once you get it going.


    Also, for what it's worth... Syncthing also supports versioned backups, similar to urbackup.

    I use urbackup to create file backups as well as image backups of my Windows PC not that I have ever tried to restore Windows 10 image.


    I'm curious to know if syncthing can also do image backups of my Windows PC?


    Looking at their website it looks as though it only does cross-platform files/folders.

    I had to do a fresh OMV install and wanted to test my backup/restore protocols.


    I followed this guide: [Backup Plugin] create a single img backup image for use with win32 disk imager / etcher, etc.


    Basically I made a ddfull backup, flashed this using usbimager to a new formatted SD card (which was successful). Shutdown my OMV server, took out the existing SD Card, inserted new backup image SD card, started the system.


    But I got an error saying error: invalid arch-independent ELF magic and then entering into rescue mode?

    THese are no longer mount points, but ordinary directories. So some old dockers containers / scripts might have been writing to it, so check the contents before removing.


    Especially the docker containers have the old mount points in the (internal) config which you can check with docker inspect <container_name>

    I 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.

    ok this is interesting. I was aware that OMV had changed mountpoints by label to by uuid. My old installation / stacks were all mapped by label. But in the current fresh installation, I changed all of my stacks/mapping to by uuid. So I should remove all of those mountpoints by label, as they are superseded/duplicated by the uuid. I may be wrong but I feel I need to remove all of the old mountpoints ?

    /srv/dev-disk-by-uuid..... and /srv/dev-disk-by-label-Chimp are the same external drive.


    By uuid - there is Docker, plex, portainer

    Code
    root@OMV:/srv/dev-disk-by-uuid-fc008cb9-1532-4231-a49e-88721f97ba63/AppData2# ls
    Docker  Library  plex  portainer

    By label - there just plex (no docker/portainer). Docker used to point here by label on the old installation which crashed over the weekend. So on the new install, I changed it by uuid (per above).


    Code
    root@OMV:/srv/dev-disk-by-label-Chimp/AppData2# ls
    plex

    But this would suggest there are somehow 2 volumes - so can I find out which one is which and just delete the wrong one?


    Code
    root@OMV:~# docker volume ls
    DRIVER    VOLUME NAME
    local     96ddc8e2e81465c5284bbe0283cd0b4031c8a1ee0d4adc4f1723381b2c598373
    local     b4735ee123d12add7cf838f58d6daff597fa3351822ea780e94141c1de72ec93

    If you log in to portainer (assuming you can again)... can you see two containers named portainer? Even if one is stopped or not running.. there should only be 1.

    I can with : systemctl restart docker


    I've logged in but there is only 1 portainer running. None stopped. No unused images.

    Please do the docker inspect and post the output so we can see, what kind of beast this thing named portainer is.

    So you have now two containers names portainer which can not run simultaniously.

    I'm confused here - I only have one portainer installed. The other portainer command did not install.

    Happy to setup up a new portainer per your instructions and report back

    Code
    root@OMV:/srv/dev-disk-by-uuid-fc008cb9-1532-4231-a49e-88721f97ba63/AppData2/portainer# ls
    bin    compose             docker_config  portainer.key  tls
    certs  docker-compose.yml  portainer.db   portainer.pub

    Are you sure they are actually working? Try accessing a container (say plex, or whatever).. through it's webUI, not just by checking the log... If it opens, try opening a movie file or music or something, to make sure it opens. This sounds suspiciously like the old "racing" problem.. but I thought it had been resolved.

    Tried a couple of movies from my TV - plex app and it works. Tried playing songs from squeezer app and it also works.

    But no portainer UI.

    Are you using a pi or some USB drive for that appdata folder

    No pi but am using USB drive for Docker as my understanding its better than a spin drive (as there are lots reads/writes to Docker). I know SSD is even better. That will be my next project.


    EDIT: My mistake my old setup was using USB drive but now Docker/Portainer is on an external drive.

    when I initially setup Portainer this way, I did use -d flag.

    The containers are definitely working just not portainer interface unless I use systemctl restart docker in which case portainer starts up.


    Setting up portainer is causing an error because of the existing portainer and I'm reluctant to remove it and start a new portainer as I just got it working yesterday but I attach the logs - is there another way?


    But I can confirm after another reboot, portainer interface is exited but the containers are working.

    Rebooted, so the containers are working but portainer is not (i.e cant access the interface/omv says it exited).


    Code
    root@OMV:~# docker ps -a
    CONTAINER ID   IMAGE                              COMMAND                  CREATED        STATUS                      PORTS                                                                                            NAMES
    9a85594e571a   dlandon/logitechmediaserver        "/sbin/my_init"          47 hours ago   Up 3 minutes                                                                                                                 lms
    f5770fc6cd24   plexinc/pms-docker                 "/init"                  47 hours ago   Up 3 minutes (healthy)                                                                                                       plex
    13e74f570260   lscr.io/linuxserver/resilio-sync   "/init"                  47 hours ago   Up 3 minutes                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…"   47 hours ago   Up 3 minutes                                                                                                                 urbackup
    75ba5e06fcd2   a1c22f3d250f                       "/portainer"             2 months ago   Exited (128) 29 hours ago   0.0.0.0:8000->8000/tcp, :::8000->8000/tcp, 9443/tcp, 0.0.0.0:9200->9000/tcp, :::9200->9000/tcp   portainer
    root@OMV:~#

    ok that worked - thanks


    my appdata2 folder also contains my docker storage path. so both docker and portainer are in the same folder. so this is likely to be a recurring issue as I guess portainer is conflicting before docker is running?

    I guess the obvious question is the volume where you have portainer_data mapped, mounted.

    It is mounted and mapped.


    My docker-compose file /data is mapped as follows: - /srv/dev-disk-by-uuid-fc008cb9-1532-4231-a49e-88721f97ba63/AppData2/portainer:/data

    After my fresh system did a reboot last night, I just noticed that portainer was not started.


    I tried to docker start portainer but all I get is:


    Code
    root@OMV:/srv/dev-disk-by-uuid-fc008cb9-1532-4231-a49e-88721f97ba63/AppData2/portainer# sudo docker start portainer
    Error response from daemon: get portainer_data: no such volume
    Error: failed to start containers: portainer

    but i'm just curious/trying to understand why the instructions were for installing portainer via CLI/docker-compose.yml rather than through the dropdown menu in OMV webUI

    I still dont understand why the portainer and docker path need to be in the same drive/location after a fresh install whereas my existing setup (pre-fresh install) they were in different locations and it was working fine.

    I think, yesterday you missed to change the docker root path when installing docker or had a type, That was the reason your stacks were done.


    Good you got it resolved.

    Well thanks to you for sticking with me and pointing me in a direction


    On a side note after the new reinstall, I cant access files through SMB/CIFS. Keep getting access denied. Is there a quick fix/check through CLI?


    I checked everything through the webUI and disabled/renabled SMB/CIFS. Also checked the permissions on shared folders (guests allowed).