splitbrain / dokuwiki-plugin-dw2pdf

A fork of Luigi Micco's PDF export plugin for DokuWiki
http://www.dokuwiki.org/plugin:dw2pdf
55 stars 68 forks source link

bug (semi-solved): PDF creation hangs #483

Closed bomhard closed 1 year ago

bomhard commented 1 year ago

Debian 11, actual DokuWiki and plugin. Some time ago dw2pdf stopped working. The ccalling URL was displayed and an error was written to apache2 error.log stating that 'dokuwiki\cache\cache\ doesn't exist.

commenting out

dokuwiki\Cache\Cache;

in plugins/dw2pdf/action.php solves the issue, but I am not sure if that is a solution :)

Klap-in commented 1 year ago

No idea yet. Which DokuWiki version are you using?

bomhard commented 1 year ago

We are running actual Debian Bullseye (11.6) and Dokuwiki 0.0.20180422.a-2.1 which is actual in Debian stable, not from DokuWiki pov - sorry.

DokuWiki says it is release 2018-04-22a "Greebo"

There is a newer version from backports I might install: 0.0.20200729-0.1~bpo11+1

This very likely is still outdated, but we have reasons to stay with Debian Stable. I just found out how to solve that probem and wanted to share. If this is rather a Debian problem than DokuWiki's I am sorry and fine to close the issue.

Klap-in commented 1 year ago

Due to the varying maintenance effort on these DokuWiki packages combined with an atypical folder structure, which results unfortunately in quite some confusion for some users, we recommend indeed to install DokuWiki directly and not from the Debian repositories. (That is also what we do ourselves at dokuwiki.org.)

If you use these older versions of DokuWiki, please realize that regularly these are not supported by recent updated plugins anymore. In these cases, please refer back to an older version of a plugin.

bomhard commented 1 year ago

Technically I agree but installing from Deebian Repo means it is accepted by BSI as part of the distribution. No additional validation and testing in GDPR sensitive environments. The Debian specific folder structure is no problem for me.

Dw2pdf supports Greebo so there should not be any problem.

Klap-in commented 1 year ago

Closing as I understand it now as mismatch between versions.