Back up first (backup.md). Then read the version notes for everything newer than what you run now.
git pull
docker compose up -d --buildThe api container runs the database migrations and collectstatic before it starts serving.
cd /opt/doory
sudo -u doory git pull
cd backend
sudo -u doory .venv/bin/pip install -r requirements.txt
manage migrate
manage collectstatic --noinput
cd ../frontend
sudo -u doory npm ci && sudo -u doory npm run build
sudo systemctl restart doory-api doory-realtime # and doory-mcp, doory-ai-server if you use them(manage is the helper from manual.md.)
If deploy/nginx.conf or a file in deploy/*.service changed, copy it again. Keep your own edits, such as
server_name, then reload:
git diff ORIG_HEAD -- deploy/ # what changed in this pull
sudo systemctl daemon-reload && sudo nginx -t && sudo systemctl reload nginxChanges that need you to do something, newest first. Changes that need nothing aren't listed here.
- The migration adds about 1,600 new sizes (print, documents, books, screens, app and web design, merch, logos, social media, advertising, stores, video calls, web and email). Presets you edited keep your edits.
- Some old built-in sizes changed with current guidance (for example the Facebook page cover, the X post and the
logo, now 512 × 512), and the old groups get new names and sub-groups. To move the built-ins to the new sizes,
names and groups, run
python manage.py seed_size_presets --update. It resets only the built-in presets; your own are left alone.
- Docker: the
api,realtimeandmcpimages now build ffmpeg in (INSTALL_FFMPEG=true, about 250 MB). Rebuild withdocker compose up -d --build. SetINSTALL_FFMPEG=falsein.envto leave video off. - Without Docker:
sudo apt install ffmpegto turn video on, then copy the newdeploy/nginx.conf. It allows 210 MB uploads on/api/v1/assets/(clips), and other requests keep the 30 MB limit. - The site's Content-Security-Policy (
frontend/nginx/security-headers.conf) now lists the Pexels and Pixabay video CDNs inmedia-src. If you mount your own copy, add them there. - With S3-compatible storage, allow range requests in the bucket's CORS rule (see object-storage.md).
- See video.md.
- New settings
SERVER_VIDEO_EXPORT_ENABLED(off) andEXPORT_VIDEO_*; see image-export.md. - Without Docker:
deploy/nginx.confwaits 330 s for the image export endpoint (was 120 s) and for/mcp(was 300 s). Copy it again, keeping your own edits; a proxy of your own needs the same for video export.
- Docker: the API image builds mozjpeg and installs oxipng (
INSTALL_IMAGE_OPTIMIZERS=true, about 2 MB), so the firstdocker compose up -d --buildtakes a few minutes longer. Set it tofalseto leave them out. - Without Docker: install mozjpeg's
cjpegandoxipngfor the built-in optimizer, or leave it out; nothing breaks without them. - New settings for TinyPNG, Kraken.io and a custom optimizer, all off until you set a key. See image-optimization.md.
- Docker: a new
exportsvolume andEXPORT_STORAGE_ROOT=/app/exports.docker compose up -dcreates them. - Without Docker: exports go to
backend/exports(EXPORT_STORAGE_ROOT). Make sure thedooryuser can write there.
- New settings
SERVER_IMAGE_EXPORT_ENABLEDandEXPORT_RENDER_PAGE_URL. Thewebservice gets the network aliasdoory-web. Nothing changes unless you turn image export on; see image-export.md.
- Docker: a new
mcpservice, started only withCOMPOSE_PROFILES=mcp. - Without Docker: a new
deploy/doory-mcp.serviceand an/mcpblock indeploy/nginx.conf. Copy the newnginx.confeven if you don't turn MCP on, so/mcpisn't served as the app's index page. - See mcp.md.
- New settings
DOORY_SIZE_PRESETS_FILEandDOORY_SIZE_PRESETS_MODE. Nothing to do unless you use them; see content.md.