[SOLVED] Missing file bin\otrs.ArticleStorageSwitch.pl

Moderator: crythias

Locked
gawkla
Znuny newbie
Posts: 69
Joined: 15 Jan 2015, 16:48
Znuny Version: 6.0.6

[SOLVED] Missing file bin\otrs.ArticleStorageSwitch.pl

Post by gawkla »

Hello Team
I have OTRS 5.0.5
I would like to switch storage engine from DB into FS.

I want also migrate all old attachements from DB to FS. but... bin\otrs.ArticleStorageSwitch.pl is missing

I downloaded newest version 5.0.6 and this file is still not present. It is ok?

Can I use file otrs.ArticleStorageSwitch.pl from version 4? [in my old 4.0.7 this file was present].
Last edited by gawkla on 01 Feb 2016, 00:05, edited 1 time in total.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Missing file bin\otrs.ArticleStorageSwitch.pl

Post by jojo »

in OTRS5 the scripts in bin where merged into a new CLI bin/otrs.Command.pl

Try

Code: Select all

bin/otrs.Console.ol Search Storage
for mor help
"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
gawkla
Znuny newbie
Posts: 69
Joined: 15 Jan 2015, 16:48
Znuny Version: 6.0.6

Re: Missing file bin\otrs.ArticleStorageSwitch.pl

Post by gawkla »

thanks!
I have just relized, that there is new section under V5 docs..

bin/otrs.Console.pl Admin::Article::StorageSwitch
gawkla
Znuny newbie
Posts: 69
Joined: 15 Jan 2015, 16:48
Znuny Version: 6.0.6

Re: [SOLVED] Missing file bin\otrs.ArticleStorageSwitch.pl

Post by gawkla »

Yet another nob question.

There is info "Your web server user should be the 'otrs' user".
I have OTRS under debian. In standard installation Webserver is running under www-data user, true?

I am not changed this, but everything seems to work correctly. Can anybody confirm or give some rules what will not work?
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: [SOLVED] Missing file bin\otrs.ArticleStorageSwitch.pl

Post by wurzel »

Hi,

the webserver needs to have permission in your otrs directory. You have two options:
grant the www-user the access
the apache runs as otrs user

both ways are working fine, you need to decide for yourself what is right.

in a virutal host environment you may not want to run apache as otrs user ;)


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.
Locked