Updating oTToDev on Docker

I’m running oTToDev in docker, when I do a git pull to update it do I need to delete the docker instance and rerun the command to update it? Sorry for the n00b question…

Good question! So if there are just code changes and not new PNPM packages, you shouldn’t have to do anything. If there are new PNPM packages, you will have to rebuild the image.

And then sometimes I get this weird issue with Docker where the container will cache the packages so it won’t add in the new ones even if I rebuild. In that case I just fix it by deleting the image and remaking it from scratch.

1 Like

how do you determine if there are new PNPM packages? am i correct that the best practice would be to delete docker image, pull new git and then run dockerbuild again? (another n00b question …)

Ok great thank you Cole!

1 Like

Well I’m not sure what happened but now there’s no models loading when I launch the app. I’m using canary for my browser. In the console I’m seeing an error… Any ideas? I guess I can delete everything and reinstall completely

UPDATE: I did delete everything and reinstalled, now working fine… Just a little hiccup…

:5173/app/components/chat/Messages.client.tsx:1

   Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Glad it’s working now! I did encounter something similar myself once actually, I’m guessing it’s something to do with caching but I’m not entirely sure.

I had issues updating as well but it was easy enough to just delete and get back up and running.

Loving the new OpenRouter dropdown. :+1:

Given up on docker. All problems and no productivity.

the docker should be working, there is also a thread with someone else that was fixing a few other bugs. There is just a lot of different ways to spin stuff up and each case has to be taken into consideration.