<SOLVED> Install directory permissions issue

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
User avatar
Slipy007
Registered User
Posts: 3
Joined: Mon Dec 06, 2021 6:54 pm
Location: USA
Contact:

<SOLVED> Install directory permissions issue

Post by Slipy007 »

Hi,

I'm looked through all directory permissions for install and all the required files for install to be writeable are correct. I even made the required installs files writeable with 777 and nothing. I can not understand what else to do. File ownership is root. I'm using php 7.4 and phbb install 3.3.5. I've not used my own linux root server in a while but I'm pretty sure I know what I'm doing. Is this a php setting issue? Apache issue?

Code: Select all

Directory is not writable

To be able to install phpBB the cache/ directory needs to be writable.
Directory is not writable

To be able to install phpBB the store/ directory needs to be writable.
Directory is not writable

To be able to install phpBB the files/ directory needs to be writable.
File is not writable

To be able to install phpBB the config.php file needs to be writable.
Directory is not writable

It is recommended that the images/avatars/upload/ directory be writable for a better forum user experience.
Thank you
Last edited by Slipy007 on Tue Dec 07, 2021 1:56 am, edited 1 time in total.
User avatar
AlfredoRamos
Recognised Extension Developer
Posts: 1302
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo
Contact:

Re: Install directory permissions issue

Post by AlfredoRamos »

The user running the webserver is the one that needs the permissions to be changed, not root since it seems that is the owner of those files.

You don't mention which OS you are running, so you'll need to check which user is the one Apache uses on your system.

Usually it's www-data or http, but you can use the ps command to be sure.
Some of my phpBB extensions:
:chart_with_upwards_trend: SEO Metadata | Image Markdown | :shield: hCaptcha
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user | Linux Boards :penguin:
User avatar
Slipy007
Registered User
Posts: 3
Joined: Mon Dec 06, 2021 6:54 pm
Location: USA
Contact:

Re: Install directory permissions issue

Post by Slipy007 »

AlfredoRamos wrote: Tue Dec 07, 2021 12:04 am The user running the webserver is the one that needs the permissions to be changed, not root since it seems that is the owner of those files.

You don't mention which OS you are running, so you'll need to check which user is the one Apache uses on your system.

Usually it's www-data or http, but you can use the ps command to be sure.
I changed all the phbb files to www-data which the owner and same issue. I'm using Ubuntu Linux 18.04.6.
User avatar
Slipy007
Registered User
Posts: 3
Joined: Mon Dec 06, 2021 6:54 pm
Location: USA
Contact:

Re: Install directory permissions issue

Post by Slipy007 »

I swear I wish I didn't have insomnia issues.... :?

Anyway I was in the directory for the phbb files. I was editing the domain ones when I was looking at the apache IP which is not the domain url, lmao.
It's always the simplest things isn't it....

Thank you for the help I fixed it. 8-)
Post Reply

Return to “[3.3.x] Support Forum”