Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

browser PDF generation stops to work with debian 11 chromium version 111 #64

Closed
mrflos opened this issue Mar 28, 2023 · 3 comments
Closed
Assignees
Labels

Comments

@mrflos
Copy link
Collaborator

mrflos commented Mar 28, 2023

I suppose it's a regression in chromium but after upgrading chromium package on debian 11 (to version 111), it stopped to work for the pdf generation.

Workaround :

apt remove chromium chromium-common # remove latest version
apt install chromium=108.0.5359.94-1~deb11u1 chromium-common=108.0.5359.94-1~deb11u1 # install working version
apt-mark hold chromium # block updates for this package
apt-mark hold chromium-common # block updates for this package

This is probably not the best way to solve this problem, but it can probably help

@mrflos mrflos added the bug label Mar 28, 2023
@mrflos mrflos assigned J9rem and unassigned J9rem Mar 28, 2023
@J9rem
Copy link
Contributor

J9rem commented Mar 31, 2023

I have just updated composer packages.
Because of restriction on php 7.3, chrome-php/chrome keeps to revision v1.7.2.
But, the bug with chrome 111 is solved by the revision v1.8.1 of chrome-php/chrome : see notes : https://github.com/chrome-php/chrome/releases/tag/v1.8.1

So I supposed that the latest revision of yeswiki-publication v1.2.8, will continue not to work with chromium 111.

@J9rem J9rem self-assigned this Mar 31, 2023
@thom4parisot
Copy link
Member

It sounds like adding a Chromium startup flag (--remote-allow-origins=*) could fix this issue, as found in chrome-php/chrome@a6faa97.

@J9rem
Copy link
Contributor

J9rem commented Mar 31, 2023

Thanks @thom4parisot for the tip.
I had this customFlag in config.yaml
I hope it will work with chromium 111

@J9rem J9rem closed this as completed Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants