Log Directory ($log_path) ./logs/ Unwritable

Joomla version 1.5 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
mooncane
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Mar 17, 2014 11:28 pm

Re: Log Directory ($log_path) ./logs/ Unwritable

Post by mooncane » Mon Mar 17, 2014 11:30 pm

agurk wrote:Hello i recently had the same problem, but found the trick!

Log Directory ($log_path) ./logs/ Unwritable
Temp Directory ($tmp_path) ./tmp/ Unwritable

The right directory path has to be:
Log Directory ($log_path) ../logs/
Log Directory ($log_path) ../tmp/

This works on Surftown webhost in Denmark, but don't know
if this has any relation to the host anyway?

This might work for others - hopefully!

Regards
Jakob Daugaard
I have found out (with unoeuro.com at least) that the paths needed is:

public $tmp_path = '/var/www/yourdomainNOwww/public_html/tmp';
public $log_path = '/var/www/yourdomainNOwww/public_html/logs';

Hope this helps you out there.
/Jeppe Schmidt

puntha
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Sep 11, 2013 7:17 am

Re: Log Directory ($log_path) ./logs/ Unwritable

Post by puntha » Mon Apr 14, 2014 8:26 am

senukexvn wrote:
agurk wrote: Log Directory ($log_path) ../logs/
Log Directory ($log_path) ../tmp/
I changes to:
public $log_path = '../logs';
public $tmp_path = '../tmp';
I use Joomla! 2.5.11
Its work perfectly.
^
^
^
^^
^
Thank a lot, its working now..

ahale10
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Jul 22, 2012 6:34 am

Re: Log Directory ($log_path) ./logs/ Unwritable

Post by ahale10 » Sat Apr 26, 2014 8:35 am

If you are using Plesk the URLs to the logs and tmp will be like this:

/var/www/vhosts/yourdomain.com/httpdocs/logs

/var/www/vhosts/yourdomain.com/httpdocs/tmp

Remember the domain needs to be the same as what you have in plesk when you set up the account.

Minstrel-nsk
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Oct 08, 2014 7:23 am

Re: Log Directory ($log_path) ./logs/ Unwritable

Post by Minstrel-nsk » Wed Oct 08, 2014 7:25 am

agurk wrote: The right directory path has to be:
Log Directory ($log_path) ../logs/
Log Directory ($log_path) ../tmp/
Awesome, thank you!
Had that issue on Rusonyx.ru hosting provider.
It seems, that VPS/VDS providers has that addressing policy for folders.

atodd
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Thu Feb 10, 2011 4:14 pm

Re: Log Directory ($log_path) ./logs/ Unwritable

Post by atodd » Fri Feb 27, 2015 7:57 pm

Hello,

I have a similar problem. I am trying to update from 2.5.28 to 3.4 and the error I get after it gets about half way through is that the /logs/index.html file is not writable. The site is hosted on 1and1 and they have a logs folder that is locked down like other people have mentioned. I have created a new folder called "log" with the correct permissions and added the index.html file but no matter what I do, the Joomla updater keeps looking in the "logs" folder for the index.html. But it's not there! And I can't upload one!

Both my tmp and the new log folder I created are labeled as writable in the config file so I don't understand why it still wants to go to the "logs" folder. Any help would be greatly appreciated. I really do not want to have to manually update.

iptashi_557
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Mar 06, 2015 5:57 am

Re: Log Directory ($log_path) ./logs/ Unwritable

Post by iptashi_557 » Fri Mar 06, 2015 6:06 am

I just registered here, consider me if i'm posting it on a wrong place. I've read the above solutions about changing the path of log and temp to
public $log_path = '../logs';
public $tmp_path = '../tmp';

Directory permission are writable for both, but when i try to install an extension, errors below pop up. Please help.

Error
Unable to write archive

Warning
JFolder: :files: Path is not a folder. Path: ../tmp/install_54f93fa3abcd2
JFolder: :folder: Path is not a folder. Path: ../tmp/install_54f93fa3abcd2
JFolder: :files: Path is not a folder. Path: ../tmp/install_54f93fa3abcd2
JInstaller: :Install: Cannot find Joomla XML setup file

denata12
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Mar 20, 2015 8:23 am

Re: Log Directory ($log_path) ./logs/ Unwritable

Post by denata12 » Fri Mar 20, 2015 8:29 am

dpacadmin wrote:Upload this file to your Joomla tmp folder;
path.zip
Open the path.php file in your browser
http://www.yourdomain.com/tmp/path.php

The path it displays is the absolute path to your tmp folder, you can change tmp in the path to logs for the absolute path to your logs folder. Up date your configuration.php file with the correct paths.
Thank you very much!!!
It works great:)

BEtheredge
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Wed Apr 22, 2015 2:31 pm

Re: Log Directory ($log_path) ./logs/ Unwritable

Post by BEtheredge » Fri May 22, 2015 5:37 pm

I used path.php to find the absolute path:
'C:\inetpub\joomla33\tmp';
'C:\inetpub\joomla33\var\logs';


My configuration.php is set correctly:
public $tmp_path = 'C:\inetpub\joomla33\tmp';
public $tmp_path = 'C:\inetpub\joomla33\var\logs';


I do not get any errors, yet the logs and tmp do not update. Since the Joomla update to 3.3 around 8-2014 the log files do not update. The person that handled this is no longer with us.

Any ideas?

User avatar
dpacadmin
Joomla! Champion
Joomla! Champion
Posts: 6029
Joined: Sat Aug 16, 2008 1:46 pm
Location: the Bat Cave
Contact:

Re: Log Directory ($log_path) ./logs/ Unwritable

Post by dpacadmin » Fri May 22, 2015 6:23 pm

Here is how my config looks on a Wamp server running in Windows, this is as Joomla set it;

Code: Select all

public $log_path = 'C:\\wamp\\www\\Joomla33/logs';
public $tmp_path = 'C:\\wamp\\www\\Joomla33/tmp';
Maybe this would work for you

Code: Select all

public $tmp_path = 'C:\\inetpub\\joomla33/tmp';
public $tmp_path = 'C:\\inetpub\\joomla33\\var/logs';
or try the same path for logs as tmp since they are in the same root folder;

Code: Select all

public $tmp_path = 'C:\\inetpub\\joomla33/logs';

BEtheredge
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Wed Apr 22, 2015 2:31 pm

Re: Log Directory ($log_path) ./logs/ Unwritable

Post by BEtheredge » Mon Jul 27, 2015 4:29 pm

That seemed to do the trick! Thanks!

User avatar
Helvecio
Joomla! Explorer
Joomla! Explorer
Posts: 468
Joined: Wed Oct 10, 2007 2:29 pm
Location: Rio de Janeiro - Brazil
Contact:

Re: Log Directory ($log_path) ./logs/ Unwritable

Post by Helvecio » Sat Feb 27, 2016 2:43 pm

dpacadmin wrote:Upload this file to your Joomla tmp folder;
path.zip
Open the path.php file in your browser
http://www.yourdomain.com/tmp/path.php

The path it displays is the absolute path to your tmp folder, you can change tmp in the path to logs for the absolute path to your logs folder. Up date your configuration.php file with the correct paths.
I'd like to thank you very much for posting this information.

It's 2016, I was having this problem with J 3.4.8 and your path.php helped resolve this issue.

Best
Helvecio "Elvis" da Silva
Graphic and Web Designer
Joomla Website Developer
http://hlvc.design

User avatar
dpacadmin
Joomla! Champion
Joomla! Champion
Posts: 6029
Joined: Sat Aug 16, 2008 1:46 pm
Location: the Bat Cave
Contact:

Re: Log Directory ($log_path) ./logs/ Unwritable

Post by dpacadmin » Sun Feb 28, 2016 10:40 pm

Glad to see it is still helping people :)


Locked

Return to “Installation 1.5”