I just created an issue to add a way to test that we are not breaking the doc in the future: https://git.lavasoftware.org/lava/meta-lava/issues/7

Le mar. 7 mai 2019 à 11:03, Remi Duraffort <remi.duraffort@linaro.org> a écrit :
Hello,


The 2019.04 images are now built using the slim debian variant (see https://git.lavasoftware.org/lava/pkg/docker/commit/137535357f85e8a2784c1631916a25b1d0018049).
But in debian slim variant, dpkg is configured (by /etc/dpkg/dpkg.cfg.d/docker) to exclude /usr/share/doc/* (except copyright files).

So we are now patching this file on the fly to allow /usr/share/doc/lava-server-doc/html/v2.

Once the patch is merged and the base image rebuilt, I will rebuild the lava-server 2019.04 docker images and repush.


Thanks for reporting.

Le mar. 7 mai 2019 à 08:26, Remi Duraffort <remi.duraffort@linaro.org> a écrit :
Hello Dan,

thanks for reporting this issue.

After a short investigation:
* in the lava-server docker container, /usr/share/doc/lava-server-doc/html/v2 is empty while it should contain the documentation (docker run --rm -it lavasoftware/lava-server:2019.04 ls /usr/share/doc/lava-server-doc/html/v2)
* the lava-server-doc debian package is providing the documentation (as it should), see https://staging.validation.linaro.org/static/docs/v2/

So something in the docker build process.

I'm investigating.


Cheers

Le lun. 6 mai 2019 à 20:07, Dan Rue <dan.rue@linaro.org> a écrit :
Hi!

I'm seeing the following issue with lavasoftware/lava-server:2019.04:

http://localhost/static/docs/v2/ gives "Forbidden". Apache log shows the
following:

[Mon May 06 17:57:42.206713 2019] [autoindex:error] [pid 766:tid 140404225701632] [client 172.18.0.1:46780] AH01276: Cannot serve directory /usr/share/lava-server/static/docs/v2/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: http://localhost/

The easiest way to reproduce is to run:

    $ docker run --rm -p 80:80 -it lavasoftware/lava-server:2019.04

And load http://localhost/static/docs/v2/

Change 2019.04 to 2019.03 and it works fine.

I didn't see anything about this mentioned in the release announcement.
I guess the apache config needs some update?

Thanks!
Dan

_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users


--
Rémi Duraffort
LAVA Team, Linaro


--
Rémi Duraffort
LAVA Team, Linaro


--
Rémi Duraffort
LAVA Team, Linaro