Get the most out of your Centmin Mod LEMP stack
Become a Member

Xenforo Making duplicate live site to test XF 2.3

Discussion in 'Forum software usage' started by Andy, Jul 5, 2024.

  1. Andy

    Andy Active Member

    546
    90
    28
    Aug 6, 2014
    Ratings:
    +134
    Local Time:
    11:48 PM
    Now that XF 2.3 RC has been released, I'm attempting to create a /test/ folder on my live site and install a copy of my site there for testing.

    This is the guide I have followed
    How to duplicate a live site to use as a test site

    Afterward, I go to the livesite/test/ expecting to see a copy of the site but it's blank with no errors at all.
    I couldn't login to ACP from /test/admin.php because it's blank as well.


    There is no error from nginx, server, etc.

    Where do I start to investigate the issues? Alternatively, is there a guide for centminmod users to make a duplicate site for testing?
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    2:48 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Easier to just setup a subdomain.domain.com on as new site on Centmin Mod so /home/nginx/domains/subdomain.domain.com/public web root for Xenforo, copy data there and then update xenforo domain and test.
     
  3. Andy

    Andy Active Member

    546
    90
    28
    Aug 6, 2014
    Ratings:
    +134
    Local Time:
    11:48 PM
    Just use option 2 in the centminmod menu to create a new vhost?
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    2:48 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  5. modder

    modder Member

    127
    16
    18
    Dec 6, 2019
    Ratings:
    +27
    Local Time:
    12:48 PM

    Can/Should the test site and live site share the same database? Is there a tutorial showing how to do the test site?
     
  6. Jon Snow

    Jon Snow Active Member

    917
    188
    43
    Jun 30, 2017
    Ratings:
    +293
    Local Time:
    1:48 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    No.

    Read the guide from the first post and follow its instructions.
     
  7. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    2:48 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Yeah read the guide, you need to backup MySQL database and create a new MySQL database and restore the backup to that new MySQL database for test site to use.