#FVTT update on RPi

1 messages ยท Page 1 of 1 (latest)

quartz pine
#

Anyway it's all there now.
In /mnt/foundryvtt/ i can see a number of folders:

  • -Trash-1000
  • App
  • Config
  • Data (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?

winter quest
#

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

quartz pine
#

Config, Data and logs are all in /mnt/foundryvtt/ apparently.

winter quest
#

That's not setup right then :(

It's not horrible but it's not right

quartz pine
#

Yeah, I heard that before. ^^'

#

/mnt/foundryvtt/App has several files and folders:

winter quest
#

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)

quartz pine
winter quest
quartz pine
#

Okay so I won't loose any incredibly important things when deleting the contents of /mnt/foundryvtt/App then?

winter quest
#

As long as you haven't uploaded anything into it, nope.

quartz pine
#

I don't recall doing so.

winter quest
#

(which, at least the root level based on that screenshot, you have not)

quartz pine
#

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

winter quest
#

Oh yeah, copy/paste is your friend

quartz pine
#

Okay, I think that worked:

#

I deleted the contents of App on the Pi, hope that isn't harmful... :-S

winter quest
#

Shouldn't be

quartz pine
#

*in the file explorer

winter quest
#

Method of deletion is fine :)

quartz pine
#

So now I do sudo unzip foundryvtt.zip -d /mnt/foundryvtt/App?

#

Or do I need another / at the end?

winter quest
#

That should be fine

quartz pine
#

That doesn't sound good.

winter quest
#

You downloaded the .exe version rather than the node.js version

quartz pine
#

I've selected Linux/NodeJS before creating the timed URL. ๐Ÿค”

winter quest
#

Try again? But that's what the error means ๐Ÿคทโ€โ™‚๏ธ

quartz pine
#

When I open the link in my browser it tries to download FoundryVTT-9.242.zip just fine ๐Ÿค”

winter quest
#

Rerun the wget command using that same link you used in the browser.

quartz pine
#

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?

winter quest
#

Yup

quartz pine
#

That seemed to have worked:

quartz pine
# winter quest Yup

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. =)

winter quest
#

๐ŸŽ‰

#

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!

quartz pine
#

Backups, our dearest friend.
Thanks again. Now the fun part begins... Like updating modules and see if all my worlds need some care. :D

winter quest
#

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

quartz pine