Clients losing profiles

Since implementing Pritunl, I’ve had many reports from users saying that their VPN profiles have gone missing. They’ll open the client, and no profiles are available, and we have to reimport it. This has happened on the current version of the Pritunl client, and the previous.

A couple of times, I’ve seen it where the profile will be missing, we’ll reimport the profile, and then open the profile options, select the system profile and auto-start, hit save, and then the profile will be missing again. In these cases, I’ve had to completely reinstall the client, and reimport to resolve.

Any potential causes or ways to prevent this?

Changing a profile to a system profile will move it to the system profiles directory outside the user home directory. It’s possible there is an issue with this. The client debugging documentation lists these paths, verify the paths exist and check for errors in the service log. The system profiles are also converted to a json format and require additional values to be configured. Older versions or Pritunl or non-Pritunl servers may not have these values set which would cause an error when parsing it.