Ansicht von 1 Antwort-Thema
  • Autor
    Beiträge
    • #35199
      Carlo Varnero
      Teilnehmer

        Hi, i’m facing a redirection loop after updating from version 11.0.8 to 11.0.9.

        Right after login Agent is faced with a page where you have to click on a link to accept changes: https://xxxxx/otobo/index.pl?Action=AgentInfo;Accept=1

        Clicking on the link causes a redirection loop. What have I missed in the upgrade procedure?

        loop:

        xxxxxx - - [15/May/2025:11:00:34 +0200] "GET /otobo/index.pl?Action=AgentInfo;Accept=1 HTTP/1.1" 302 240 "https://xxxxxx/otobo/index.pl?Action=AgentInfo" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15"
        xxxxxx - - [15/May/2025:11:00:34 +0200] "GET /otobo/index.pl?Action=AgentInfo;Accept=1 HTTP/1.1" 302 240 "https://xxxxxx/otobo/index.pl?Action=AgentInfo" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15"
        xxxxxx - - [15/May/2025:11:00:34 +0200] "GET /otobo/index.pl?Action=AgentInfo;Accept=1 HTTP/1.1" 302 240 "https://xxxxxx/otobo/index.pl?Action=AgentInfo" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15"
        xxxxxx - - [15/May/2025:11:00:34 +0200] "GET /otobo/index.pl?Action=AgentInfo;Accept=1 HTTP/1.1" 302 240 "https://xxxxxx/otobo/index.pl?Action=AgentInfo" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15"

        this is how the upgrade has been done:

        as root
        systemctl stop postfix
        systemctl stop apache2
        systemctl stop cron

        as user otobo:
        cd /opt/otobo
        bin/Cron.sh stop
        bin/otobo.Daemon.pl stop

        as root:
        cd otobo-install/
        cp -r otobo-11.0.9/* /opt/otobo
        cd ..
        cp backup/Config.pm otobo/Kernel/
        /opt/otobo/bin/otobo.SetPermissions.pl –skip-article-dir

        as user otobo:
        perl /opt/otobo/bin/otobo.CheckModules.pl –list
        /opt/otobo/bin/otobo.Console.pl Admin::Package::ReinstallAll
        /opt/otobo/bin/otobo.Console.pl Admin::Package::UpgradeAll
        /opt/otobo/bin/otobo.Console.pl Maint::Config::Rebuild
        bin/otobo.Daemon.pl start
        bin/Cron.sh start

        as root:
        systemctl start postfix
        systemctl start apache2
        systemctl start cron

         

        regards

      • #35200
        Sven Oesterling
        Administrator

          Hi Carlo,

          this is a regression of the latest patch which was overlooked. I just fixed it in the code: https://github.com/RotherOSS/otobo/issues/4342 We will plan another patch, asap.

          To fix it on your side before that, please either directly swap the affected file on your system. (Download it from github: https://github.com/RotherOSS/otobo/blob/rel-11_0/Kernel/Modules/AgentInfo.pm (or wget https://github.com/RotherOSS/otobo/raw/refs/heads/rel-11_0/Kernel/Modules/AgentInfo.pm) and just copy it to your Kernel/Modules/AgentInfo.pm.) Or alternatively temporarily disable the AgentInfo functionality by running the following Console command, which will reset the SysConfig setting:

          bin/otobo.Console.pl Admin::Config::Update --setting-name 'PreApplicationModule###AgentInfo' --valid 0

          Sorry for the inconvenience, Sven

      Ansicht von 1 Antwort-Thema
      • Du musst angemeldet sein, um auf dieses Thema antworten zu können.