#BeeJay 2 Instances
1 messages ยท Page 1 of 1 (latest)
Okay here is what I think is happening
I think for whatever reason the 2nd instance isn't getting a valid --dataPath and so it's defaulting to the default data path
We can test this by removing the default location options.json since you're defining the dataPath for both instances
You are correct. as soon as i stop foundry the fvtt goes this way
Lets stop both instances of foundry and then rename the default options.json
Yeah that's intersting
rename both config files?
No here is what we are going to do
stop both instances
mv /home/bjjn/.local/share/FoundryVTT/Config/options.json /home/bjjn/.local/share/FoundryVTT/Config/options.json.bak
Then start the first instance. Then if it is using the proper dataPath argument cat /home/bjjn/.local/share/FoundryVTT/Config/options.json should be blank
if it has an output it's because the argument isn't being passed
I had the shared one because i was using fucked up ini i posted earlier with only -dataPath
and its existence let node use that config?
Either:
- Foundry can't read the supplied dataPath because it doesn't have permissions or doesn't exist so it defaults to the default location
- The --dataPath argument is malformed
Foundry was running with as a malformed --dataPath before.
never realized it until now because it was defaulting on the only config i needed.
That wouldn't matter
oh.
Because supplying the --dataPath argument should make it ignore the default location
So lets just make sure foundry can read the new folder you made
I mean it should because it ran when we manually started it
so something is wrong in the ini
but for good measure chown bjjn:bjjn /home/bjjn/fvttdata should do the trick
if you can use sudo it really should be done with sudo
but I assume you can't based on the link manual
yeah, nah.
@boreal creek the supervisorctnl ini isn't actually reading the dataPath arg on the fvtt.ini Any ideas?
...
It was never initalized, because i never booted it up.
uh?
It should create a skeleton config on first boot
Yeah it's defaulting to the default data path but only on the 2nd ini
Which means it's not accepting the argument for --dataPath for some reason
Best guess is some invisible copied char? ๐คท
gonna write the ini again
I'd delete the fvtt.ini and remake it
copy the working one and adapt it ๐
could just copy the old one and change the dataPaths
Well at least we found it
Just incase you haven't been told already, to run two instances you need two licenses
I do the same for a few friends ๐
so we went for a 2nd license and are letting friends try shit on there too ๐
Now all I have left is getting the service exposed to 30001 on the subdomain, lets go!
Thank you very much - both of you have shown me once again why I switch to FVTT and why I love the DND community!
Happy to help
Not at all. We like puzzles