Closed nicolasshu closed 2 years ago
Sorry for being late at pushing the last updates. It should be done now on both Github and Dockerhub.
Nah, you're perfect! Thank you!
It looks like the upgrade has a mismatch on the PDF viewer.
When I look at a locally installed I, Librarian, I can use their PDF viewer as this:
But when I use the Docker one, it looks like this:
Do you think this is because of a lib package?
I also use the 5.9.2 Docker image since yesterday, but I did not encounter this issue. Could you check in the administrator/Software Details
if every dependencies have been installed properly?
Here is my example:
So I was looking into it further. When I went to inspect the site loading, as it loaded each page, it failed to run the imagecreatefromjpeg()
used in PHP 7.4.21.
Call to undefined function Librarian\Media\imagecreatefromjpeg().
As I looked further, it looked as one needed to now configure the gd
extension on PHP to use the tags --with-freetype
and --with-jpeg
. So I went into the container using docker exec
and ran the commands below based on this
docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include
docker-php-ext-install gd
So I think that you might need to add
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include
I'll create a pull request and please double check me
It looks like it works now
Sorry, I only now just saw your previous comment. I spun up a new container just to see what would happen if I started fresh, and this is the dependencies page:
However, when I went to see if it could load a PDF using its viewer, I saw this:
where if I went to inspect it, I would see this problem:
Hi! Could I make a request to update the version from 5.8.0 to 5.9.2?
Thank you so much!