how to run otrs.SetPermissions.pl on win2008 R2 [SOLVED]

Moderator: crythias

Post Reply
guillo
Znuny newbie
Posts: 98
Joined: 16 May 2012, 20:05
Znuny Version: 3.0.7

how to run otrs.SetPermissions.pl on win2008 R2 [SOLVED]

Post by guillo »

Ok, simple question... easy! :)

I'm finally making my upgrade from 3.0.7 to 3.1.12 and my problem is:

I run >perl otrs.SetPermissions.pl

... I know I'm missig some parameters because all I get is a menu with some "suggestions" but I don't understand really what is trying to say. So I want to give full permissions, everything, full...

So I thought I could skip it but then when I get to step 8 Apply the database changes
8.1 Schema Update part 1:
MySQL: DBUpdate-to-3.1.mysql.sql FINE! :D

8.2 Database Migration Script
> perl DBUpdtade-to-3.1.pl :(
>> Can't write C:/Program Files/.../otrs.log: Permission Denied << and a lot errors on the first part [of 24].

So If somebody can tell me how to write de otrs.SetPermissions.pl on the console I would really apreciate it.
Thanks!
Last edited by guillo on 14 Dec 2012, 20:28, edited 1 time in total.
OTRS V 3.0.7 Windows 2008 x64 going for 3.1.7
OTRS 3.1.12 on LINUX UBUNTU SERVER
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: how to run otrs.SetPermissions.pl on win2008 R2

Post by jojo »

you won't need the otrs.SetPermissions.pl o script on windows as it has no effect on windows.

For the permission error: does your user have full admin permissions?
"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
guillo
Znuny newbie
Posts: 98
Joined: 16 May 2012, 20:05
Znuny Version: 3.0.7

Re: how to run otrs.SetPermissions.pl on win2008 R2

Post by guillo »

-
jojo wrote:For the permission error: does your user have full admin permissions?
Yes, I'm the server admin.
jojo wrote:you won't need the otrs.SetPermissions.pl o script on windows as it has no effect on windows.
So I only have to run the SQL scripts files and skip these ones?:

otrs.SetPermissions.pl
DBUpdate-to-3.1.pl
otrs.RebuildConfig.pl
otrs.DeleteCache.pl

Am I right?
OTRS V 3.0.7 Windows 2008 x64 going for 3.1.7
OTRS 3.1.12 on LINUX UBUNTU SERVER
guillo
Znuny newbie
Posts: 98
Joined: 16 May 2012, 20:05
Znuny Version: 3.0.7

Re: how to run otrs.SetPermissions.pl on win2008 R2

Post by guillo »

Ok so I gave another look at the folder permissions and it turns out I didn't have them all. So I gave myself full control of the OTRS folder.

I gave it another shot at the DBUpdate-to-3.1.pl and is running smoothly so far, I'll take a while to finish since i have a big DB. I'll post my results later.
OTRS V 3.0.7 Windows 2008 x64 going for 3.1.7
OTRS 3.1.12 on LINUX UBUNTU SERVER
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: how to run otrs.SetPermissions.pl on win2008 R2

Post by jojo »

just skip otrs.SetPermissions.pl , all other ones are needed
"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
guillo
Znuny newbie
Posts: 98
Joined: 16 May 2012, 20:05
Znuny Version: 3.0.7

Re: how to run otrs.SetPermissions.pl on win2008 R2

Post by guillo »

So I did and now I'm running OTRS 3.1.12 smoothly. I'll be posting a manual due to the lack of information on windows for N00bs like me.

Thanks JOJO, you are absolutly right.

To close the topic:

On windows, skip the setpermissions.pl but be sure to have the Program Files\OTRS folder with ALL permissions.
OTRS V 3.0.7 Windows 2008 x64 going for 3.1.7
OTRS 3.1.12 on LINUX UBUNTU SERVER
bayerex
Znuny expert
Posts: 164
Joined: 03 Dec 2012, 00:30
Znuny Version: 3.2.7

Re: how to run otrs.SetPermissions.pl on win2008 R2 [SOLVED]

Post by bayerex »

I'd like to read your guide when it's ready as I'm going to upgrade in the new year!

Thanks in advance
Current Production Server (recently switched from Windows)
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31

Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
Post Reply