• Support
  • Configuration file mismatch caused by reinstalling Nginx fixed

aaPanel_Kern
I pressed Y to confirm the installation.
A new panel was installed.
The new panel does not see all the sites, does not see all the databases, does not see all the installed applications.
How can I return all the data from the old panel?

    Hello, what have you done before this? Overwrite the installation and will not lose information, and the aapanel username and password will be replaced.

    Spido

      aaPanel_Kern

      I uninstalled AAPanel using the command:
      wget -O uninstall.sh http://download.bt.cn/install/bt-uninstall.sh && bash uninstall.sh

      Then I reinstalled it using the command:

      URL=https://www.aapanel.com/script/install_7.0_en.sh && if [ -f /usr/bin/curl ];then curl -ksSO "$URL" ;else wget --no-check-certificate -O install_7.0_en.sh "$URL";fi;bash install_7.0_en.sh aapanel

      I did not make a backup panel.
      I thought that I could only delete the panel script and then install the new panel script, without loss of the configuration of the panel and server.
      But apparently, I was mistaken.

      What folders, earlier, should I make a backup?

        aaPanel_Kern

        How was I supposed to correctly correct the error "Configuration file mismatch caused by reinstalling Nginx fixed"?
        What should be my right actions?

          aaPanel_Kern

          I installed many applications from the Aapanel app store, including Nginx.
          Nginx error arose after an emergency shutdown of the server.
          When starting the server, I received an error as indicated in the screenshot, at the beginning of this topic.


          Hello,
          Is there any error message when changing the crit of the main configuration file to debug, and after saving it, restarting the configuration?

          aaPanel_Kern

            aaPanel_Kern

            I can’t check it now.
            I have already restored a virtual machine with a server from a backup of a virtual machine.

              aaPanel_Kern

              Hello,
              Now yes, everything is fine.
              But such a problem can be repeated, but there is no information how to solve this problem without loss of data.

              Hello, you need to solve the problem based on the error message prompted

              Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com