Instruction for change of machine of my app server #62

Closed
opened 2020-09-20 10:05:56 +00:00 by Ghost · 3 comments

What are the steps to follow in case the server code is run from old machine (let's say a pi2) to a new machine (a pi4).

  • Copy greenlock folder only?
    OR - recreate certificate gpx?
What are the steps to follow in case the server code is run from old machine (let's say a pi2) to a new machine (a pi4). - Copy greenlock folder only? OR - recreate certificate gpx?
Owner

There's no need to re-create certificates. Copy the data and re-deploy the repo and you should be good.

Make sure that the FILE PERMISSIONS are correct on the new device.

Example:

sudo chown -R pi:pi /path/to/project
There's no need to re-create certificates. Copy the data and re-deploy the repo and you should be good. Make sure that the FILE PERMISSIONS are correct on the new device. Example: ```bash sudo chown -R pi:pi /path/to/project ```
Owner

Also: You'll need to be careful about your node version and node_modules. RPi 2 was ARMv7 (32-bit) and RPi 4 is ARMv8 (64-bit). All native modules will break and need to be reinstalled.

Also: You'll need to be careful about your node version and `node_modules`. RPi 2 was ARMv7 (32-bit) and RPi 4 is ARMv8 (64-bit). All native modules will break and need to be reinstalled.
Author

There’s no need to re-create certificates. Copy the data (repo grennlock.d) and re-deploy the repo and you should be good.

Make sure that the FILE PERMISSIONS are correct on the new device.

Example:

sudo chown -R pi:pi /path/to/project

You’ll need to be careful about your node version and node_modules. RPi 2 was ARMv7 (32-bit) and RPi 4 is ARMv8 (64-bit). All native modules will break.

There’s no need to re-create certificates. Copy the data (repo grennlock.d) and re-deploy the repo and you should be good. Make sure that the FILE PERMISSIONS are correct on the new device. Example: sudo chown -R pi:pi /path/to/project You’ll need to be careful about your node version and node_modules. RPi 2 was ARMv7 (32-bit) and RPi 4 is ARMv8 (64-bit). All native modules will break.
Ghost closed this issue 2020-09-21 19:17:36 +00:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: root/greenlock-express.js#62
No description provided.