Posts by aldobranti

    My use case for AFP is an ancient 2008 Mac mini which is the last place I can run my hi performance flat bed scanner ( needs 10.6.8)

    Code
    docker run -d --rm --network host --cap-add=NET_ADMIN --volume /srv/dev-disk-by-label-SomeDisk/aDirectory:/mnt/afpshare --volume "/var/run/dbus:/var/run/dbus" --env AFP_USER=xxxx --env AFP_PASS=xxxx --name netatalk netatalk/netatalk3:latest
      

    Upgrading the Mac would be the last thing on my mind, but I find that I can get AFP running here with Docker on the OMV hardware -- as you can see I get a recent NetaTalk image

    Code
    docker run -d --rm --network host --cap-add=NET_ADMIN --volume /srv/dev-disk-by-label-SomeDisk/aDirectory:/mnt/afpshare --volume "/var/run/dbus:/var/run/dbus" --env AFP_USER=xxxx --env AFP_PASS=xxxx --name netatalk netatalk/netatalk3:latest

    Thanks Teschbert for picking up


    I can see Services>SMS>Settings

    If I leave it at SMB2 as found in the distro then as I say in OP the old Macintosh does not even find the server as a SMB server

    Only by setting it to SMB1 ( highly deprecated) can I get the Mac to see the OMV host

    I want to allow a very old Mac ( NacOS 10.6.8 ) to access a share on my OMV

    I have to set protocol to SMB1 for the Mac to "see" the server

    Then browsing the server from the Mac shows the share names and disk capacities but NO content


    I have NO problems accessing the shares and modifying content from more modern clients


    Any ideas ? anyone ? As I am running Debian 12 I cannot run netatalk with an option to use AFP



    Version 7.1.1-1 (Sandworm)

    Processor Raspberry Pi 5 Model B Rev 1.0

    Kernel Linux 6.6.28+rpt-rpi-2712


    Samba version 4.17.12-Debian

    PID Username Group Machine Protocol Version Encryption Signing

    ----------------------------------------------------------------------------------------------------------------------------------------

    49452 nobody nogroup 192.168.1.156 (ipv4:192.168.1.156:48582) SMB3_11 - -

    49531 nobody nogroup 192.168.1.156 (ipv4:192.168.1.156:60588) SMB3_11 - -

    49468 nobody nogroup localhost (ipv4:192.168.1.156:46868) SMB3_11 - -

    62079 nobody nogroup 192.168.1.45 (ipv4:192.168.1.45:49608) NT1 - -


    Service pid Machine Connected at Encryption Signing

    ---------------------------------------------------------------------------------------------

    Website 49531 192.168.1.156 Wed May 22 16:33:45 2024 BST - -

    IPC$ 49468 localhost Wed May 22 16:33:38 2024 BST - -

    imageWillsMac2 62079 192.168.1.45 Wed May 22 17:12:06 2024 BST - -

    imageWillsMac2 49452 192.168.1.156 Wed May 22 16:33:25 2024 BST - -

    Then I repeat setting autologout and it shows pending changes in 'cron' 'monit 'nginx'

    log reports

    output from "sudo omv-salt deploy run webgui"

    I'd like to check the logs but the container has disappeared by the time I get to it -- may be a way to hang on to it -- all I have to go on otherwise is the systemctl status. I'm not so good with podman or docker for that matter


    This is openmediavault-photoprism 6.0.1-3 on

    Release: 6.0.20-1
    OS is debian bullseye on RPi4b with 8Gb ram


    Photoprism will not stay alive


    # systemctl status pod-photoprism.service

    ● pod-photoprism.service - Podman pod-photoprism.service

    Loaded: loaded (/etc/systemd/system/pod-photoprism.service; enabled; vendor preset: enabled)

    Active: active (running) since Mon 2022-04-04 10:30:37 BST; 5s ago

    Process: 66166 ExecStartPre=/bin/rm -f /run/pod-photoprism.pid /run/pod-photoprism.pod-id (code=exited, status=0/SUCCESS)

    Process: 66167 ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfile /run/pod-photoprism.pid --pod-id-file /run/pod-photoprism>

    Process: 66198 ExecStart=/usr/bin/podman pod start --pod-id-file /run/pod-photoprism.pod-id (code=exited, status=0/SUCCESS)

    Main PID: 66305 (conmon)

    Tasks: 2 (limit: 8985)

    CPU: 768ms

    CGroup: /system.slice/pod-photoprism.service

    └─66305 /usr/bin/conmon --api-version 1 -c 918c4fc99ba15ee7e68a7dd66008d30e01359597a238019b50d9a90c327899ce -u 918c4fc99ba15ee>


    Apr 04 10:30:36 pi-vault systemd[1]: Starting Podman pod-photoprism.service...

    Apr 04 10:30:36 pi-vault podman[66167]: 2022-04-04 10:30:36.458569394 +0100 BST m=+0.233314132 container create 918c4fc99ba15ee7e68a7dd6600>

    Apr 04 10:30:36 pi-vault podman[66167]: 2022-04-04 10:30:36.468826406 +0100 BST m=+0.243571145 pod create c5bcd8e8d686c23611f7cc82a9eaf944c>

    Apr 04 10:30:36 pi-vault podman[66167]: c5bcd8e8d686c23611f7cc82a9eaf944c3f4453f8fa2799072bef1e601ec5f23

    Apr 04 10:30:37 pi-vault podman[66198]: 2022-04-04 10:30:37.066169857 +0100 BST m=+0.548978179 container init 918c4fc99ba15ee7e68a7dd66008d>

    Apr 04 10:30:37 pi-vault podman[66198]: 2022-04-04 10:30:37.093123517 +0100 BST m=+0.575931859 container start 918c4fc99ba15ee7e68a7dd66008>

    Apr 04 10:30:37 pi-vault podman[66198]: 2022-04-04 10:30:37.093861808 +0100 BST m=+0.576670149 pod start c5bcd8e8d686c23611f7cc82a9eaf944c3>

    Apr 04 10:30:37 pi-vault podman[66198]: c5bcd8e8d686c23611f7cc82a9eaf944c3f4453f8fa2799072bef1e601ec5f23

    Apr 04 10:30:37 pi-vault systemd[1]: Started Podman pod-photoprism.service.






    I was successfully running docker on this RPi until a dist-upgrade on the kernel, short of a fresh build pf OMV. I have run out of ideas


    OMV 5.5.19-1 --- built from Github

    Debian Buster 5.10.11-v7+

    RPI 3B 1Gb

    OMV extras 5.5.3 --- from installsh script

    no other plugins

    ----

    docker version "5:20.10.3~3-0~debian-buster"

    docker "installed and not running"

    ---- restart

    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; echo "Restarting docker ..." && systemctl restart docker.service ': Restarting docker ...


    journalctl -xe

    ::::::::::::

    -- Defined-By: systemd

    -- Support: https://www.debian.org/support

    --

    -- A start job for unit docker.service has finished with a failure.

    --

    -- The job identifier is 7768 and the job result is failed.

    Feb 23 09:47:17 openmediavault systemd[1]: docker.service: Service RestartSec=10s expired, scheduling restart.

    Feb 23 09:47:17 openmediavault systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.

    -- Subject: Automatic restarting of a unit has been scheduled

    -- Defined-By: systemd

    -- Support: https://www.debian.org/support

    --

    -- Automatic restarting of the unit docker.service has been scheduled, as the result for

    -- the configured Restart= setting for the unit.

    Feb 23 09:47:17 openmediavault systemd[1]: Stopped Docker Application Container Engine.

    -- Subject: A stop job for unit docker.service has finished

    -- Defined-By: systemd

    -- Support: https://www.debian.org/support

    --

    -- A stop job for unit docker.service has finished.

    --

    -- The job identifier is 7859 and the job result is done.

    Feb 23 09:47:17 openmediavault systemd[1]: docker.service: Start request repeated too quickly.

    Feb 23 09:47:17 openmediavault systemd[1]: docker.service: Failed with result 'exit-code'.

    -- Subject: Unit failed

    -- Defined-By: systemd

    -- Support: https://www.debian.org/support

    --

    -- The unit docker.service has entered the 'failed' state with result 'exit-code'.

    Feb 23 09:47:17 openmediavault systemd[1]: Failed to start Docker Application Container Engine.

    -- Subject: A start job for unit docker.service has failed

    -- Defined-By: systemd

    -- Support: https://www.debian.org/support

    --

    -- A start job for unit docker.service has finished with a failure.

    --

    -- The job identifier is 7859 and the job result is failed.


    systemctl status docker.service


    ● docker.service - Docker Application Container Engine

    Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)

    Active: failed (Result: exit-code) since Tue 2021-02-23 10:06:06 UTC; 22min ago

    Docs: https://docs.docker.com

    Process: 30561 ExecStart=/usr/bin/dockerd -H fd://* --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)

    Main PID: 30561 (code=exited, status=1/FAILURE)


    Feb 23 10:06:06 openmediavault systemd[1]: docker.service: Service RestartSec=10s expired, scheduling restart.

    Feb 23 10:06:06 openmediavault systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.

    Feb 23 10:06:06 openmediavault systemd[1]: Stopped Docker Application Container Engine.

    Feb 23 10:06:06 openmediavault systemd[1]: docker.service: Start request repeated too quickly.

    Feb 23 10:06:06 openmediavault systemd[1]: docker.service: Failed with result 'exit-code'.

    Feb 23 10:06:06 openmediavault systemd[1]: Failed to start Docker Application Container Engine.



    Feb 23 09:47:17 openmediavault systemd[1]: docker.socket: Failed with result 'service-start-limit-hit'.

    -- Subject: Unit failed

    -- Defined-By: systemd

    -- Support: https://www.debian.org/support

    --