Link to home
Start Free TrialLog in
Avatar of LeTay
LeTay

asked on

Joomla update issues an error

I have Joomla! installed at OVH where my internet site resides.
Version is 3.4.1 but as admin, it shows that 3.6.4 is a available
When I ask for the update, I directly get this error : cannot open file for writing log
I have tried that several time, since a couple of days...
Avatar of Amita Singh
Amita Singh
Flag of India image

check the file permissions. folders are set to 755 and files are set to 644.
Avatar of LeTay
LeTay

ASKER

I am not very familiar with that
How can I proceed ?
set file permissions through c penal or ftp
Avatar of LeTay

ASKER

That doesn't help me a lot ...
I know Unix OS but here the site is hosted by OVH ...
Avatar of LeTay

ASKER

ps : I use filezilla for ftp transfer, maybe from there I can do something ???
Avatar of LeTay

ASKER

Amita,
I used Filezilla to recursively change permissions to folders to 755 and files to 644
Unfortunately, that did not fix the problem (same error when trying the upgrade)
please share error
Avatar of LeTay

ASKER

Well, it is in the initial request :
I have Joomla! installed at OVH where my internet site resides.
Version is 3.4.1 but as admin, it shows that 3.6.4 is a available
When I ask for the update, I directly get this error : cannot open file for writing log
I have tried that several time, since a couple of days...
Avatar of Panagiotis S
Hi, there are some cases in which you cant update joomla through admin.
The solution :

BACKUP

1. upload the latest joomla package 3.6.5 as zip into public_html.
2. Unzip the file though cpanel
3. delete installation directory
4. Extensions --> manage -->database --> fix warnings
5. DONE
Are you still needing assistance with this question?
Avatar of LeTay

ASKER

Sorry for the delay
It was not a priority to upgrade Joomla! but now it becomes one, as I plan to install an extension, and it requires at least version 3.5
I am not sure of the process for installing the latest version
Is it okay if I :
1. unzip the latest package
2. replace the current www directory on the site with the new one and all the files
3. replace the new config with the old one (or should I update it manually) ?
4. re-install the add-on I already have ?
there is no need to delete all the directories and files

just follow

1. upload the latest joomla package 3.6.5 as zip into public_html.
2. Unzip the file though cpanel
3. delete installation directory
4. Extensions --> manage -->database --> fix warnings
5. DONE
Avatar of LeTay

ASKER

About the configuration.php, shall I replace the new one with the backuped one ?
Or shall I update it manually ?
You dont have to update manually the configuration.php, its not overwritten

just unzip the joomal version zip file and delete the installation folder
Avatar of LeTay

ASKER

Well I am not sure I can do the unzip like you write
The site is hosted by OVH and I dont know if I can use cpanel (I dont' know what it is by the way) to do the job
Avatar of LeTay

ASKER

In fact, the method I used in the past was to unzip the installation package on my PC, then use Filezilla to copy the www directory to the site ...
Avatar of LeTay

ASKER

Reading my previous comment, how do you suggest me to proceed ?
Thanks
Once the files are unzipped on your PC, FTP them to the root of the site you need updated.

* MAKE SURE YOU TAKE A BACKUP OF YOUR WEBSITE FIRST!!!!!

IF using FileZilla, it will ask if you want to overwrite the files, yes you do want to do that.

Once done, delete the installation directory.
Also, if I were you, I would backup the website and then restore it to a local environment where you can do some tests on upgrading it locally before trying to do it in a live environment.

It's always a good idea to have a test environment if you can.
Avatar of LeTay

ASKER

Ok, but if I so, the configuration is not good anymore and I suppose I should use the saved one ?
Avatar of LeTay

ASKER

I found the solution by myself yesterday !
The configuration mentions a log directory (and also a tmp directory) like this :
\home\....\www\logs (and same for tmp, ending with \tmp)
I changed it, replacing \ with / and ... it now works fine !
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.