permissions for installing updates etc.

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
dirkblogger
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Jan 14, 2018 7:58 pm

permissions for installing updates etc.

Post by dirkblogger » Sun Jan 14, 2018 8:04 pm

Which permissions (chmod or and chown) do I have to set to the www directory and subdirectorys of Apache 2.4 virtual host running Joomla 3.6.4 yet to advoid these problem f.e.:

Warning
JFolder::create: Could not create folder.Path: /var/www/xn--beralllesen-shb/components/com_joomlaupdate
Component Update: Failed to create folder: /var/www/xn--beralllesen-shb/components/com_joomlaupdate

Thanks in advance!

Dirk

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: permissions for installing updates etc.

Post by sozzled » Sun Jan 14, 2018 8:22 pm


dirkblogger
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Jan 14, 2018 7:58 pm

Re: permissions for installing updates etc.

Post by dirkblogger » Sun Jan 14, 2018 8:35 pm

Warning
JFolder::create: Could not create folder.Path: /var/www/xn--beralllesen-shb/tmp/install_5a5bbea40d46b
Install path does not exist.

made sudo chmod 775 and chmod 664 but get this now.

dirkblogger
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Jan 14, 2018 7:58 pm

Re: permissions for installing updates etc.

Post by dirkblogger » Sun Jan 14, 2018 8:39 pm

Maybe something with my Ubuntu 16.04.3 LTS LAMP configuration wrong for Joomla?

dirkblogger
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Jan 14, 2018 7:58 pm

Re: permissions for installing updates etc.

Post by dirkblogger » Sun Jan 14, 2018 8:43 pm

Also problem with updating installed Version 3.5.4 to 3.5.5 with this message:

An error has occurred.
0 Cannot write to log file.

So I have to chown all directorys to www-data instead of root?

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: permissions for installing updates etc.

Post by sozzled » Sun Jan 14, 2018 8:43 pm

The [new] error message that you've mentioned indicates there's a problem with the site /tmp directory (and also the /log folder, it would also appear). This may be something you need to discuss with your webhosting provider. Might I make a suggestion? If you provide us with the output from the Forum Post Assistant report tool, we might have a clearer picture of what's interfering with performing your update(s).

Tip: questions that include a Forum Post Assistant report are generally answered much faster than those that don't include this information. ;)

dirkblogger
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Jan 14, 2018 7:58 pm

Re: permissions for installing updates etc.

Post by dirkblogger » Sun Jan 14, 2018 8:51 pm

I had to sudo chown -R www-data:www-data /var/www/xn--beralllesen-shb/

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: permissions for installing updates etc.

Post by sozzled » Sun Jan 14, 2018 9:10 pm

dirkblogger wrote:I had to sudo chown -R www-data:www-data /var/www/xn--beralllesen-shb/
So, everything works now? ???

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9634
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: permissions for installing updates etc.

Post by AMurray » Mon Jan 15, 2018 9:38 pm

dirkblogger wrote:made sudo chmod 775 and chmod 664 but get this now.
The file permissions are incorrect as you set them, they should be 755 (folders) not 775 and 644 (files) not 664. Assuming what you stated was not a typo....??? ???
Regards - A Murray
General Support Moderator


Locked

Return to “General Questions/New to Joomla! 3.x”