Unable to get Photoprism working

  • I encountered this problem too, but it was an error after upgrading the PhotoprisM version.


    I have no clue at present. Similar problems have been encountered many times in OMV6, and it is also difficult to obtain a solution. I temporarily give up solving it and consider using other tools to replace it.


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






  • Are you running arm64 version of RaspiOS?

    If not, then it won't work.


  • sudo podman ps -a

    sudo podman logs <name_of_the_photo_prism_container_from_above_command>

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • the docker hub version of photoprism runs just fine on this platform under docker, seems like it is podman control that is giving me grief

    Even though docker version runs on armhf, it is still advised to use it on a 64Bit version.

    Raspberry Pi - PhotoPrism

    And this might not be the case with podman, hence the marking on the GUI that it runs on amd64 and arm64, NOT armhf.


    So, if it works for you on docker, stick to it for the time beeing (those plugins are still beeing fine-tuned) or change your OS to arm64.

  • Yes, according to the uname -a, you're already running arm64.

    But, as I said, the plugins are still beeing brushed and podman is not the same as docker.


    Maybe try to clean the plugin, purge it and reinstall.

  • 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

  • Will be fixed in next version. In the meanwhile simply create the directory ...../proxy/data mentioned in the error message.

    Thank you. Created the /proxy/data manually and was able to pass this issue now.

    Now when I try to bring up the page with url 192.168.2.18:2342, I get page not found. How can I fix this?

  • Use different shared folder for the appdata folder. This will redeploy it from scratch. I think due the previous problems the database is ot of sync.


    BTW, the new plugin package has been release, so the directory will be created automatically.

    As suggested.

    1. Did the latest update for plugin

    2. Also, did the redeploy from scratch to new shared folder and It did create the required folder and db.

    3. Now from the plugin, when I launch the GUI, i get "ERR_CONNECTION_TIMED_OUT".


    Plugin page says this "Please note that the first deployment of the application can take a long time because the container images have to be downloaded first."


    So, is something I am missing here or does this take a while to start working ?


    This is what I see from podman ps --all command

    Code
    root@omv-nas:~# podman ps --all
    CONTAINER ID  IMAGE                                   COMMAND               CREATED         STATUS             PORTS                   NAMES
    0d3312f0a909  k8s.gcr.io/pause:3.2                                          21 minutes ago  Up 21 minutes ago  0.0.0.0:2342-&gt;2342/tcp  e04c1864c2fa-infra
    5527af34576b  docker.io/mariadb:latest                mariadbd              21 minutes ago  Up 21 minutes ago  0.0.0.0:2342-&gt;2342/tcp  photoprism-db
    2a577011b0d1  docker.io/library/caddy:latest          caddy run --confi...  21 minutes ago  Up 21 minutes ago  0.0.0.0:2342-&gt;2342/tcp  photoprism-proxy
    c758e40c85fe  docker.io/photoprism/photoprism:latest  /opt/photoprism/b...  21 minutes ago  Up 21 minutes ago  0.0.0.0:2342-&gt;2342/tcp  photoprism-app



  • Use different shared folder for the appdata folder. This will redeploy it from scratch. I think due the previous problems the database is ot of sync.


    BTW, the new plugin package has been release, so the directory will be created automatically.

    Looks like reboot did the trick. I am able to bring up the photoprism page. Thanks for your help. :thumbup:

  • tsp001

    Hat das Label gelöst hinzugefügt.
  • I don't want to start photoprism

  • write /var/tmp/storage372395167/4: no space left on device Error: Error writing blob: error storing blob to file "/var/tmp/storage372395167/4": write /var/tmp/storage372395167/4: no space left on device

    How much RAM you have?

    What hardware you have?

    • Offizieller Beitrag

    Not enough ram or processing power on an RPi3 for photoprism.


    PhotoPrism - Setup
    Official Documentation
    docs.photoprism.app

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!