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

[BUG] Images newer than 2024-02-06a-ls223 stopped working for me #77

Closed
1 task done
apenngrace opened this issue Aug 2, 2024 · 2 comments
Closed
1 task done

Comments

@apenngrace
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If I install a version of the container newer than 2024-02-06a-ls223 (such as 2024-02-06a-ls224 and also the most recent 2024-02-06a-ls230), then I get an error message when I try to access my wiki. The error message says:

DokuWiki Setup Error

The datadir ('pages') at /app/www/public/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](http://192.168.1.114:88/install.php)?

Expected Behavior

Rather than an error, I expect the dokuwiki home page to appear (as it currently does if I use version 2024-02-06a-ls223.

Steps To Reproduce

In my case, I could reproduce both a working and non-working dokuwiki installation. If I use version 2024-02-06a-ls223 it still works. If I use version 2024-02-06a-ls224 it no longer works.

Environment

- OS: Debian 12 (bookworm)
- How docker service was installed:

I originally installed using the command line with docker compose, and I used the recommended docker compose file that is shown on the github page.  I have a local folder on the host system that is mapped to the `/config` folder in the container.  Now I'm using portainer.

I have separate data folders for my current working dokuwiki page (using version `2024-02-06a-ls223`), and the others that I am testing with.  For example, the host folder for the working version is `/dokuwiki/config` mapped to `/config` in the container.  And versions that I'm testing with are mapped to `/dokuwiki-test/config`.

CPU architecture

x86-64

Docker creation

I'm using portainer, but it is based off of this.
-----------------------------------

services:
  dokuwiki:
    image: lscr.io/linuxserver/dokuwiki:latest
    container_name: dokuwiki
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /home/andrew/HD500GB/docker_volumes/dokuwiki/config:/config
    ports:
      - 80:80
      - 443:443 #optional
    restart: unless-stopped

Container logs

[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 2024-02-06a-ls230
Build-date: 2024-07-26T15:43:35+00:00
───────────────────────────────────────
    
using keys found in /config/keys
Existing install found, deleting install.php.
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│  old date  │  new date  │ path                                                                   │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│ 2023-12-25 │ 2024-05-31 │ /config/nginx/site-confs/default.conf                                  │
│ 2023-04-13 │ 2024-05-27 │ /config/nginx/nginx.conf                                               │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
[custom-init] No custom files found, skipping...
[ls.io-init] done.
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /config/nginx/site-confs/default.conf:7
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /config/nginx/site-confs/default.conf:8
Copy link

github-actions bot commented Aug 2, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@apenngrace
Copy link
Author

I tried again and I ran chown -R on the config directory on the host. That seemed to fix it for me. I'm able to use the latest version as of today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant