Ubuntu 18.04, PHP7.2 SQL, 10.3.12-MariaDB, ISPConfig3.1

Discussion in 'Installation/Configuration' started by Navman, Feb 1, 2019.

  1. Navman

    Navman New Member

    Hi,
    This is a new cloud server.
    First thing to install was ISPCONFIG
    Trying to replace an older server, so was hoping to migrate the old database.
    Once i installed ISPCONFIG - to the letter, i created a backup of the DB and then dropped in the existing DB.
    Seemed to work but could not get SSL to work with ISPConfig dashboard and or sites that where dropped in.
    After much troubleshooting, I tried to do a 'repair' install of ISPConfig but instead of running the auto-script to install i found an updated tutorial that when step by step.
    Everything went well, no real STOP errors.
    Still couldn't get SSL to work. - I tried to troubleshoot and diag, going through the Certbot tut step by step but to no avail.
    So, i reverted back to the 'clean install DB' that i created at the start and setup a client/site from new.
    ISPConfig writes to the DB - successful, creates symlinks and file structure on the server correclty but when the site is visited the browser is unable to view the page. DNS is correct and working but site is simply not accessible.
    So i tried to uninstall and start from scratch, but when attempting to run the uninstall.php it kept saying 'uninstall canceled' even when i said 'Y', I then found the thread - don't uninstall because you can't reinstall.
    As i am trying to start from scratch best i can i tried to delete the 'client' as this should remove all the /client1/web1 web2 web3 folders and start clean with /client2/ . Now when i create the Client the data is populated into the DB but the folder structure is not created. I know it takes a little while to populate the folder structure but even after writing this it has still not appeared.
    I've created the supporting files and when i run server.sh it leaves 2 blank lines and then reports 'finished' - so no errors reported?
    Any direction at this point would be great, thank you in advanced.
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This is not sufficient for migration an ISPConfig installation. Either use the Migration tool or do a full manual migration incl. web users, client groups, data from /var/www and /var/vmail etc. There are several threads that describe a manual migration here in the forum.

    If you want to debug why ISPConfig is not able to create folders on your server, use the debug function:

    https://www.faqforge.com/linux/debugging-ispconfig-3-server-actions-in-case-of-a-failure/
     
  3. Navman

    Navman New Member

    Hi,
    Yes, i see the error of my ways, hence i reverted back to the DB created during the install.
    I have completed the debugging-ispconfig-3-server-actions-in-case-of-a-failure.
    Below is the result:
    --------------------------------
    /usr/local/ispconfig/server/server.sh


    finished.
    --------------------------------

    Thank you for getting back to me, it's greatly appreciated.
    Anything further would be awesome.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to do the action that failed and then run the debug right afterwards. e.g. create a new website and then run server.sh
     
  5. Navman

    Navman New Member

    Hi,
    Unfortunately i received exactly the same result.
    Clean server install?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Hmm, are you really sure that you have set log level to debug under system > server config?
     
  7. Navman

    Navman New Member

    whoops that was 'send email to admin...' option set to debug.
    Results below:
    /usr/local/ispconfig/server/server.sh
    01.02.2019-09:29 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    01.02.2019-09:29 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    finished.
     
    Last edited: Feb 1, 2019
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    And you created a new site or did a similar action right before you run server.sh and the server.sh cronjob in root crontab is commented out? Are there any pending changes (red flashing dot in the ispconfig UI)?
     
  9. Navman

    Navman New Member

    Yes i created a new site.
    'newdomain.com'
    and then ran the script.
    No, there is no red flashing dot in the ispconfig UI.
    Sorry mate.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, then there must be something really wrong now in your installation. It's probably faster to do a reinstall and then use either migration tool or one of the guides here from the forum to move the ispconfig installation over to the new server completely.
     
  11. Navman

    Navman New Member

    So, install over the top or are you saying a reinstall of OS and then ISPConfig?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    You can try to uninstall ispconfig by using its uninstall script and then reinstall it. If this does not help, then reinstall the whole server from scratch.
     
  13. Navman

    Navman New Member

    yes, when i try to uninstall it asks 'are you sure' when i say yes, it replies with uninstall canceled.
    --I'll go ahead and reinstall the OS.
    Thank you so much for your time and patience.
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    uninstall is canceled only when the input is not 'yes', mybe you entered just y or Yes instead of yes
     

Share This Page