#PM2 WARN name doesn t exist
1 messages · Page 1 of 1 (latest)
pm2 status to find the name of your foundry instance there
Then pm2 describe thenameinthenamecolumn
Also run stat /home/ubuntu/foundryuserdata/Config/options.json and copypaste the result
@cold dove pulled you into a thread for cleanliness
When trying to pm2 restart I get
error: missing required argument `id|name|namespace|all|json|stdin'
Ok, see above, pm2 status that should give you a table with the name among other things.
Alright, so pm2 describe foundry
Ah..
There's the culprit then
pm2 delete foundry
pm2 start "node /home/ubuntu/foundry/resources/app/main.js --dataPath=/home/ubuntu/foundryuserdata" --name foundry
[PM2][WARN] Current process list is not synchronized with saved list. App foundry differs. Type 'pm2 save' to synchronize.
Is foundry now running properly?
Back at the start screen the user data path is good
All the modules i downloaded are not there
so they were being saved in the wrong place?
Do i need to delete all that stuff
Because you ran Foundry in a different userdata path since 2022-07-25 23:04
I hear ya... do I need to clean all that shit up?
no
Did you do anything besides downloading modules yet?
created some wolds that are no there either
Copypaste the output of ls -la /home/user/foundryuserdata/Data/
it was attempting to use fallback data pather /home/ubuntu/.local/share/FoundryVTT
Depending on whether you think it's worth recovering over recreating we can probably do that
I was just wondering if all the modules and worlds I installed and created were taking up space in /home/ubuntu/.local/share/FoundryVTT
They are
df -h to check how much free space you have left
Most non-asset modules are rather small
du -sh /home/ubuntu/.local/share/FoundryVTT shows you how big that folder is
If you haven't made any changes to your worlds that you need to retain since you switched to that path, you can delete that folder
rm -r /home/ubuntu/.local/share/FoundryVTT/, yes
Yes
Fair enough, yea, figured as much
I installed a bunch of modules and created a world that was installed too but nothing was working right. Maps and scenes were not loading and I felt something was off. I noticed the errors and figured something wasn't linking correctly
Thank you so much for all your help...
I'll buy you a virtual beer 🍺
It tried to start with userData set to /home/user/foundryuserdata which didn't exist, used the mentioned fallback and I think you then tried to override it via the UI and that made it angry
No worries, happy to help you out :)
Shoot
@alpine salmon
So I shut down my server after installing the world and modules. Everything worked fine. Slowly figuring out things.
I shut down and when I started the server again I am running into the license page again.
Is there something wrong with pm2?
I got the requested path not found again
I was confused when setting up and installed under root since I didn't see root in my username not knowing the name of the server was root.
The data path reverted back to /home/user/foundryuserdata
If I follow your instruction from before and pm2 delete foundry and pm2 start .... it works fine.
Did you pm2 save?