Upgrading from OTRS 3.2.3 to 3.2.7

Moderator: crythias

Locked
Alejandro
Znuny newbie
Posts: 2
Joined: 07 Jun 2013, 12:41
Znuny Version: 3.2.4

Upgrading from OTRS 3.2.3 to 3.2.7

Post by Alejandro »

Hi all,

Yesterday we set out to do a version upgrade 3.2.3 to 3.2.7 on a Ubuntu machine. The upgrade did not give any error, but when you access the OTRS by the browser, the following error:
Error during minification of file / opt/otrs/var/htdocs/js/thirdparty/jquery-1.6.4/jquery.js: mkdir / opt / otrs / var / tmp / CacheFileStorable / CacheInternalLoader: Permission denied at / opt / otrs / Kernel / System / Cache / Filestorable.pm line 81
Seeing that seems a permissions error have been giving full permission to Filestorable.pm and all the installation folders (chmod 777), and even creating the path manually in case you have difficulties. But still the error is repeated again.

I tried several times and seeing that he was getting nowhere, I backed off and went back to version 3.2.3. Thinking that might be a mistake for version 3.2.7, I downloaded the 3.2.4 version and perform an upgrade version 3.2.3 to 3.2.4.

This upgrade was smooth, you could access the OTRS smoothly and without realizing the error mentioned above.
Once in version 3.2.4, I tried again to upgrade to 3.2.7 with exactly the same steps that the upgrade from 3.2.3 to 3.2.4 but was imposiblem, the error would repeat, so I had to leave the version 3.2.4.

Does anyone have some kind of problem like when you upgraded to 3.2.7?
Do you know some kind of bug in version 3.2.7?
Or any clue what could be wrong?

Please, if you need any more information let me know.

Thanks,
Best regards,
You do not have the required permissions to view the files attached to this post.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Upgrading from OTRS 3.2.3 to 3.2.7

Post by crythias »

The error states it can't
mkdir /opt/otrs/var/tmp/CacheFileStorable/CacheInternalLoader: Permission denied
You should run bin/otrs.SetPermissions.pl
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
coopcsur
Znuny newbie
Posts: 3
Joined: 19 Jun 2013, 21:33
Znuny Version: 3.1.16
Real Name: Norman Molhant
Company: Coop de Solidarite du Suroit - CSUR

Re: Upgrading from OTRS 3.2.3 to 3.2.7

Post by coopcsur »

Similar problem here, but on upgrading from 3.1.16 to 3.2.7:

Error during minification of file /opt/otrs/var/httpd/htdocs/js/thirdparty/json/json2.js:
mkdir /opt/otrs/var/tmp/CacheFileStorable/CacheInternalLoader:
Permission denied at /opt/otrs//Kernel/System/Cache/FileStorable.pm line 81.

But this is *after* running bin/otrs.SetPermissions.pl
We have the same permissions there we had on 3.1.16 on all /opt/otrs/ files and subdirectories.
So, what are the necessary permissions for /opt/otrs/var/tmp and/or /opt/otrs/var/tmp/CacheFileStorable ?

Thanks for any help.
Norman.
coopcsur
Znuny newbie
Posts: 3
Joined: 19 Jun 2013, 21:33
Znuny Version: 3.1.16
Real Name: Norman Molhant
Company: Coop de Solidarite du Suroit - CSUR

Re: Upgrading from OTRS 3.2.3 to 3.2.7

Post by coopcsur »

Problem solved.

Navigating to ***/otrs/installer.pm and re-answering the first question solved the problem.
Permissions for all files and directories in /opt/otrs/var are exactly as they were in 3.1.16, hence unchanged, but it works.

Thanks anyway, just for the forum beeing there. :)
Norman.
systems administrator at Coop CSUR.
Fadi
Znuny newbie
Posts: 3
Joined: 03 Sep 2013, 20:35
Znuny Version: 3.1.12

Re: Upgrading from OTRS 3.2.3 to 3.2.7

Post by Fadi »

Hi coopcsur,

Can you please provide more Information on how did you solve this problem. What do you mean by "Navigating to ***/otrs/installer.pm"!! do you mean this file "Kernel/Modules/Installer.pm"
I have the same issue, after Upgrading from 3.1.12 to 3.2.10 and can't apply your method...

Thanks
coopcsur
Znuny newbie
Posts: 3
Joined: 19 Jun 2013, 21:33
Znuny Version: 3.1.16
Real Name: Norman Molhant
Company: Coop de Solidarite du Suroit - CSUR

Re: Upgrading from OTRS 3.2.3 to 3.2.7

Post by coopcsur »

Hi Fadi.

Yes, that's just it: I should have written "***/otrs/Kernel/Modules/Installer.pm" but I short-circuited the path while writing it down.
I went from 2.2.6 up to 3.2.7 one version at a time.
It took the better part of a day and the following evening, the last step was from 3.1.16 to 3.2.7 and succeeded on the second try,
i.e.: when I re-ran Installer.pm ...

Did you check if one must go through 3.2.7 before upgrading to 3.2.10 ?

Norman (sysadmin at Coop CSUR).
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Upgrading from OTRS 3.2.3 to 3.2.7

Post by jojo »

Installer.pm can not be run on command line
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked