Articles in this section

Plesk Sitejet builder tries to create a new site even though the domain already exists in Sitejet

Plesk for Windows Plesk for Linux kb: technical ext: sitejet

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Symptoms

After moving a Sitejet published website to new server, Sitejet no longer opens the existing website but instead creates a new one with the option to choose a template.

Cause

Sitejet assigned a new website ID on the new Plesk installation, and it's not connecting to the correct Sitejet website in the cloud.

Resolution

Update the Sitejet website ID in the Plesk database to match the existing site.

  1. Open the affected website in a web browser
  2. Press Ctrl + U on the keyboard to view the source code
  3. Search for "webcard.id" to find the website ID (e.g. 111111)
  4. Log in to the Plesk server over SSH
  5. Backup the Plesk database:

    # plesk db dump psa > sitejet_backup.sql

  6. Update the Sitejet website ID on the database:

    Note: replace <sitejet_website_id> with the one from step 3, and example.com with the affected domain

    # plesk db -e "REPLACE INTO dom_param (dom_id, param, val) SELECT id as dom_id, 'ext-plesk-sitejet-website_id' as param, <sitejet_website_id> as val FROM domains WHERE name ='example.com'"

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.