Hey there, self-hosters, DIY fanatics, and fellow linux penguins-
I wanted to post a guide for our self-hosters for migrating from the old AssetTag format-
While many of you have likely already made the switch, there's likely a few that haven't yet. Thankfully, doing this is super-easy.
it is always a good idea to kick off a backup first
First, you'll need to access your container host, which is most likely a linux host. It doesn't matter whether you access a headless box via ssh or a fancy desktop environment.
You'll just need to start a new terminal session (with a user in the docker group or root), and run the below command to start the process-
docker exec -it -u 0 $(docker ps --filter "name=app" --format "{{.ID}}") bin/rake convert_asset_tags:to_new_format
If you're nervous or have a large instance, you can tee the output to a file for later review with the below one-liner. This just results in everything being logged to a file named something like- tags_result_1775068117.txt
docker exec -it -u 0 $(docker ps --filter "name=app" --format "{{.ID}}") bin/rake convert_asset_tags:to_new_format 2>&1 | tee "tags_result_$(date +%s).txt"
You'll see a stream of text while this is working through the process. It's quite fast, but you'll see exactly how many fields have been converted to the new AssetTag format (and how many already were in this format)
It's always good to have the latest + greatest! Let us know if you have any questions!