Intermittent Auto-start issue with PMS

I am having intermittent auto-start issue with my PMS that i have been dealing with for a while now.

I am using a custom configuration and have done the recommended steps with the override file

But it seems most times when i reboot the server PMS fails to start.

Override file:

Change the UMask to Umask, still unable to start on boot up

When i start it manual i get below

Note that service does start up fine if i start it manually.

System:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION=“Ubuntu 16.04.3 LTS”
NAME=“Ubuntu”
VERSION=“16.04.3 LTS (Xenial Xerus)”

PMS: Version 1.11.0.4666

I need help, must be missing something. Thanks.

What does your override.conf contain?

screenshot in the original problem description

Sorry for the delay. I was detained.

As I stated in the configuration doc, Some hosts want UMask and others want Umask. It looks like you system is stricter on autostart versus manual start. That’s an interesting twist.

Have you edited the override and performed the systemctl daemon-reload to update it?

Yea, perform reload on every change to the override.

Steps is have tried:
Tried with UMask and 0002
Tried with Umask and 0002
Tried getting UMask from /etc/login.defs

Tried with UMask and 0022
Tried with Umask and 0022

Still same issue.

what distro and version is that? I’ve not seen both fail.

System:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION=“Ubuntu 16.04.3 LTS”
NAME=“Ubuntu”
VERSION=“16.04.3 LTS (Xenial Xerus)”

PMS: Version 1.11.0.4666

Crap… Be right back. I will spin up a specific 16.04.3 VM to confirm but it looks like we’re dealing with a Ubuntu bug.

I just created a fresh 16.04.3 VM

  1. Ubuntu no longer allows Umask=xxxx
  2. Ubuntu does allow UMask=xxxx

Please remember to issue `systemctl daemon-reload after changing the value but before restarting and try again?

I went over the steps again to confirm everything, it all looks good but PMS still failing on start-up. Guessing the issue is not with the config file?

Steps:

Error:

That must be something on your machine, unfortunately.

I’ve built a full fresh VM and cannot replicate both failing.

I did make a notation about the change in 16.04.3 regarding UMask but otherwise it is solid on autostart.

Closing loop on this.

Was finally able to detect and resolve the issue with ‘Intermittent Auto-start issue with PMS’ last month and i thought i share.

The issue was with the PMS service starting before the data disk with configuration is mounted. resolved issue by putting a 30 seconds delay on the override file.

ExecStartPre=/bin/sleep 30