linuxserver / docker-raneto

GNU General Public License v3.0
17 stars 4 forks source link

[BUG] Can create categories but can't edit or save any pages with the web editor #25

Closed TG-March closed 1 week ago

TG-March commented 3 months ago

Is there an existing issue for this?

Current Behavior

I use a bunch of other linuxserver containers running under various users on my server.

I've set the UID/GID environemntal variables to the correct user.

The container runs without spitting out any errors. I can create categories (folders) no problem after logging in to the web editor.

Whenever I edit a page I get the following {"status":1,"message":{"errno":-21,"code":"EISDIR","syscall":"open","path":"/config/content/"}} from rn-edit when I look in the inspector.

I have chmod 777'd the directory so I don't think it's a permissions issue, especially as it can create folders. There are no errors in the log.

Pages I create as files are displayed properly.

If I try to add a page I get {"status":1,"message":{"errno":-2,"code":"ENOENT","syscall":"open","path":"/config/content/+/test.md"}} from rn-add-page, again nothing in the log.

Is your default config out of date? The path sections at the start look different to the raneto github config.default.js.

Expected Behavior

No response

Steps To Reproduce

  1. Login to editor interface.
  2. Try to create or edit page.

Environment

- OS: Debian
- How docker service was installed: your docker-compose template

CPU architecture

x86-64

Docker creation

services:
  raneto:
    image: lscr.io/linuxserver/raneto:latest
    container_name: raneto
    environment:
      - PUID=1009
      - PGID=1009
      - TZ=Europe/London
    volumes:
      - /home/redacted_user/appdata/raneto/data:/config
    restart: unless-stopped
    networks:
      - redacted

networks:
  redacted:
    external: true

Container logs

No relevant logs:

[0mPOST /rn-edit 200 4.836 ms - 95
POST /rn-edit 200 2.977 ms - 95
 POST /rn-add-page 200 3.021 ms - 103
 POST /rn-add-page 200 2.895 ms - 105
github-actions[bot] commented 3 months ago

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

LinuxServer-CI commented 2 months ago

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.