Skip to the page
Social CrawlDocs

Troubleshooting

Updated
View as Markdown

Real problems seen with Social Crawl, the message you see for each, what it means and what to do. Start with the part that matches where it goes wrong.

On this page

Find the part that matches where it goes wrong. Each problem has the words you will actually see.

The server does not start or deploy#

The deploy stops: "set JWT_SECRET (32+ chars)" or "set ADMIN_PASSWORD_HASH"#

Docker Compose refuses to start the stack without them. Add both in Dokploy's Environment and redeploy. See Install the server.

The API starts and stops at once: "Invalid environment: …"#

The API checks its settings at start and says which is wrong. The common ones:

Message containsWhat is wrongFix
JWT_SECRET: must be at least 32 charactersThe signing secret is too short.Use openssl rand -base64 48.
ADMIN_PASSWORD_HASH: must look like scrypt:<salt>:<hash> followed by a reasonThe hash was pasted wrong. The reason says how: it does not start with scrypt:, has a line break, contains $ (the old format), or "is only N characters (a real hash is 120; it may be cut off)".Make the hash again and paste the whole line on one line. Quotes and spaces around it are removed for you.
DATABASE_URL: points to the database in this stack (sc-db) but has no passwordPOSTGRES_PASSWORD is empty and DATABASE_URL is not set.Set POSTGRES_PASSWORD in Dokploy's Environment, or set DATABASE_URL to another database.
S3_ENDPOINT: is required when STORAGE_DRIVER=s3 (or another S3_ name)R2 is switched on without all of its settings.Set all four, or remove STORAGE_DRIVER.
S3_ENDPOINT: must start with https://The address has no https://.Add it.

The API's log says getaddrinfo EAI_AGAIN sc-db#

The database container is not running or is not on the stack's network. Open the db service in Dokploy's Logs tab. The compose file puts every service on a private backend network and on Dokploy's dokploy-network, and the services reach each other as sc-db and sc-api.

The deploy is fine but the API does not start, with no DATABASE_URL or POSTGRES_PASSWORD#

The API's log says DATABASE_URL: points to the database in this stack (sc-db) but has no password. Set POSTGRES_PASSWORD (any value on a brand-new install, because the database has to be created once).

Signing in#

You seeWhat it meansWhat to do
Wrong password.The password does not match the stored hash.Try again, or make a new hash and replace ADMIN_PASSWORD_HASH.
Too many attempts. Try again in a minute.Five wrong tries in one minute from the same address.Wait a minute.
The server is unreachable.The web app cannot reach the API.Check the api service is running, and that API_URL of the web service is http://sc-api:4000.
You are sent back to the sign-in pageYour 7-day sign-in ended.Sign in again.

The extension#

You seeWhat it meansWhat to do
Not connected yet: add your server's address and token in Settings first.No address or token saved.See Install the browser extension.
The server rejected the token. Create a new one in the web app.The token is wrong, or older than 180 days.In the web app, Settings → Create token, and paste the new one.
Could not reach the server. Check the internet connection and the address…The API address is wrong, or the server is down.Use the API address (the api domain), with https:// and no path.
It saved the wrong part of a pageThe automatic reader guessed wrong.Site rules in the extension.
Nothing is found on Facebook, Instagram, X, Pinterest or LinkedInThose readers are best-effort and were never tested on the live sites.Save the page with Ctrl+S ("Webpage, complete") and send it to whoever maintains your copy: a real saved page is the most reliable way to adjust the reader.

On a phone you cannot use the extension at all. See Install the browser extension.

Videos#

You seeWhat it meansWhat to do
A video over the size is not tickable and says Over your server's … limit: needs a WebDAVIt is a big video and WebDAV is not set up.Storage, WebDAV and R2.
A smaller size may play: open the settings, then Quality.Your browser cannot play the saved format.Pick a smaller size in the player's Quality menu.
YouTube video is not in the list or cannot be saved on the serverYouTube refuses servers.In the extension's Videos settings, choose Download it through this browser.
A video stays online-onlyIt was a stream that could not be joined into one file (not public, encrypted, or over 200 MB), or a type that is not handled (DASH .mpd).The picture and frames are still saved.
The transfer window of a big video stoppedIt was closed or the connection broke.Open it again and press Resume: it sends only what is missing.
The server's temp disk fills up while savingWhile a post is saved the server needs about twice the video's size free on its temp disk.Free space, or set UPLOAD_DIR to a bigger disk, or lower MAX_VIDEO_MB.
No frames in a ZIP downloadffmpeg is needed. It is in the API's Docker image.In local development install it (apt install ffmpeg).

Live progress does not move#

Progress windows (frame downloads, WebDAV copies, the queue) use a live connection (server-sent events). If a proxy in front of Social Crawl blocks or buffers it, the progress stays still while the work goes on. Let the path /api/events through without buffering. The library's live updates use the same connection.

You seeWhat it means
The link answers 404It was removed, or the address is wrong.
The link answers 410 ("expired")Its time is up. Extend it, or make a new one.
An AI tool says it cannot open itSocial Crawl must be reachable from the internet, and whatever is in front of it (a firewall, Cloudflare's bot or AI-crawler blocking) must let /s/ through. Use the dialog's Check that it opens from the internet button.

WebDAV#

Test connection says which step failed. A 401 adds "(wrong user name or password?)". A 404 on listing adds "(is the address the WebDAV folder?)". If you changed JWT_SECRET, the saved password cannot be read: enter it again in Settings.

Captions#

"Make captions from the sound…" is missing from the player's menu when speech recognition is off. If you set SPEECH_COMMAND and SPEECH_MODEL and it is still missing, the API's log says which program or model file is not there. See Captions and transcripts.

Database copy#

Check marks problems with a red cross. The usual ones: the new database is not empty, it lacks the uuid-ossp add-on, or the address is the pooled one (use the direct one for Neon). See Copy the database.

It is still wrong#

Look at the API's log in Dokploy first: it names the cause of almost every failure above. Then check What is not tested, because the thing may simply never have been tried.