Code Monkey home page Code Monkey logo

Comments (3)

marcantondahmen avatar marcantondahmen commented on August 12, 2024

Hi, it is difficult to tell what could be the issue here without more details about your environment. At least the kind of web server is important.

from automad.

SudoMakeCake avatar SudoMakeCake commented on August 12, 2024

Hi

Sorry I was sure I had added that.

Raspberry Pi Zero
Pi OS Lite (32 bit) Debian (all updated)
Apache2
PHP 7.3
Followed these steps https://automad.org/getting-started/system-requirements

Both git pull and download the zip file.

Followed this for folder permissions https://www.internalpointers.com/post/right-folder-permission-website

UPDATE: I did "chmod -R 777" to the /var/www/html folder and it is working. I have always been told not do do that, so I'm still confused.

Thanks

from automad.

marcantondahmen avatar marcantondahmen commented on August 12, 2024

Hi, yeah it is correct that you should not do this in production. However this issue actually has nothing to do with this particular CMS but instead applies to all web applications. Every application that is writing files needs permissions to do so. I guess you are using PHP as a module for the Apache and in order to make that work, Apache needs permissions to read and write files. It is actually enough to change the owner for the installation directory to the Apache user recursively without giving other users writing permissions.

from automad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.