Closed GAS85 closed 1 year ago
This is a unsupported deployment, can you please mount the whole /config mount and try to replicate?
I moved all data under dokuwiki folder and update config:
dokuwiki:
image: lscr.io/linuxserver/dokuwiki:latest
container_name: dokuwiki
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- ${WORKINGDIR}/docker/dokuwiki/:/config/
# - ${WORKINGDIR}/docker/dokuwiki/log:/config/log/
ports:
- 9014:80
restart: unless-stopped
Now I have multiple additional folders, but this has no effect on error.
Meanwhile I solve it by removing move
plug-in manually as per https://forum.dokuwiki.org/d/19011-how-to-manually-uninstall-a-plugin
There is no need to update configuration and have it as was suggested here. But root cause why plugin suddenly stop working with newer image is unclear to me.
I encountered this with my container as well. In my cases though the extension was nspages, which I don't remember installing but admittedly may have a while ago. Anyway, in my case I removed the original directory for it and grabbed the latest version, then placed it in my config/dokuwiki/lib/plugins directory. This fixed it for me.
This is happening because the latest release from linuxserver is using php8. Many of the core plugins are not php8 compatible, so this distribution is effectively broken. Those of us using things like authentication to Active Directory (again, a core plugin from Dokuwiki) are out of luck and have to revert to an older version.
Can we get a release again using PHP 7.4 please?
Php7 is being left in the dust. Even php 8.0 is old news as php 8.1 is now the stable.
The plugin authors should update their plugins. Going back to old versions is not a sustainable solution.
Move to a different container for Dokuwiki or a LAMP stack. Got it. :)
I ran into this issue and wanted to share how I fixed it. I'm just the server admin, so I'm not super familiar with Doku itself.
Doku version 2022-07-31a “Igor” seems to be PHP8 compatible. https://www.dokuwiki.org/changes
I ran into the OPs issue, but in viewing the logs found the issue was a plugin. Logs are stored in /app/www/public/data/log/error/ . In my case, it was the "gallery" plugin, but I'd imagine your issue could be any of them. I manually updated the offending plugin by:
After that, I was able to login. Through Googlefu also found you can goto https://yourwiki/?do=admin&page=extension to see other plugins that need updating.
Hope this at least puts you on the right path
Can be plugins update triggered by Docker start? Plugin had an PHP 8 support in newer version, it was just not updated at the time of container update.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I ran into this issue and wanted to share how I fixed it. I'm just the server admin, so I'm not super familiar with Doku itself.
Doku version 2022-07-31a “Igor” seems to be PHP8 compatible. https://www.dokuwiki.org/changes
I ran into the OPs issue, but in viewing the logs found the issue was a plugin. Logs are stored in /app/www/public/data/log/error/ . In my case, it was the "gallery" plugin, but I'd imagine your issue could be any of them. I manually updated the offending plugin by:
1. Navigating to /config/dokuwiki/lib/plugins 2. Moving the offending plugin directory to /tmp for safe keeping ("gallery" in my case) 3. Downloaded the updated gallery plugin 4. Unzipped into the /config/dokuwiki/lib/plugins folder and named the folder "gallery"
After that, I was able to login. Through Googlefu also found you can goto https://yourwiki/?do=admin&page=extension to see other plugins that need updating.
Hope this at least puts you on the right path
Thank you so much!
In my case when trying to reach dokuwiki it said the nspages
plugin was the problem.
So I just wget
https://github.com/gturri/nspages/zipball/master and unzipped it, replaced the old nspages
folder in /appdata/config/dokuwiki/lib/plugins
and refreshed the page and it worked like a charm! :v:
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is locked due to inactivity
Expected Behavior
Docker pull with latest tag should not break installation
Current Behavior
Dokuwiki shows an error with latest image:
Not sure how to disable plugin when it is not starting. Check docker logs:
Rollback to previous image causes simple
File not found
error.Steps to Reproduce
Environment
OS: Ubuntu 20.04 CPU architecture: x64 **How docker service was installed from the official docker repo
Command used to create docker container (run/create/compose/screenshot)
Docker logs