Hi Gábor,

The "htdocs" warning can be safely ignored. That's just a deprecation
warning that we issue for older extensions. Current Power Pack releases
still bundle a legacy way of shipping static media files for wide Review
Board compatibilty, hence that warning. It won't actually impact anything
on the system.

The important thing to note when using Docker is that Review Board has two
halves:

1. The backend server, which serves up the Review Board API and URLs, and
is meant to be accessed directly only by the frontend server.
2. The frontend server, which serves up CSS, JavaScript, and images, and
sends all other requests to the backend server.

In the example Docker configuration, that port 8080 is for Review Board's
backend server, so it's expected that you won't get the media files. You'll
need to access the frontend server instead. In our example setup, that's
Nginx, port 80.

Christian


On Fri, Feb 17, 2023 at 11:50 AM Gábor Lipták <glip...@gmail.com> wrote:

> I ran
> https://github.com/reviewboard/reviewboard/tree/release-5.0.2/contrib/docker/examples
> locally (configuring DOMAIN=reviews.example.com to DOMAIN=localhost
>
> http://localhost:8080/ displays a screen without images/CSS/JS
>
> A possibly related error in the logs
>
> ERROR:djblets.extensions.manager:The Review Board Power Pack extension
> uses the deprecated "htdocs" directory for static files. This is no longer
> supported. It must be updated to use a "static" directory instead.
>
> Any folder locations to be updated in examples provided?
>
> Same happened running release-4.0.10
>
> Please comment
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/3dd8f59b-8103-457e-90d4-fc476f2e264an%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/3dd8f59b-8103-457e-90d4-fc476f2e264an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7Vndkum7gnp1DfdKg4VQjW8B1x1bu-AVH%3DboanX5__nP-b5w%40mail.gmail.com.

Reply via email to