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

panel not working #1

Open
KHBerlin opened this issue Jun 26, 2020 · 2 comments
Open

panel not working #1

KHBerlin opened this issue Jun 26, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@KHBerlin
Copy link

Great dockerfiles! I made a fresh install with current kirby. the pages works, but panel/ doesn't. There are several 404s, for assets as well.
I am also confused about .htaccess, which is not read by nginx. So I wonder how it can work at all? I also realized that the paths to kirby/ are not blocked. It's possible to read the composer.json for example.
I followed the instructions with plainkit.

@S1SYPHOS
Copy link
Owner

S1SYPHOS commented Oct 1, 2020

I'll have a look when there's time.

As this is a development setup, it's not meant to be used with Docker in production. Thus, no rules to protect sensitive directories / files! The .htaccess is there for folks replacing NGINX with Apache 🦊

@S1SYPHOS S1SYPHOS self-assigned this Oct 1, 2020
@S1SYPHOS S1SYPHOS added the bug Something isn't working label Oct 1, 2020
@Gong-Bao-Chicken
Copy link

Gong-Bao-Chicken commented Jul 11, 2021

I was facing the same issue. In my case in addition to the panel, thumbnails and its media folder could not be generated because of missing write permissions. In order to solve the issue two steps were necessary:

  1. Find your local UserID, on Linux: echo $UID, in my case it was 1000
  2. Edit user property of fpm.conf
[global]
daemonize = no

[www]
listen = /sock/docker.sock
user = 1000 #Local UserID
group = www-data
listen.owner = www-data
listen.group = www-data
listen.mode = 0660

I am not sure, if there is a better way to solve this. But if you find one, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants