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

Access rights issues and themes #7

Open
Exiknox opened this issue Oct 9, 2019 · 2 comments
Open

Access rights issues and themes #7

Exiknox opened this issue Oct 9, 2019 · 2 comments

Comments

@Exiknox
Copy link

Exiknox commented Oct 9, 2019

Hello,

Before I detail my problems, I would like to thank you for the work you have done!

I currently have two problems.

The first concerns access rights to the volume. When I create a container with a volume and then try to connect to the website, I face an error that tells me:
Writing test failure, check directory "bl-content" permissions.

I think this error is due to the fact that nginx is not installed on my machine and therefore the user and group used by your dockerfile do not exist.

The second problem concerns the themes. I noticed that it was not possible to create a volume containing the themes. It's a feature that interests me and I think you just have to do the same steps on bl-themes as on bl-content so that you can access it from a volume.

I hope to hear from you soon because I really want to deploy my blog using this great tool!

Thank you in advance.

My docker-compose file:

version: '3.3'

services:
   myblog:
     image: bludit/docker:latest
     volumes:
       - ./content:/usr/share/nginx/html/bl-content
     restart: always
     ports: 
       - 8080:80
@chan-vince
Copy link

The issue here is indeed the folder permissions of bl-content.
Bludit needs to have write permissions on the bl-content folder as that's where it stores new posts.
You can open up permissions with chmod 777 ./content on your host machine.

@puschmie
Copy link

not sure if this is still relevant to you, but might be useful to future googlers to:
you can simply mount bl-themes and bl-plugins the same way you did with content.
just add a directory on your host for each and add a line in the volumes section of the docker-compose.yml file, analogos to the one for bl-content.

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

No branches or pull requests

3 participants