Thread "setup: The page isn't redirecting properly (Umleitungsfehler)"

Tabs

  • Deleted
    Deleted | 19. Jul 2018, 01:08
    setup: The page isn't redirecting properly (Umleitungsfehler)
    Hello!

    I am new to ILIAS and trying to install it.
    I followed the guide (https://www.ilias.de/docu/goto_docu_lm_367.html). When I reached the section "Installation Wizard" and tried to load mysite.tdl/setup/setup.php Firefox kept saying:
    "Problem loading page" with detail "The page isn't redirecting properly | Firefox has detected that the server is redirecting the request for this address in a way that will never complete. | This problem can sometimes be caused by disabling or refusing to accept cookies."

    Apache error log is empty. Apache access log repeats:
    "GET /setup/setup.php? HTTP/1.1" 302 513 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"

    Search engines revealed only "Check the settings concerning cookies in the browser".
    I checked the Firefox (52.9.0 / 64-Bit on debian 9) settings several times (incl. deleting cookies) and tried "Safe Mode", didn't help.

    Environment: Debian stretch; Apache/2.4.25 (Debian); ilias 5.3; PHP 7.0, mariadb  Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2;

    Could anyone please help me finding more information to identify the reason or even have a solution?

    Thank you,
    Gert
  • Deleted
    Deleted | 19. Jul 2018, 22:10
    Re: setup: The page isn't redirecting properly (Umleitungsfehler)
    Hello all!

    While reversing every step of the installation guide I could identify 'session.cookie_secure = On' as the cause.
    I reverted it to the default 'session.cookie_secure =' and the setup-page shows up.

    cu,
    Gert
  • pascal.schmitt
    pascal.schmitt | pascal.schmitt (Moderation) | 20. Jul 2018, 08:10
    Re(2): setup: The page isn't redirecting properly (Umleitungsfehler)
    Hi Gert

    Thanks for sharing your solution!

    Greetings, Pascal
  • kalamun
    kalamun | kalamun | 20. May 2023, 18:29
    Re: setup: The page isn't redirecting properly (Umleitungsfehler)

    I'm just a few year late on this :-) but since this page is well indexed I prefer to leave a response for who, in 2023, has the same issue - me for example.

    I checked the logs in the log directory and I found that ILIAS was not able to create the directory ilias-data/[client-id]/temp.
    It was happening because the ilias-data/[client-id] directory wasn't configured with the right permissions.

    So I run chown -R www-data:www-data [client-id] and chmod -R 775 [client-id] and it fixed the issue.

    (obviously you have to replace the [client-id] with your actual client id)

  • bastian.schmidt-kuhl
    bastian.schmidt-kuhl | bastian.schmidt-kuhl | 10. Jul 2023, 18:01
    Re (2): setup: The page isn't redirecting properly (Umleitungsfehler)
    Thank you so much! This was exactly what needed fixing in my case to resolve the error.
  • luggie91
    luggie91 | luggie91 | 7. Jul 2024, 10:08
    Re (2): setup: The page isn't redirecting properly (Umleitungsfehler)
    When did you change this? While/before/after installation?
  • luggie91
    luggie91 | luggie91 | 7. Jul 2024, 10:09
    Re (2): setup: The page isn't redirecting properly (Umleitungsfehler)
    In my case, there is no output in any error or log. The page isn't redirecting right after I installed everything and after I try to log in for the first time
  • luggie91
    luggie91 | luggie91 | 15. Jul 2024, 10:15
    Re: Re (2): setup: The page isn't redirecting properly (Umleitungsfehler)
    Disabling forced https rerouting sovles this for me