I've a nasty permission Problem with the File ZZZAAuto.pm. My Platform is Debian 9, I've upgraded a Version 4.0.24 deploy via recent version 5 finally to version 6.0.3 The "default" permissions are 660 and otrs:www-data as owner:group. In this case everything is fine. The first Time I Change something in sysconfig, the ownership magically changed to www-data:www-data. Now the OTRS-otrs.Daemon.pl is complaining about not beeing able to read the file (wich is correct because of mode 660).
The Same is true for the Cache Files. Here is an error message after I change some settings:
Code: Select all
Jan 4 11:57:20 50sv-otrs-test OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-10[27417]: [Error][Kernel::System::Main::FileWrite][Line:419]: Can't write '/opt/otrs/var/tmp/CacheFileStorable/SysConfigDefault/9/d/9d7a00c99a6ea9acea3c328281e3aff4':
Jan 4 11:57:22 50sv-otrs-test OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-10[27417]: [Error][Kernel::System::Main::FileWrite][Line:419]: Can't write '/opt/otrs/var/tmp/CacheFileStorable/SysConfigDefault/9/d/9d7a00c99a6ea9acea3c328281e3aff4': Permission denied
Jan 4 11:57:25 50sv-otrs-test OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-10[27417]: [Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][Line:52]: There was an error executing ConfigurationInvalidList() in Kernel::System::SysConfig: ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-10 Perl: 5.24.1 OS: linux Time: Thu Jan 4 11:57:20 2018#012#012 Message: Can't write '/opt/otrs/var/tmp/CacheFileStorable/SysConfigDefault/9/d/9d7a00c99a6ea9acea3c328281e3aff4': #012#012 Traceback (27417): #012 Module: Kernel::System::Main::FileWrite Line: 419#012 Module: Kernel::System::Cache::FileStorable::Set Line: 97#012 Module: Kernel::System::Cache::Set Line: 245#012 Module: Kernel::System::SysConfig::DB::DefaultSettingGet Line: 690#012 Module: Kernel::System::SysConfig::SettingGet Line: 181#012 Module: Kernel::System::SysConfig::ConfigurationListGet Line: 3053#012 Module: Kernel::System::SysConfig::ConfigurationInvalidList Line: 3170#012 Module: (eval) Line: 137#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::AsynchronousExecutor::Run Line: 117#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 235#012 Module: (eval) Line: 316#012 Module: main::Start Line: 316#012 Module: /opt/otrs/bin/otrs.Daemon.pl Line: 137#012#012ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-10 Perl: 5.24.1 OS: linux Time: Thu Jan 4 11:57:22 2018#012#012 Message: Can't write '/opt/otrs/var/tmp/CacheFileStorable/SysConfigDefault/9/d/9d7a00c99a6ea9acea3c328281e3aff4': Permission denied#012#012 Traceback (27417): #012 Module: Kernel::System::Main::FileWrite Line: 419#012 Module: Kernel::System::Cache::FileStorable::Set Line: 97#012 Module: Kernel::System::Cache::Set Line: 245#012 Module: Kernel::System::SysConfig::DB::DefaultSettingGet Line: 690#012 Module: Kernel::System::SysConfig::SettingGet Line: 181#012 Module: Kernel::System::SysConfig::ConfigurationInvalidList Line: 3188#012 Module: (eval) Line: 137#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::AsynchronousExecutor::Run Line: 117#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 235#012 Module: (eval) Line: 316#012 Module: main::Start Line: 316#012 Module: /opt/otrs/bin/otrs.Daemon.pl Line: 137
Best regards,
Hubert