[SOLVED] Upgrade to 3.3.5

Moderator: crythias

Locked
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

[SOLVED] Upgrade to 3.3.5

Post by skullz »

Hi,

i know this is not otrs issue, but i still got no clue..
when i try to execute ./DBUpdate-to-3.3.pl, the script require me to run it as otrs user..

i try run it as suggested by the script:

Code: Select all

su -c "./DBUpdate-to-3.3.pl" -s /bin/bash otrs
su : unknown login: /bin/bash
in /etc/passwd,

Code: Select all

otrs:*:1001:80:OTRS User:/opt/otrs:/usr/sbin/nologin
run it as below, then got permission denied

Code: Select all

su -m otrs -c “./DBUpdate-to-3.3.pl”
already run set permission file, the file system is still root:wheel..

any suggestion what i should do? thanks..
Last edited by skullz on 19 Mar 2014, 15:20, edited 1 time in total.
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
wurzel
Znuny guru
Posts: 3274
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: [FreeBSD] Upgrade to 3.3.5

Post by wurzel »

Hi,

you could try to change the /usr/sbin/nologin
otrs:*:1001:80:OTRS User:/opt/otrs:/usr/sbin/nologin
to provide a shell to otrs user.


if nothing works, try to run it via root user. Should work.

In FreeBSD you need more of this otrs.SetPermissions.pl stuff I think

on my system a usr/local/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=www --otrs-group=www --web-group=www --admin-group=wheel /usr/local/otrs/

did it

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: [SOLVED] Upgrade to 3.3.5

Post by skullz »

wurzel wrote:Hi,

you could try to change the /usr/sbin/nologin
otrs:*:1001:80:OTRS User:/opt/otrs:/usr/sbin/nologin
to provide a shell to otrs user.


if nothing works, try to run it via root user. Should work.

In FreeBSD you need more of this otrs.SetPermissions.pl stuff I think

on my system a usr/local/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=www --otrs-group=www --web-group=www --admin-group=wheel /usr/local/otrs/

did it

Flo
yaahhh..got it...thanks :) :)

but for number 1, i just run the code as

Code: Select all

su -m otrs -c “./DBUpdate-to-3.3.pl”
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
Locked