Hi,
I’m self-hosting Press Console and trying to move a site from one app server to another.
Here’s my setup:
- Two app servers:
app1
andapp3
- Both use the same DB server
- A bench already exists on the destination app server
When I try to change the server using the Press UI or by creating a Site Migration
manually in code, I get this error:
python
CopyEdit
raise NotImplementedError
It happens in this part of the code:
python
CopyEdit
if source_db == destination_db:
raise NotImplementedError
From what I understand, this check is there to avoid conflicts when restoring a site to the same DB server. But in my case, each site has a unique database name, so a migration should be possible if the site is archived before restoring.
Just wanted to know:
- Has anyone else faced this issue?
- What’s the correct way to handle this kind of migration when both app servers use the same database server?
- Is it safe to patch the code and handle this manually by adjusting the step order?
Any help or suggestions would be appreciated.
Thanks.