containers icon indicating copy to clipboard operation
containers copied to clipboard

dokuwiki: fresh container unable to start

Open marafa opened this issue 1 year ago • 5 comments

Name and Version

bitnami/dokuwiki: 2022.7.31

What steps will reproduce the bug?

mkdir -p /opt/dw/ && chown -R 1001 /opt/dw && chgrp -R 1001 /opt/dw

podman run -d -p 80:8080 -p 443:8443 --name dokuwiki --restart always -e DOKUWIKI_PASSWORD=*** -e DOKUWIKI_USERNAME=admin -e DOKUWIKI_WIKI_NAME=Dokuwiki --volume /opt/dw:/bitnami/dokuwiki bitnami/dokuwiki:latest

What is the expected behavior?

it starts and a DokuWiki page shows instead of the error that says

What do you see instead?

DokuWiki Setup Error

The datadir ('pages') at ./data/pages is not found, isn't accessible or writable. You should check your config and permission settings. Or maybe you want to run the installer?

Additional information

part of troubleshooting #3041

marafa avatar Aug 14 '22 20:08 marafa

dokuwiki 20:27:29.06 
dokuwiki 20:27:29.07 Welcome to the Bitnami dokuwiki container
dokuwiki 20:27:29.07 Subscribe to project updates by watching https://github.com/bitnami/containers
dokuwiki 20:27:29.07 Submit issues and feature requests at https://github.com/bitnami/containers/issues
dokuwiki 20:27:29.07 
dokuwiki 20:27:29.07 INFO  ==> ** Starting DokuWiki setup **
realpath: /bitnami/apache/conf: No such file or directory
dokuwiki 20:27:29.09 INFO  ==> Configuring Apache ServerTokens directive
dokuwiki 20:27:29.11 INFO  ==> Configuring PHP options
dokuwiki 20:27:29.11 INFO  ==> Setting PHP expose_php option
dokuwiki 20:27:29.18 INFO  ==> Configuring file permissions for DokuWiki
dokuwiki 20:27:29.19 INFO  ==> Starting apache in background
[Sun Aug 14 20:27:29.277259 2022] [ssl:warn] [pid 64] AH01909: www.example.com:8443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 14 20:27:29.277909 2022] [ssl:warn] [pid 64] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
dokuwiki 20:27:34.31 INFO  ==> apache started
dokuwiki 20:27:34.53 INFO  ==> Stopping apache
dokuwiki 20:27:35.55 INFO  ==> apache stopped
dokuwiki 20:27:35.56 INFO  ==> Persisting DokuWiki installation
cp: cannot create directory '/bitnami/dokuwiki/data': Permission denied

marafa avatar Aug 14 '22 20:08 marafa

Please, note that the Bitnami team is not actively monitoring GitHub Issues for this project. This issue will stay open for 20 days to allow the community to contribute, after 15 days without activity the issue will be marked as stale, being closed after 5 days.

If you would like to contribute to this container image by fixing a bug or adding a new feature, feel free to create a PR, the Bitnami team will be happy to review it and provide feedback.

carrodher avatar Aug 15 '22 07:08 carrodher

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] avatar Aug 31 '22 01:08 github-actions[bot]

same issue. fallback to version 20200729 no problem.

WindoC avatar Sep 05 '22 07:09 WindoC

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] avatar Sep 21 '22 01:09 github-actions[bot]

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

github-actions[bot] avatar Sep 27 '22 01:09 github-actions[bot]