I made the mistake of not stopping the docker stack before copying the data from the old host to the new one. So I deleted the files and then stopped the stack on the old host, then copied the files and pasted them on the new host. I then started the stack on the new host and I saw my albums and my images on the main page. I then restarted my computer for a different issue and when I went back, I had the same error.