Issue
Post setting up a new PWA instance, the queue jobs are stuck with the message "Waiting to be processed".
Analysis
Ensured that
- Central Admin shows the PWA instance is in Provisioned state
- The services Microsoft Project Server Events Service 2013 and Microsoft Project Server Queue Service 2013 are running
Executed the below command in PowerShell
Get-SPProjectWebInstance -URL "https:server/pwa"
The output had an entry ProvisioningStatus as Failed.
Resolution
Executed the below command in PowerShell
Upgrade-SPProjectWebInstance -Identity "https:server/pwa"
This will take a while to complete, post which execute the command
Get-SPProjectWebInstance -URL "https:server/pwa"
ensure that the ProvisioningStatus is Provisioned now.