• Support
  • 503 Service Unavailable after updating aaPanel to latest version

Hello, after updating to aaPanel latest version via the browser interface (not ssh) I am not able to access the aaPanel browser link anymore. It says:

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache Server at aapanel.mywebsite.com Port 443

Please note i am able to log in to the server with ssh and I am also able to open the websites on the server. The problem is accessing aaPanel via the browser interface. Before upgrading, all worked fine. Is there a way to downgrade aapanel to version 6 or some other solution to this. I really need to restore my aapanel access.

  • aaPanel_Kern replied to this.
  • Hello, what user operation are you using? Please use root privileges to execute the command
    sudo mv /www/server/panel/pyenv /www/server/panel/pyenv_bak
    sudo rm -f /tmp/update_to7.pl && sudo curl -k https://node.aapanel.com/install/update_7.x_en.sh | sudo bash

    Badan

    Hello, you are visiting the website instead of aapanel. Are you using a proxy?
    Apache is a web service that provides websites.
    Use the execute command to view bt 14 to see if the full link is used?

    Badan

      aaPanel_Kern, yes, I am using a reverse proxy to access aaPanel without the :7800 alias.

      This is what happens when i run sudo bt 14 with ssh:

      Error processing line 1 of /www/server/panel/pyenv/lib/python3.12/site-packages/distutils-precedence.pth:
      Fatal Python error: init_import_site: Failed to import the site module
      Python runtime state: initialized
      Traceback (most recent call last):
        File "<frozen site>", line 195, in addpackage
        File "<string>", line 1, in <module>
      ModuleNotFoundError: No module named '_distutils_hack'

        Hello, can executing this command to update to the latest version solve the problem?
        mv /www/server/panel/pyenv /www/server/panel/pyenv_bak
        rm -f /tmp/update_to7.pl && curl -k https://node.aapanel.com/install/update_7.x_en.sh | bash

        Badan

          I also tried updating the aaPanel with ssh but i am getting this error:

          sudo curl -k https://node.aapanel.com/install/update_7.x_en.sh | bash

          /www/server/panel/pyenv/bin/python Does not exist, cannot determine python version
          /www partition currently available space: 14 G
          Backup old pyenv
          mv: cannot move '/www/server/panel/pyenv_update-panel' to '/www/server/panel/pyenv_update-panel_2024_12_25_10_12_23': Permission denied
          mv: cannot stat '/www/server/panel/pyenv_update-panel/pyenv': Permission denied
          main: line 57: [: !=: unary operator expected
          main: line 59: [: !=: unary operator expected
          main: line 61: [: !=: unary operator expected
          https://pypi.org/simple
          main: line 630: /www/disk.pl: Permission denied
          ============== Update Failed! ===============
          ERROR: Install python env fielded.
          ERROR: path [www] cannot be written, please check the directory/user/disk permissions

            aaPanel_Kern I tried both of these commands but still the same:
            /www/server/panel/pyenv/bin/python Does not exist, cannot determine python version

            Hello, what user operation are you using? Please use root privileges to execute the command
            sudo mv /www/server/panel/pyenv /www/server/panel/pyenv_bak
            sudo rm -f /tmp/update_to7.pl && sudo curl -k https://node.aapanel.com/install/update_7.x_en.sh | sudo bash

            Badan