#FVTT update on RPi
1 messages ยท Page 1 of 1 (latest)
Anyway it's all there now.
In /mnt/foundryvtt/ i can see a number of folders:
-Trash-1000AppConfigData(as the name suggests this is my data folder so hands off I suppose)Logs- and
lost+found
I think App is the folder we're looking for, right?
Sounds like it; best to double check. Just see what files are in App and Data.
Data should have 3 subfolders - Config, Data, and Logs
Config, Data and logs are all in /mnt/foundryvtt/ apparently.
That's not setup right then :(
It's not horrible but it's not right
I would, personally, create a foundrydata directory, move Config, Data, and Logs to it.
Update the options.json file and the systemd service (as I imagine it uses the --dataPath argument) to point to the new subdirectory and everything should be golden.
In terms of doing a fresh install though, the App directory is the one to delete and unzip to
(honestly this isn't that bad, it would have been much worse had the data directory been inside the app directory, rather than vice versa)
I've set up a share folder to the data directory (to access the contents in my LAN), I'd need to do this one as well. I think I'm going to do that another time. I'm still shivering out of fear that something could go wrong. XD
Yeah, it's not the end of the world having it this way, more just...bad practice and risking accidentally uploading assets into the app directory (which you really don't want to do)
Okay so I won't loose any incredibly important things when deleting the contents of /mnt/foundryvtt/App then?
As long as you haven't uploaded anything into it, nope.
I don't recall doing so.
(which, at least the root level based on that screenshot, you have not)
I'll just make a backup of the App file. ๐
So, let me switch to Putty, I'll never be able to type that timed URL in 5 minutes. XD
Oh yeah, copy/paste is your friend
Okay, I think that worked:
I deleted the contents of App on the Pi, hope that isn't harmful... :-S
Shouldn't be
*in the file explorer
Method of deletion is fine :)
So now I do sudo unzip foundryvtt.zip -d /mnt/foundryvtt/App?
Or do I need another / at the end?
That should be fine
You downloaded the .exe version rather than the node.js version
I've selected Linux/NodeJS before creating the timed URL. ๐ค
Try again? But that's what the error means ๐คทโโ๏ธ
Same again. :-(
When I open the link in my browser it tries to download FoundryVTT-9.242.zip just fine ๐ค
Rerun the wget command using that same link you used in the browser.
That's just what I did.
Let's do it the other way around. I have access to my pi in my LAN. I'll just DL the zip to my data folder. Then I can access it on the pi. Where do I need to place the zip file now? Also I need to rename it to just foundryvtt.zip right?
Nevermind, I can just unpack it in the App folder from the file explorer, right?
Yup
That seemed to have worked:
Thank you very much. =)
I'm still nervous that something could've gone wrong but it seems to be good right now. So thanks a lot. =)
๐
As long as you didn't have any of your own data in the app folder, you're golden.
And even if you did, you backed it up!
Backups, our dearest friend.
Thanks again. Now the fun part begins... Like updating modules and see if all my worlds need some care. :D
I personally recommend launching worlds in Safe Configuration, which disables all modules in them.
This let's the world start "fresh" with the migration, and you can enable them as you please and confirm functionality
While I agree that this would be best, it's a matter of days if you have ten worlds with varying modules. XD
But I've backed up everything of my data folder as well, so if something goes horribly wrong I'm prepared. I've also checked the compatibility spreadsheet and tested two worlds in my dev environment. I should be fine. =)