Giter VIP home page Giter VIP logo

Comments (6)

nmaillat avatar nmaillat commented on June 9, 2024

Hello,
In what context are you "docker" and "docker-compose"? or installation on a machine (vm or baremetal)?
what do you mean by "Phraseanet Production do not show any asset"

Do you see results in "Production" without the thumbnails or do you not see any results?

Some check to do :
Check that the worker process is started
To launch it from the root of the installation with same account who launch the NGINX process
bin/console worker: execute -m 3

-m is the number of worker

check also bin/console worker: execute --help

in Docker context check if the worker containers is running and check the container logs.

from phraseanet.

LelouBil avatar LelouBil commented on June 9, 2024

Hi, I am having the same issue, I installed Phraseanet 4.1.5 using docker-compose and the images on docker hub.

I then set it up using a MariaDB database that is not in a container, but left other data stores as containers.

I also used the “worker” profile to have one container per worker.

When I upload an image via the upload panel, everything goes without errors, but it doesn't appear on the main search page, on a fresh installation.

Maybe I missed some option ?

from phraseanet.

LelouBil avatar LelouBil commented on June 9, 2024

I got some more info, upon restarting everything with docker-compose down and docker-compose up -d, the workers were not registered by Phraseanet.
I found that every single worker container was stuck in this chown call :

&& chown -R app:app "${APP_DIR}/tmp"

It was stuck because $APP_DIR was empty.

I don't know why this happened, because it didn't happen the first time I launched them.
More mysteriously, I did not find a single reference in this repository to the “APP_DIR” environment variable, so I am not sure where it should have been set.

from phraseanet.

LelouBil avatar LelouBil commented on June 9, 2024

Also, using the “queues” tab of the “worker manager” part of the admin panel upon uploading an image, I can see the different workers getting messages sent to them and consuming them.
However, at the end I have one message in the “validationReminder_loop” queue but 0 workers for it.

from phraseanet.

LelouBil avatar LelouBil commented on June 9, 2024

Okay I think I figured it out, when searching it tries to do the request via http, however I have a reverse proxy that adds SSL so the URL of the application starts with https.

The script still does the request with http, which gets blocked by the browser.
How can I fix this ?

from phraseanet.

LelouBil avatar LelouBil commented on June 9, 2024

For now I fixed it by replacing all the getBaseUriForPath() calls in templates with my specific url

from phraseanet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.