Update Znuny 6.5.13 - FAQ Modul Fehler

Hilfe zu Znuny Problemen aller Art
Post Reply
Manfred89
Znuny newbie
Posts: 67
Joined: 14 Jun 2023, 21:44
Znuny Version: 6.5.11
Real Name: Manfred

Update Znuny 6.5.13 - FAQ Modul Fehler

Post by Manfred89 »

Hey Leute,

ich habe heute auf meinem Testsystem/Klon ein Update von Znuny 6.5.11 auf 6.5.13 gefahren.
Die Migration läuft ohne Probleme durch.

Nun wollte ich die Packages noch upgraden bzw. habe ich erstmal vorher nur das FAQ Modul installiert, jedoch kann ich mir nicht vorstellen, dass dies der übliche Weg (mit Fehlermeldungen) ist:

Code: Select all

test-klon ~ # su - otrs
otrs@test-klon:~$ bin/otrs.Console.pl Admin::Package::UpgradeAll
Fetching online repositories...
  Freebie Features... Done
  Znuny Open Source Add-ons... Done

Upgrading installed packages...
  The following packages were already up-to-date but not deployed correctly...
    FAQ

Please reinstall not correctly deployed packages using Admin::Package::Reinstall or Admin::Package::ReinstallAll console commands.

Done.
otrs@test-klon:~$ bin/otrs.Console.pl Admin::Package::Reinstall FAQ
Reinstalling package...
Notice: Install /opt/otrs/bin/cgi-bin/faq.pl (770)!
Notice: Install /opt/otrs/bin/fcgi-bin/faq.fpl (770)!
Notice: Install /opt/otrs/Kernel/Config/Files/XML/FAQ.xml (660)!
Notice: Install /opt/otrs/Kernel/Config/Files/ZZZZZFAQItemLinkObjectPermissions.pm (660)!
Notice: Create Directory /opt/otrs/Kernel/cpan-lib/XML/RSS!
Notice: Install /opt/otrs/Kernel/cpan-lib/XML/RSS/SimpleGen.pm (660)!
Notice: Create Directory /opt/otrs/Kernel/GenericInterface/Operation/FAQ!
Notice: Install /opt/otrs/Kernel/GenericInterface/Operation/FAQ/LanguageList.pm (660)!
Notice: Install /opt/otrs/Kernel/GenericInterface/Operation/FAQ/PublicCategoryList.pm (660)!
Notice: Install /opt/otrs/Kernel/GenericInterface/Operation/FAQ/PublicFAQGet.pm (660)!
Notice: Install /opt/otrs/Kernel/GenericInterface/Operation/FAQ/PublicFAQSearch.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/da_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/de_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/en_GB_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/es_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/es_MX_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/fa_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/fi_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/fr_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/hu_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/id_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/it_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/ja_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/ms_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/nb_NO_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/nl_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/pl_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/pt_BR_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/pt_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/ru_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/sr_Cyrl_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/sr_Latn_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/sv_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/sw_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/th_TH_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/uk_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/zh_CN_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Language/zh_TW_FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQAdd.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQCategory.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQDelete.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQEdit.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQExplorer.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQHistory.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQJournal.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQLanguage.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQPrint.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQRelatedArticles.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQRichText.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQSearch.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQSearchSmall.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/AgentFAQZoom.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/CustomerFAQExplorer.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/CustomerFAQPrint.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/CustomerFAQRelatedArticles.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/CustomerFAQSearch.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/CustomerFAQZoom.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/PublicFAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/PublicFAQExplorer.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/PublicFAQPrint.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/PublicFAQRSS.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/PublicFAQSearch.pm (660)!
Notice: Install /opt/otrs/Kernel/Modules/PublicFAQZoom.pm (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Dashboard/FAQ.pm (660)!
Notice: Create Directory /opt/otrs/Kernel/Output/HTML/FAQJournalOverview!
Notice: Install /opt/otrs/Kernel/Output/HTML/FAQJournalOverview/Small.pm (660)!
Notice: Create Directory /opt/otrs/Kernel/Output/HTML/FAQMenu!
Notice: Install /opt/otrs/Kernel/Output/HTML/FAQMenu/Delete.pm (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/FAQMenu/Generic.pm (660)!
Notice: Create Directory /opt/otrs/Kernel/Output/HTML/FAQOverview!
Notice: Install /opt/otrs/Kernel/Output/HTML/FAQOverview/Small.pm (660)!
Notice: Create Directory /opt/otrs/Kernel/Output/HTML/FilterElementPost!
Notice: Install /opt/otrs/Kernel/Output/HTML/FilterElementPost/FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/FilterElementPost/FAQAgentRelatedArticles.pm (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/FilterElementPost/FAQCustomerRelatedArticles.pm (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/HeaderMeta/AgentFAQSearch.pm (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/HeaderMeta/CustomerFAQSearch.pm (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/HeaderMeta/PublicFAQSearch.pm (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Layout/FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/LinkObject/FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentDashboardFAQOverview.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQAdd.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQCategory.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQDelete.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQEdit.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQExplorer.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQHistory.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQJournalOverviewSmall.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQLanguage.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQOverviewNavBar.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQOverviewSmall.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQRelatedArticles.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQSearch.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQSearchOpenSearchDescriptionFAQNumber.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQSearchOpenSearchDescriptionFulltext.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQSearchSmall.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQZoom.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/AgentFAQZoomSmall.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/CustomerFAQExplorer.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/CustomerFAQRelatedArticles.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/CustomerFAQSearch.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/CustomerFAQSearchOpenSearchDescriptionFAQNumber.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/CustomerFAQSearchOpenSearchDescriptionFullText.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/CustomerFAQSearchResultShort.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/CustomerFAQZoom.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/PublicFAQExplorer.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/PublicFAQSearch.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/PublicFAQSearchOpenSearchDescriptionFAQNumber.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/PublicFAQSearchOpenSearchDescriptionFullText.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/PublicFAQSearchResultShort.tt (660)!
Notice: Install /opt/otrs/Kernel/Output/HTML/Templates/Standard/PublicFAQZoom.tt (660)!
Notice: Install /opt/otrs/Kernel/System/Autocompletion/FAQ.pm (660)!
Notice: Create Directory /opt/otrs/Kernel/System/Console/Command/Admin/FAQ!
Notice: Install /opt/otrs/Kernel/System/Console/Command/Admin/FAQ/Import.pm (660)!
Notice: Create Directory /opt/otrs/Kernel/System/Console/Command/Maint/FAQ!
Notice: Install /opt/otrs/Kernel/System/Console/Command/Maint/FAQ/ContentTypeSet.pm (660)!
Notice: Install /opt/otrs/Kernel/System/DynamicField/ObjectType/FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/System/FAQ.pm (660)!
Notice: Create Directory /opt/otrs/Kernel/System/FAQ!
Notice: Install /opt/otrs/Kernel/System/FAQ/Category.pm (660)!
Notice: Install /opt/otrs/Kernel/System/FAQ/Language.pm (660)!
Notice: Install /opt/otrs/Kernel/System/FAQ/RelatedArticle.pm (660)!
Notice: Install /opt/otrs/Kernel/System/FAQ/State.pm (660)!
Notice: Install /opt/otrs/Kernel/System/FAQ/Vote.pm (660)!
Notice: Install /opt/otrs/Kernel/System/FAQSearch.pm (660)!
Notice: Install /opt/otrs/Kernel/System/LinkObject/FAQ.pm (660)!
Notice: Install /opt/otrs/Kernel/System/Stats/Static/FAQAccess.pm (660)!
Notice: Install /opt/otrs/scripts/test/Autocompletion/FAQ.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/Console/Command/Admin/FAQ!
Notice: Install /opt/otrs/scripts/test/Console/Command/Admin/FAQ/Import.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/Console/Command/Maint/FAQ!
Notice: Install /opt/otrs/scripts/test/Console/Command/Maint/FAQ/ContentTypeSet.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/DynamicField/ObjectType/FAQ!
Notice: Install /opt/otrs/scripts/test/DynamicField/ObjectType/FAQ/ObjectDataGet.t (660)!
Notice: Install /opt/otrs/scripts/test/FAQ.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/FAQ!
Notice: Create Directory /opt/otrs/scripts/test/FAQ/Category!
Notice: Install /opt/otrs/scripts/test/FAQ/Category/AgentCategorySearch.t (660)!
Notice: Install /opt/otrs/scripts/test/FAQ/Category/CategoryAdd.t (660)!
Notice: Install /opt/otrs/scripts/test/FAQ/Category/CheckCategoryUserPermission.t (660)!
Notice: Install /opt/otrs/scripts/test/FAQ/Category/CheckCustomerUserCategory.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/FAQ/Explorer!
Notice: Install /opt/otrs/scripts/test/FAQ/Explorer/CountSubCategories.t (660)!
Notice: Install /opt/otrs/scripts/test/FAQ/RelatedArticle.t (660)!
Notice: Install /opt/otrs/scripts/test/FAQ/UpgradeLowerThan5092.t (660)!
Notice: Install /opt/otrs/scripts/test/FAQSearch.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/FAQSearch!
Notice: Install /opt/otrs/scripts/test/FAQSearch/InConditionGet.t (660)!
Notice: Install /opt/otrs/scripts/test/GenericInterface/FAQConnector.t (660)!
Notice: Install /opt/otrs/scripts/test/sample/FAQ-Test1.doc (660)!
Notice: Install /opt/otrs/scripts/test/sample/FAQ-Test1.pdf (660)!
Notice: Install /opt/otrs/scripts/test/sample/FAQ.csv (660)!
Notice: Create Directory /opt/otrs/scripts/test/sample/GenericInterface!
Notice: Create Directory /opt/otrs/scripts/test/sample/GenericInterface/FAQ!
Notice: Install /opt/otrs/scripts/test/sample/GenericInterface/FAQ/GI-FAQ-Test-utf8-1.bin (660)!
Notice: Install /opt/otrs/scripts/test/sample/GenericInterface/FAQ/GI-FAQ-Test-utf8-1.txt (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/AgentFAQAdd.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/AgentFAQCategory.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/AgentFAQDelete.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/AgentFAQEdit.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/AgentFAQExplorer.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/AgentFAQHistory.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/AgentFAQJournal.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/AgentFAQLanguage.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/AgentFAQLinkObject.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/AgentFAQPrint.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/AgentFAQSearch.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/AgentFAQZoom.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/Selenium/Agent/FAQ!
Notice: Install /opt/otrs/scripts/test/Selenium/Agent/FAQ/RelatedArticles.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Customer/CustomerFAQExplorer.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Customer/CustomerFAQPrint.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Customer/CustomerFAQSearch.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Customer/CustomerFAQZoom.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/Selenium/Customer/FAQ!
Notice: Install /opt/otrs/scripts/test/Selenium/Customer/FAQ/RelatedArticles.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Output/Dashboard/FAQ.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/Selenium/Output/FAQJournalOverview!
Notice: Install /opt/otrs/scripts/test/Selenium/Output/FAQJournalOverview/Small.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/Selenium/Output/FAQMenu!
Notice: Install /opt/otrs/scripts/test/Selenium/Output/FAQMenu/Generic.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/Selenium/Output/FAQOverview!
Notice: Install /opt/otrs/scripts/test/Selenium/Output/FAQOverview/Small.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/Selenium/Output/HeaderMeta!
Notice: Install /opt/otrs/scripts/test/Selenium/Output/HeaderMeta/AgentFAQSearch.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Output/HeaderMeta/CustomerFAQSearch.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Output/HeaderMeta/PublicFAQSearch.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/Selenium/Output/LinkObject!
Notice: Install /opt/otrs/scripts/test/Selenium/Output/LinkObject/FAQ.t (660)!
Notice: Create Directory /opt/otrs/scripts/test/Selenium/Public!
Notice: Install /opt/otrs/scripts/test/Selenium/Public/PublicFAQExplorer.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Public/PublicFAQPrint.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Public/PublicFAQRSS.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Public/PublicFAQSearch.t (660)!
Notice: Install /opt/otrs/scripts/test/Selenium/Public/PublicFAQZoom.t (660)!
Notice: Create Directory /opt/otrs/scripts/webservices!
Notice: Install /opt/otrs/scripts/webservices/GenericFAQConnectorREST.yml (660)!
Notice: Install /opt/otrs/scripts/webservices/GenericFAQConnectorSOAP.yml (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/js/FAQ.Agent.ConfirmationDialog.js (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/js/FAQ.Agent.FAQ.js (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/js/FAQ.Agent.FAQZoom.js (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/js/FAQ.Agent.RelatedArticles.js (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/js/FAQ.Agent.TicketCompose.js (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/js/FAQ.Customer.FAQZoom.js (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/skins/Agent/default/css/FAQ.Agent.Default.css (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/skins/Agent/default/css/FAQ.Agent.Detail.css (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/skins/Agent/default/img/help-small.png (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/skins/Customer/default/css/FAQ.Customer.Default.css (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/skins/Customer/default/css/FAQ.Customer.Detail.css (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/skins/Customer/default/css/FAQ.FAQZoom.css (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/skins/Customer/default/css/FAQ.RelatedArticles.css (660)!
Notice: Install /opt/otrs/var/httpd/htdocs/skins/Customer/default/css/FAQ.Widget.css (660)!
Notice: Create Directory /opt/otrs/var/packagesetup!
Notice: Install /opt/otrs/var/packagesetup/FAQ.pm (660)!
Notice: Install /opt/otrs/var/stats/FAQ-FAQAccess.xml (660)!
Notice: Create Directory /opt/otrs/doc/en!
Notice: Install /opt/otrs/doc/en/FAQ_en.pdf (660)!


ERROR: OTRS-otrs.Console.pl-Admin::Package::Reinstall-10 Perl: 5.36.0 OS: linux Time: Thu Feb 13 14:06:49 2025

 Message: Setting Package::RepositoryList Effective value is not correct: Its not an array!

 Traceback (89250):
   Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3487
   Module: Kernel::System::Package::_ConfigurationDeploy Line: 4664
   Module: Kernel::System::Package::PackageReinstall Line: 719
   Module: Kernel::System::Console::Command::Admin::Package::Reinstall::Run Line: 86
   Module: (eval) Line: 461
   Module: Kernel::System::Console::BaseCommand::Execute Line: 455
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
   Module: bin/otrs.Console.pl Line: 37

Code:

        # create the package name
        my $CodeModule = 'var::packagesetup::' . $Param{Structure}->{Name}->{Content};

        $Kernel::OM->Get($CodeModule)->CodeReinstall();

[Thu Feb 13 14:06:49 2025] otrs.Console.pl: DBD::mysql::db do failed: Duplicate entry 'external (customer)' for key 'faq_state_name' at /opt/znuny-6.5.13/Kernel/System/DB.pm line 497.
ERROR: OTRS-otrs.Console.pl-Admin::Package::Reinstall-10 Perl: 5.36.0 OS: linux Time: Thu Feb 13 14:06:49 2025

 Message: Duplicate entry 'external (customer)' for key 'faq_state_name', SQL: '
            INSERT INTO faq_state (name, type_id)
            VALUES ( ?, ? )'

 Traceback (89250):
   Module: Kernel::System::FAQ::State::StateAdd Line: 69
   Module: var::packagesetup::FAQ::_InsertFAQStates Line: 319
   Module: var::packagesetup::FAQ::CodeReinstall Line: 129
   Module: (eval) Line: 6
   Module: Kernel::System::Package::_Code Line: 3618
   Module: Kernel::System::Package::PackageReinstall Line: 723
   Module: Kernel::System::Console::Command::Admin::Package::Reinstall::Run Line: 86
   Module: (eval) Line: 461
   Module: Kernel::System::Console::BaseCommand::Execute Line: 455
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
   Module: bin/otrs.Console.pl Line: 37

[Thu Feb 13 14:06:49 2025] otrs.Console.pl: DBD::mysql::db do failed: Duplicate entry 'internal (agent)' for key 'faq_state_name' at /opt/znuny-6.5.13/Kernel/System/DB.pm line 497.
ERROR: OTRS-otrs.Console.pl-Admin::Package::Reinstall-10 Perl: 5.36.0 OS: linux Time: Thu Feb 13 14:06:49 2025

 Message: Duplicate entry 'internal (agent)' for key 'faq_state_name', SQL: '
            INSERT INTO faq_state (name, type_id)
            VALUES ( ?, ? )'

 Traceback (89250):
   Module: Kernel::System::FAQ::State::StateAdd Line: 69
   Module: var::packagesetup::FAQ::_InsertFAQStates Line: 319
   Module: var::packagesetup::FAQ::CodeReinstall Line: 129
   Module: (eval) Line: 6
   Module: Kernel::System::Package::_Code Line: 3618
   Module: Kernel::System::Package::PackageReinstall Line: 723
   Module: Kernel::System::Console::Command::Admin::Package::Reinstall::Run Line: 86
   Module: (eval) Line: 461
   Module: Kernel::System::Console::BaseCommand::Execute Line: 455
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
   Module: bin/otrs.Console.pl Line: 37

[Thu Feb 13 14:06:49 2025] otrs.Console.pl: DBD::mysql::db do failed: Duplicate entry 'public (all)' for key 'faq_state_name' at /opt/znuny-6.5.13/Kernel/System/DB.pm line 497.
ERROR: OTRS-otrs.Console.pl-Admin::Package::Reinstall-10 Perl: 5.36.0 OS: linux Time: Thu Feb 13 14:06:49 2025

 Message: Duplicate entry 'public (all)' for key 'faq_state_name', SQL: '
            INSERT INTO faq_state (name, type_id)
            VALUES ( ?, ? )'

 Traceback (89250):
   Module: Kernel::System::FAQ::State::StateAdd Line: 69
   Module: var::packagesetup::FAQ::_InsertFAQStates Line: 319
   Module: var::packagesetup::FAQ::CodeReinstall Line: 129
   Module: (eval) Line: 6
   Module: Kernel::System::Package::_Code Line: 3618
   Module: Kernel::System::Package::PackageReinstall Line: 723
   Module: Kernel::System::Console::Command::Admin::Package::Reinstall::Run Line: 86
   Module: (eval) Line: 461
   Module: Kernel::System::Console::BaseCommand::Execute Line: 455
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
   Module: bin/otrs.Console.pl Line: 37

ERROR: OTRS-otrs.Console.pl-Admin::Package::Reinstall-10 Perl: 5.36.0 OS: linux Time: Thu Feb 13 14:06:49 2025

 Message: Static object FAQAccess doesn't exist or static object already in use!

 Traceback (89250):
   Module: Kernel::System::Stats::ObjectModuleCheck Line: 1217
   Module: Kernel::System::Stats::Import Line: 1399
   Module: Kernel::System::Stats::StatsInstall Line: 1961
   Module: var::packagesetup::FAQ::CodeReinstall Line: 134
   Module: (eval) Line: 6
   Module: Kernel::System::Package::_Code Line: 3618
   Module: Kernel::System::Package::PackageReinstall Line: 723
   Module: Kernel::System::Console::Command::Admin::Package::Reinstall::Run Line: 86
   Module: (eval) Line: 461
   Module: Kernel::System::Console::BaseCommand::Execute Line: 455
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
   Module: bin/otrs.Console.pl Line: 37

Done.
otrs@test-klon:~$ bin/otrs.Console.pl Admin::Package::UpgradeAll
Fetching online repositories...
  Freebie Features... Done
  Znuny Open Source Add-ons... Done

Upgrading installed packages...
  All installed packages are already at their latest versions.

Done.
Die Kurzfassung:
  • su - otrs
  • bin/otrs.Console.pl Admin::Package::UpgradeAll ---> Bitte installiere FAQ neu
  • bin/otrs.Console.pl Admin::Package::Reinstall FAQ ---> FAQ wird neuinstalliert, jedoch mit 5 Fehlermeldungen
  • bin/otrs.Console.pl Admin::Package::UpgradeAll ---> FAQ ist aktuell

Nach einem Neustart, funktioniert das System auch ganz normal. Das FAQ ist mit vorher eingetragenen Daten vorhanden. Mir machen nur die Fehlermeldungen sorgen. Eine Deinstallation sollte man ja nicht ausführen, da sonst die Daten alle weg sind?
root
Administrator
Posts: 4232
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Update Znuny 6.5.13 - FAQ Modul Fehler

Post by root »

Hallo,

bei der erneuten Installation wird versucht initiale Daten zu schreiben und das schlägt fehl wenn es die schon gibt. Das ist in Znuny schon immer so gewesen und war auch schon bei OTRS 3.x der Fall. Und wenn man sich nicht so sehr auf das Wort ERROR fokussiert sonder mal die Meldung aufmerksam liest ist das auch m.E. verständlich was das passiert:

Code: Select all

[Thu Feb 13 14:06:49 2025] otrs.Console.pl: DBD::mysql::db do failed: Duplicate entry 'public (all)' for key 'faq_state_name' at /opt/znuny-6.5.13/Kernel/System/DB.pm line 497.
ERROR: OTRS-otrs.Console.pl-Admin::Package::Reinstall-10 Perl: 5.36.0 OS: linux Time: Thu Feb 13 14:06:49 2025

 Message: Duplicate entry 'public (all)' for key 'faq_state_name', SQL: '
            INSERT INTO faq_state (name, type_id)
            VALUES ( ?, ? )'
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Manfred89
Znuny newbie
Posts: 67
Joined: 14 Jun 2023, 21:44
Znuny Version: 6.5.11
Real Name: Manfred

Re: Update Znuny 6.5.13 - FAQ Modul Fehler

Post by Manfred89 »

Danke dir Roy, vor allem für die schnelle Antwort.
Post Reply