Run Chirpstack v3 and v4 in parallel, same VM, officel .deb packages

Viewed 13

Hi.

I would like to ask again a question I asked in the old forum. It didn't get any answer, perhaps because it was buried in a question with a wider scope.

Basically, (last time I checked) nothing in the official Debian packages prevents installing chirpstack v4 in parallel with chirpstack v3 (app and network) packages.

Assuming I use different virtual hosts, URLs and databases, is there any reason installing both on the same VM could fail? Like both versions erasing each other's files, or pointing to the same config files?

Is everything securely isolated, or may I run in all sorts of trouble if I do that?

Thanks.

1 Answers

There is no reason why this should not work, assuming they are using different databases and port-numbers (e.g. you can't have two processes binding to 8080 which ChirpStack uses by default).

Yes, I have in mind the DB and port issues.

Just wanted to double-check installation files were not located in the same directory, for instance, which would lead to a package erasing the other package's files. Or both softwares looking for a config file at the same location. Or any other reason I didn't even think of.

Thanks for answering! I'll try that.

This allows me to keep v3 running for our gateways in the wild until we're done with them.