How to Change the IP Address in Pickcel On-Premise Setup?

How to Change the IP Address in Pickcel On-Premise Setup?

To update the IP address for your on-premise Pickcel deployment, you need to modify two files and then restart the server. Follow the steps below:

Edit the .env File

  1. Log in to your server terminal.

  2. Open the .env file using the nano editor(or vi whichever you are using): In this example: nano .env

  3. Locate the following lines and replace the existing IP address with the new one:

    > SERVER_NAME= your.new.ip.address
    > PICKCEL_SERVER_HOST=http://<your.new.ip.address>
    
  4. After making the changes, save the file: Press Ctrl + X. Then press Shift + S to save and exit

Update the NGINX Configuration

  1. Open the NGINX config file: nano nginx/nginx.conf

  2. Scroll to the bottom of the file and update the IP address where it's mentioned.

  3. Save and exit by pressing: Ctrl + X, then Shift + S

 Restart the Server

Run the following commands to restart your Pickcel server with the new configuration:

> sudo docker compose down
> sudo docker compose up -d --build

After the restart, your Pickcel server will be accessible using the new IP address.

Should you encounter difficulties, please contact support at contact@pickcel.com for assistance.