Upgrade to 3.2 - another little problem

Hi all, I think that I missed some step... Tryng to modify ANY item in sysconfig leads to an error: Error Message: Can't write ConfigItem! . You can Send a bugreport or go back to the previous page. Error Details Backend ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Thu Jan 31 18:59:40 2013 Message: Can't write ConfigItem! RemoteAddress: 172.22.21.11 RequestURI: /otrs/index.pl Traceback (1940): Module: Kernel::Modules::AdminSysConfig::Run (v1.125) Line: 206 Module: Kernel::System::Web::InterfaceAgent::Run (v1.73) Line: 866 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46 Module: (eval) (v1.94) Line: 204 Module: ModPerl::RegistryCooker::run (v1.94) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.94) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31 Apparently permission at file level are correct and I run the upgrade script to verify/adapt permissions.. (Centos 6.2 64bit) I also did a "chown -R 777 /opt/otrs", just to be on safe side and test it properly, after a server restart - then it worked. But it's a little too open. What should be the correct permissions ? My fix permission strings was: bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache --admin-user=root --admin-group=root /opt/otrs Thanks, Massimo Massimo Bianchi Npo Sistemi S.p.A. - Gruppo Npo S.S.11 Padana Superiore 28 20063 Cernusco S/Naviglio MI Tel: +39 02 92596.322 Cell: +39 348 5852275 Fax: +39 02 92140548 Skype: massimo.bianchi Lync: massimo.bianchi@nposistemi.itmailto:massimo.bianchi@nposistemi.it Mail: massimo.bianchi@nposistemi.itmailto:massimo.bianchi@nposistemi.it Web: http://www.nposistemi.ithttp://www.nposistemi.it/

make sure /opt/otrs isn't a symlink. Permissions may not apply correctly if it is. On Thu, Jan 31, 2013 at 1:04 PM, Bianchi Massimo < Massimo.Bianchi@nposistemi.it> wrote:
Hi all,****
I think that I missed some step…****
** **
Tryng to modify ANY item in sysconfig leads to an error:****
** **
** **
Error Message: Can't write ConfigItem! ** **
** **
. ****
** **
You can Send a bugreport or go back to the previous page. ****
Error Details****
Backend ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Thu Jan 31 18:59:40 2013 Message: Can't write ConfigItem! RemoteAddress: 172.22.21.11 RequestURI: /otrs/index.pl Traceback (1940): Module: Kernel::Modules::AdminSysConfig::Run (v1.125) Line: 206 Module: Kernel::System::Web::InterfaceAgent::Run (v1.73) Line: 866 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46 Module: (eval) (v1.94) Line: 204 Module: ModPerl::RegistryCooker::run (v1.94) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.94) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31****
** **
** **
Apparently permission at file level are correct and I run the upgrade script to verify/adapt permissions.. (Centos 6.2 64bit)****
** **
I also did a “chown –R 777 /opt/otrs”, just to be on safe side and test it properly, after a server restart – then it worked.****
But it’s a little too open.****
** **
What should be the correct permissions ?****
** **
My fix permission strings was:****
bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache --admin-user=root --admin-group=root /opt/otrs****
** **
Thanks,****
Massimo****
** **
** **
Massimo Bianchi****
** **
Npo Sistemi S.p.A. - Gruppo Npo****
S.S.11 Padana Superiore 28****
20063 Cernusco S/Naviglio MI****
Tel: +39 02 92596.322****
Cell: +39 348 5852275****
Fax: +39 02 92140548****
** **
Skype: massimo.bianchi****
Lync: massimo.bianchi@nposistemi.it****
Mail: massimo.bianchi@nposistemi.it****
Web: http://www.nposistemi.it****
** **
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hm upgrade file says: --- snip ---8<--- 5) Install the new release (tar or RPM) ------------------------------------ With the tarball: shell> cd /opt shell> tar -xzf otrs-x.x.x.tar.gz shell> ln -s otrs-x.x.x otrs --- /snip --->8-- maybe this needs a patch ;( Am 31.01.2013 20:16, schrieb Gerald Young:
make sure /opt/otrs isn't a symlink. Permissions may not apply correctly if it is.
On Thu, Jan 31, 2013 at 1:04 PM, Bianchi Massimo
mailto:Massimo.Bianchi@nposistemi.it> wrote: Hi all,____
I think that I missed some step…____
__ __
Tryng to modify ANY item in sysconfig leads to an error:____
__ __
__ __
Error Message: Can't write ConfigItem! __ __
__ __
. ____
__ __
You can Send a bugreport or go back to the previous page. ____
Error Details____
Backend ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Thu Jan 31 18:59:40 2013 Message: Can't write ConfigItem! RemoteAddress: 172.22.21.11 RequestURI: /otrs/index.pl http://index.pl Traceback (1940): Module: Kernel::Modules::AdminSysConfig::Run (v1.125) Line: 206 Module: Kernel::System::Web::InterfaceAgent::Run (v1.73) Line: 866 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46 Module: (eval) (v1.94) Line: 204 Module: ModPerl::RegistryCooker::run (v1.94) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.94) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31____
__ __
__ __
Apparently permission at file level are correct and I run the upgrade script to verify/adapt permissions.. (Centos 6.2 64bit)____
__ __
I also did a “chown –R 777 /opt/otrs”, just to be on safe side and test it properly, after a server restart – then it worked.____
But it’s a little too open.____
__ __
What should be the correct permissions ?____
__ __
My fix permission strings was:____
bin/otrs.SetPermissions.pl http://otrs.SetPermissions.pl --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache --admin-user=root --admin-group=root /opt/otrs____
__ __
Thanks,____
Massimo____
__ __
__ __
Massimo Bianchi____
__ __
Npo Sistemi S.p.A. - Gruppo Npo____
S.S.11 Padana Superiore 28____
20063 Cernusco S/Naviglio MI____
Tel: +39 02 92596.322 tel:%2B39%2002%2092596.322____
Cell: +39 348 5852275 tel:%2B39%20348%205852275____
Fax: +39 02 92140548 tel:%2B39%2002%2092140548____
__ __
Skype: massimo.bianchi____
Lync: massimo.bianchi@nposistemi.it mailto:massimo.bianchi@nposistemi.it____
Mail: massimo.bianchi@nposistemi.it mailto:massimo.bianchi@nposistemi.it____
Web: http://www.nposistemi.it http://www.nposistemi.it/____
__ __
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

So run perms against the otrs-x.x.x folder.
On Jan 31, 2013 11:44 PM, "Rainer Bendig"
Hm upgrade file says:
--- snip ---8<--- 5) Install the new release (tar or RPM) ------------------------------------
With the tarball:
shell> cd /opt shell> tar -xzf otrs-x.x.x.tar.gz shell> ln -s otrs-x.x.x otrs --- /snip --->8--
maybe this needs a patch ;(
Am 31.01.2013 20:16, schrieb Gerald Young:
make sure /opt/otrs isn't a symlink. Permissions may not apply correctly if it is.
On Thu, Jan 31, 2013 at 1:04 PM, Bianchi Massimo
mailto:Massimo.Bianchi@nposistemi.it> wrote: Hi all,____
I think that I missed some step…____
__ __
Tryng to modify ANY item in sysconfig leads to an error:____
__ __
__ __
Error Message: Can't write ConfigItem! __ __
__ __
. ____
__ __
You can Send a bugreport or go back to the previous page. ____
Error Details____
Backend ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Thu Jan 31 18:59:40 2013 Message: Can't write ConfigItem! RemoteAddress: 172.22.21.11 RequestURI: /otrs/index.pl http://index.pl Traceback (1940): Module: Kernel::Modules::AdminSysConfig::Run (v1.125) Line: 206 Module: Kernel::System::Web::InterfaceAgent::Run (v1.73) Line: 866 Module:
ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler
(unknown version) Line: 46 Module: (eval) (v1.94) Line: 204 Module: ModPerl::RegistryCooker::run (v1.94) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.94) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31____
__ __
__ __
Apparently permission at file level are correct and I run the upgrade script to verify/adapt permissions.. (Centos 6.2 64bit)____
__ __
I also did a “chown –R 777 /opt/otrs”, just to be on safe side and test it properly, after a server restart – then it worked.____
But it’s a little too open.____
__ __
What should be the correct permissions ?____
__ __
My fix permission strings was:____
bin/otrs.SetPermissions.pl http://otrs.SetPermissions.pl --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache --admin-user=root --admin-group=root /opt/otrs____
__ __
Thanks,____
Massimo____
__ __
__ __
Massimo Bianchi____
__ __
Npo Sistemi S.p.A. - Gruppo Npo____
S.S.11 Padana Superiore 28____
20063 Cernusco S/Naviglio MI____
Tel: +39 02 92596.322 tel:%2B39%2002%2092596.322____
Cell: +39 348 5852275 tel:%2B39%20348%205852275____
Fax: +39 02 92140548 tel:%2B39%2002%2092140548____
__ __
Skype: massimo.bianchi____
Lync: massimo.bianchi@nposistemi.it mailto:massimo.bianchi@nposistemi.it____
Mail: massimo.bianchi@nposistemi.it mailto:massimo.bianchi@nposistemi.it____
Web: http://www.nposistemi.it http://www.nposistemi.it/____
__ __
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

This is indeed a permission problem and could cause some of the other errors you mentioned. Make sure no SELinux or AppArmor policies are blocking things, if you executed otrs.SetPermissions.pl correctly. Regards, mg Am 31.01.13 19:04, schrieb Bianchi Massimo:
Hi all, I think that I missed some step...
Tryng to modify ANY item in sysconfig leads to an error:
Error Message: Can't write ConfigItem!
-- Martin Gruner Senior Developer R&D OTRS AG Europaring 4 94315 Straubing T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/ Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel Mehr als ein Help Desk-System – Prozess- und Kundenmanagement mit OTRS 3.2 – Jetzt Frühbucherrabatt sichern: http://www.otrs.com/de/loesungen/promotion/otrs-help-desk-32-special/
participants (4)
-
Bianchi Massimo
-
Gerald Young
-
Martin Gruner
-
Rainer Bendig