Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

Migrating

Move products and servers from the Paymenter Proxmox extension to Proxmox VE.

On this page

Proxmox VE uses its own folder and name, so it runs next to the Paymenter Proxmox extension. Your servers keep running during the move. One command moves your products and servers over, shows a dry run first, checks everything before it changes anything, and can undo the move. If something fails halfway, nothing is changed.

Step 1: Make a backup#

Back up the Paymenter database before you start.

Step 2: Install Proxmox VE#

Upload the extension as shown in Quick setup. Leave the Proxmox folder of the old extension in place.

Step 3: Add one Proxmox VE server#

Add a server with the extension Proxmox VE and fill in the same Proxmox URL and API token as your location in the old extension. Press Test Connection. Paymenter only loads the migration command once a Proxmox VE server exists.

The command reuses this server for every location with the same URL and token. For a location with another URL or token, it creates a new server named after the location.

The token of the old extension often has full access. If it is limited, give it the role from Preparing Proxmox on the pool that holds your servers and templates.

Step 4: Check the plan#

cd /var/www/paymenter
php artisan proxmoxve:migrate --dry-run

This only shows what will happen, per product: the server it moves to, the templates, the IP pool and every service with its VMID, node and IP addresses. Nothing is changed. Without --apply the command always does a dry run.

The dry run also checks that the API token can reach Proxmox and can see every server and template. Problems are marked with x; as long as there is one, --apply refuses to run. Lines marked with ! are warnings about settings that cannot be carried over.

Step 5: Migrate#

php artisan proxmoxve:migrate --apply

To move one location first, add the IDs of its products: --product=4 --product=5. Products that share a location or IP addresses must move together, otherwise both extensions could give out the same IP address; the command tells you which IDs to add. Services that were already moved are skipped.

Everything is written in one database transaction. If any step fails, including saving the backup file, the whole migration is rolled back and both extensions keep working as before.

The command saves the old values in storage/app/proxmoxve-migrations/ and prints the undo command. Run it without --apply first to see what it will do. To move everything back:

php artisan proxmoxve:migrate --rollback="storage/app/proxmoxve-migrations/migration-20261120-154845.json" --apply

Undo is no longer possible once Proxmox VE has created a new server for one of these products, because the old extension cannot manage it. The command tells you which services block it.

What is carried over#

  • The Proxmox URL and API token of each location.
  • The product settings: CPU, memory, disk, network card, speed limit, resource pool, backups and start after creation.
  • The operating systems of the location as templates, with their names.
  • The IP addresses of the location as IPv4 and IPv6 pools, with their MAC addresses.
  • Every server: VMID, node, template, hostname, IP addresses and suspended state. The VMs in Proxmox are not touched.
  • Orders that were not set up yet keep their chosen operating system.
  • Configurable options named ipv4, ipv6, ratelimit and backups are renamed to ipv4_count, ipv6_count, rate and backup_limit. Options that are also linked to products you did not move yet are left alone and shown as a warning.

What is not carried over#

  • The monthly bandwidth limit and traffic counter.
  • Placement over several nodes in a location. New virtual machines are created on the node that holds the template; move templates or use one product per node if you need to spread them.
  • A custom MTU on the IP pool. Existing servers keep it.
  • When the IP pools of a location use different bridges or VLANs, the first one is used.
  • IPv6 is given out from the whole prefix of your addresses, not only from the listed addresses.
  • Server passwords. The old extension does not store them; customers can set a new one in the Server tab.

Snapshots are off for migrated products (snapshot limit 0) and customer firewall rules follow the firewall setting of the IP pool. Change both in the product settings if you want to offer them.

Step 6: Remove the old extension#

Once every product runs on Proxmox VE and you have checked a few servers, delete the old Proxmox server under Extensions → Servers and remove the extensions/Servers/Proxmox folder. Until then customers still see the old Servers page next to the new Server tab; both control the same VM.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.