[{"data":1,"prerenderedAt":856,"buildId":857},["ShallowReactive",2],{"\u002Fself-hosting\u002Ftroubleshooting":3,"\u002Fself-hosting\u002Ftroubleshooting-surround":572,"navigation":581},{"id":4,"title":5,"body":6,"description":564,"extension":565,"meta":566,"navigation":567,"path":568,"seo":569,"stem":570,"__hash__":571},"docs\u002F6.self-hosting\u002F10.troubleshooting.md","Troubleshooting",{"type":7,"value":8,"toc":552},"minimark",[9,14,60,80,84,119,122,126,129,217,221,257,261,268,313,320,324,327,361,365,464,468,548],[10,11,13],"h2",{"id":12},"health-checks","Health checks",[15,16,17,30],"table",{},[18,19,20],"thead",{},[21,22,23,27],"tr",{},[24,25,26],"th",{},"Endpoint",[24,28,29],{},"Means",[31,32,33,45],"tbody",{},[21,34,35,42],{},[36,37,38],"td",{},[39,40,41],"code",{},"GET \u002Fhealth\u002Flive",[36,43,44],{},"The process is up.",[21,46,47,52],{},[36,48,49],{},[39,50,51],{},"GET \u002Fhealth\u002Fready",[36,53,54,55,59],{},"The database answers and local storage is not full. It does not call S3, so a broken bucket shows up in ",[56,57,58],"strong",{},"Settings › Storage › Test storage",", not here.",[61,62,63,64,67,68,71,72,75,76,79],"p",{},"The image's Docker ",[39,65,66],{},"HEALTHCHECK"," probes ",[39,69,70],{},"\u002Fhealth\u002Fready"," every 30 seconds; ",[39,73,74],{},"docker compose ps"," shows the result. For the details of a failing check, run ",[39,77,78],{},"docker inspect --format '{{json .State.Health}}' \u003Ccontainer>",".",[10,81,83],{"id":82},"logs","Logs",[85,86,91],"pre",{"className":87,"code":88,"language":89,"meta":90,"style":90},"language-bash shiki shiki-themes material-theme-lighter github-light github-dark","docker compose logs avenvail --since 1h\n","bash","",[39,92,93],{"__ignoreMap":90},[94,95,98,102,106,109,112,116],"span",{"class":96,"line":97},"line",1,[94,99,101],{"class":100},"sbgvK","docker",[94,103,105],{"class":104},"s_sjI"," compose",[94,107,108],{"class":104}," logs",[94,110,111],{"class":104}," avenvail",[94,113,115],{"class":114},"stzsN"," --since",[94,117,118],{"class":104}," 1h\n",[61,120,121],{},"Logs never include file contents, share tokens or passwords. When asking for help, still check a log for host names and file names before posting it.",[10,123,125],{"id":124},"avenvail-does-not-start","Avenvail does not start",[61,127,128],{},"The last lines of the log say why. Common ones:",[15,130,131,141],{},[18,132,133],{},[21,134,135,138],{},[24,136,137],{},"Message",[24,139,140],{},"Fix",[31,142,143,159,176,186,204],{},[21,144,145,151],{},[36,146,147,150],{},[39,148,149],{},"Invalid Avenvail configuration"," followed by a list",[36,152,153,154,79],{},"Fix each listed setting. See ",[155,156,158],"a",{"href":157},"\u002Fself-hosting\u002Fconfiguration","Configuration",[21,160,161,166],{},[36,162,163],{},[39,164,165],{},"Avenvail:BaseUrl must be an absolute http(s) URL",[36,167,168,169,172,173,79],{},"Set ",[39,170,171],{},"Avenvail__BaseUrl",", including ",[39,174,175],{},"https:\u002F\u002F",[21,177,178,183],{},[36,179,180],{},[39,181,182],{},"Another Avenvail process is using the data directory",[36,184,185],{},"Another container (or a restore) is using the same volume. Stop it first.",[21,187,188,193],{},[36,189,190],{},[39,191,192],{},"The database was created by the 0.0 spike",[36,194,195,196,199,200,203],{},"Spike databases cannot be upgraded. Remove the ",[39,197,198],{},"db"," and ",[39,201,202],{},"blobs"," folders in the data volume and start fresh.",[21,205,206,211],{},[36,207,208],{},[39,209,210],{},"Access to the path '\u002Fdata\u002F...' is denied",[36,212,213,214,79],{},"The container runs as UID 1654. For a bind mount, ",[39,215,216],{},"sudo chown -R 1654 \u003Cfolder>",[10,218,220],{"id":219},"sign-in-fails-or-loops","Sign-in fails or loops",[222,223,224,230,240,243,250],"ul",{},[225,226,227,229],"li",{},[39,228,171],{}," must match the address in the browser exactly. Sign-in requests from any other origin are refused.",[225,231,232,233,236,237,239],{},"Over plain ",[39,234,235],{},"http:\u002F\u002F"," on a public address, browsers drop the session cookie when the base URL is ",[39,238,175],{},". Use HTTPS end to end through the proxy.",[225,241,242],{},"After five wrong passwords or two-factor codes the account is locked for five minutes.",[225,244,245,246,79],{},"Lost your authenticator app? Use a recovery code, or see ",[155,247,249],{"href":248},"\u002Fself-hosting\u002Ftwo-factor-and-passkeys#lost-your-phone-or-passkeys","Lost your phone or passkeys",[225,251,252,253,79],{},"For single sign-on errors, see ",[155,254,256],{"href":255},"\u002Fself-hosting\u002Fsingle-sign-on#troubleshooting","Single sign-on troubleshooting",[10,258,260],{"id":259},"lost-a-password","Lost a password",[61,262,263,264,267],{},"Another administrator can reset it in ",[56,265,266],{},"Settings › Users",", which signs the user out and gives you a one-time link to send them. Without an administrator who can sign in:",[85,269,271],{"className":87,"code":270,"language":89,"meta":90,"style":90},"docker compose exec avenvail dotnet Avenvail.Api.dll admin reset-password \u003Cuser name>\n",[39,272,273],{"__ignoreMap":90},[94,274,275,277,279,282,284,287,290,293,296,300,303,306,310],{"class":96,"line":97},[94,276,101],{"class":100},[94,278,105],{"class":104},[94,280,281],{"class":104}," exec",[94,283,111],{"class":104},[94,285,286],{"class":104}," dotnet",[94,288,289],{"class":104}," Avenvail.Api.dll",[94,291,292],{"class":104}," admin",[94,294,295],{"class":104}," reset-password",[94,297,299],{"class":298},"smGrS"," \u003C",[94,301,302],{"class":104},"user",[94,304,305],{"class":104}," nam",[94,307,309],{"class":308},"su5hD","e",[94,311,312],{"class":298},">\n",[61,314,315,316,319],{},"This prints a new password, turns off two-factor authentication, clears any lockout and signs out existing sessions. It also works for accounts that only had single sign-on. If ",[39,317,318],{},"Avenvail__Oidc__DisablePasswordLogin"," is on, remove it and restart before signing in with the new password.",[10,321,323],{"id":322},"no-administrator-can-sign-in","No administrator can sign in",[61,325,326],{},"If every administrator was disabled or demoted, make an account an active administrator again:",[85,328,330],{"className":87,"code":329,"language":89,"meta":90,"style":90},"docker compose exec avenvail dotnet Avenvail.Api.dll admin make-admin \u003Cuser name>\n",[39,331,332],{"__ignoreMap":90},[94,333,334,336,338,340,342,344,346,348,351,353,355,357,359],{"class":96,"line":97},[94,335,101],{"class":100},[94,337,105],{"class":104},[94,339,281],{"class":104},[94,341,111],{"class":104},[94,343,286],{"class":104},[94,345,289],{"class":104},[94,347,292],{"class":104},[94,349,350],{"class":104}," make-admin",[94,352,299],{"class":298},[94,354,302],{"class":104},[94,356,305],{"class":104},[94,358,309],{"class":308},[94,360,312],{"class":298},[10,362,364],{"id":363},"uploads-fail","Uploads fail",[15,366,367,377],{},[18,368,369],{},[21,370,371,374],{},[24,372,373],{},"Symptom",[24,375,376],{},"Likely cause",[31,378,379,394,409,423,435,450],{},[21,380,381,387],{},[36,382,383,386],{},[39,384,385],{},"413"," from the proxy (an HTML error page, not Avenvail's JSON)",[36,388,389,390,79],{},"The proxy's body limit. See ",[155,391,393],{"href":392},"\u002Fself-hosting\u002Freverse-proxy","Reverse proxies",[21,395,396,404],{},[36,397,398,400,401],{},[39,399,385],{}," with ",[39,402,403],{},"upload_too_large",[36,405,406,79],{},[39,407,408],{},"Avenvail__MaxUploadBytes",[21,410,411,416],{},[36,412,413],{},[39,414,415],{},"507",[36,417,418,419,422],{},"Local disk is below ",[39,420,421],{},"Avenvail__MinFreeDiskBytes",". Free space or raise the limit carefully.",[21,424,425,428],{},[36,426,427],{},"Large uploads fail on Cloudflare",[36,429,430,431,79],{},"Cloudflare's per-plan body limit. The web app uploads in pieces; ShareX does not. See ",[155,432,434],{"href":433},"\u002Fself-hosting\u002Freverse-proxy#cloudflare-proxy-and-cloudflare-tunnel","Cloudflare",[21,436,437,444],{},[36,438,439,400,441],{},[39,440,385],{},[39,442,443],{},"chunk_too_large",[36,445,446,447,79],{},"A client sent a piece larger than ",[39,448,449],{},"Avenvail__ResumableUploads__ChunkBytes",[21,451,452,458],{},[36,453,454,457],{},[39,455,456],{},"401"," from ShareX",[36,459,460,461,79],{},"The token was revoked or expired. Make a new one in ",[56,462,463],{},"Settings › ShareX",[10,465,467],{"id":466},"backups","Backups",[15,469,470,478],{},[18,471,472],{},[21,473,474,476],{},[24,475,137],{},[24,477,140],{},[31,479,480,493,504,521,538],{},[21,481,482,487],{},[36,483,484],{},[39,485,486],{},"Access to the path '\u002Fbackups\u002F...' is denied",[36,488,489,492],{},[39,490,491],{},"sudo chown 1654 backups"," on the host.",[21,494,495,501],{},[36,496,497,500],{},[39,498,499],{},"could not be read correctly"," with a list of files",[36,502,503],{},"Those files' bytes are missing or changed in storage. Restore them from another copy or delete them in Avenvail, then back up again.",[21,505,506,512],{},[36,507,508,511],{},[39,509,510],{},"Avenvail is running on this data directory"," during restore",[36,513,514,517,518,79],{},[39,515,516],{},"docker compose stop avenvail",", then use ",[39,519,520],{},"docker compose run --rm avenvail admin restore ...",[21,522,523,528],{},[36,524,525],{},[39,526,527],{},"already holds an installation",[36,529,530,531,534,535,79],{},"Restoring would replace it. Add ",[39,532,533],{},"--force","; the old database and keys are kept in ",[39,536,537],{},"\u002Fdata\u002Fpre-restore-\u003Ctime>\u002F",[21,539,540,545],{},[36,541,542],{},[39,543,544],{},"made by a newer version of Avenvail",[36,546,547],{},"Restore with that version or a later one.",[549,550,551],"style",{},"html pre.shiki code .sbgvK, html code.shiki .sbgvK{--shiki-light:#E2931D;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .stzsN, html code.shiki .stzsN{--shiki-light:#91B859;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .smGrS, html code.shiki .smGrS{--shiki-light:#39ADB5;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .su5hD, html code.shiki .su5hD{--shiki-light:#90A4AE;--shiki-default:#24292E;--shiki-dark:#E1E4E8}",{"title":90,"searchDepth":553,"depth":554,"links":555},2,3,[556,557,558,559,560,561,562,563],{"id":12,"depth":553,"text":13},{"id":82,"depth":553,"text":83},{"id":124,"depth":553,"text":125},{"id":219,"depth":553,"text":220},{"id":259,"depth":553,"text":260},{"id":322,"depth":553,"text":323},{"id":363,"depth":553,"text":364},{"id":466,"depth":553,"text":467},"Health checks, logs, common errors, and getting back into an account.","md",{},true,"\u002Fself-hosting\u002Ftroubleshooting",{"title":5,"description":564},"6.self-hosting\u002F10.troubleshooting","hUBiZR3BJl4vbChWSKInlE3PZVhwfdbYoxwYj32M71w",[573,578],{"title":574,"path":575,"stem":576,"description":577,"children":-1},"Overview","\u002Fself-hosting","6.self-hosting\u002F1.index","What Avenvail needs to run, and where to find each part of running your own server.",{"title":158,"path":157,"stem":579,"description":580,"children":-1},"6.self-hosting\u002F2.configuration","Every setting and environment variable: the base address, first-run setup, single sign-on, storage, cleanup, background jobs and plugins.",[582,602,641,684,695,714,725,759,794,808,824],{"title":583,"path":584,"stem":585,"children":586,"icon":601},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[587,589,593,597],{"title":588,"path":584,"stem":585},"Introduction",{"title":590,"path":591,"stem":592},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":594,"path":595,"stem":596},"Configure ShareX","\u002Fgetting-started\u002Fsharex","1.getting-started\u002F3.sharex",{"title":598,"path":599,"stem":600},"Updating Avenvail","\u002Fgetting-started\u002Fupdating","1.getting-started\u002F4.updating","i-lucide-rocket",{"title":603,"icon":604,"path":605,"stem":606,"children":607,"page":640},"Library","i-lucide-folder","\u002Flibrary","2.library",[608,612,616,620,624,628,632,636],{"title":609,"path":610,"stem":611},"Uploading files","\u002Flibrary\u002Fuploading","2.library\u002F1.uploading",{"title":613,"path":614,"stem":615},"Files and folders","\u002Flibrary\u002Ffiles-and-folders","2.library\u002F2.files-and-folders",{"title":617,"path":618,"stem":619},"Sharing files","\u002Flibrary\u002Fsharing","2.library\u002F3.sharing",{"title":621,"path":622,"stem":623},"Tags","\u002Flibrary\u002Ftags","2.library\u002F4.tags",{"title":625,"path":626,"stem":627},"Fields","\u002Flibrary\u002Ffields","2.library\u002F5.fields",{"title":629,"path":630,"stem":631},"Attachments","\u002Flibrary\u002Fattachments","2.library\u002F6.attachments",{"title":633,"path":634,"stem":635},"Search","\u002Flibrary\u002Fsearch","2.library\u002F7.search",{"title":637,"path":638,"stem":639},"Trash and recovery","\u002Flibrary\u002Ftrash","2.library\u002F8.trash",false,{"title":642,"path":643,"stem":644,"children":645,"icon":683},"Automations","\u002Fautomations","3.automations\u002F01.index",[646,647,651,655,659,663,667,671,675,679],{"title":574,"path":643,"stem":644},{"title":648,"path":649,"stem":650},"Your first workflow","\u002Fautomations\u002Ffirst-workflow","3.automations\u002F02.first-workflow",{"title":652,"path":653,"stem":654},"The editor","\u002Fautomations\u002Feditor","3.automations\u002F03.editor",{"title":656,"path":657,"stem":658},"Values and templates","\u002Fautomations\u002Fvalues","3.automations\u002F04.values",{"title":660,"path":661,"stem":662},"Conditions and branching","\u002Fautomations\u002Fbranching","3.automations\u002F05.branching",{"title":664,"path":665,"stem":666},"Upload intake","\u002Fautomations\u002Fintake","3.automations\u002F06.intake",{"title":668,"path":669,"stem":670},"Testing","\u002Fautomations\u002Ftesting","3.automations\u002F07.testing",{"title":672,"path":673,"stem":674},"Runs and history","\u002Fautomations\u002Fruns","3.automations\u002F08.runs",{"title":676,"path":677,"stem":678},"Quarantine and failures","\u002Fautomations\u002Fquarantine","3.automations\u002F09.quarantine",{"title":680,"path":681,"stem":682},"Workflow templates","\u002Fautomations\u002Ftemplates","3.automations\u002F10.templates","i-lucide-workflow",{"title":685,"path":686,"stem":687,"children":688,"icon":694},"Connections","\u002Fconnections","4.connections\u002F1.index",[689,690],{"title":574,"path":686,"stem":687},{"title":691,"path":692,"stem":693},"AI providers","\u002Fconnections\u002Fai-providers","4.connections\u002F2.ai-providers","i-lucide-plug",{"title":696,"path":697,"stem":698,"children":699,"icon":713},"AI","\u002Fai","5.ai\u002F1.index",[700,701,705,709],{"title":574,"path":697,"stem":698},{"title":702,"path":703,"stem":704},"AI classify and extract","\u002Fai\u002Fclassify-and-extract","5.ai\u002F2.classify-and-extract",{"title":706,"path":707,"stem":708},"AI describe, summarize and write","\u002Fai\u002Fdescribe-and-write","5.ai\u002F3.describe-and-write",{"title":710,"path":711,"stem":712},"AI detect and suggest tags","\u002Fai\u002Fdetect-and-tag","5.ai\u002F4.detect-and-tag","i-lucide-sparkles",{"title":715,"path":716,"stem":717,"children":718,"icon":724},"OCR","\u002Focr","5.ocr\u002F1.index",[719,720],{"title":574,"path":716,"stem":717},{"title":721,"path":722,"stem":723},"Setup","\u002Focr\u002Fsetup","5.ocr\u002F2.setup","i-lucide-scan-text",{"title":726,"path":575,"stem":576,"children":727,"icon":758},"Self-hosting",[728,729,730,731,734,738,742,746,750,754],{"title":574,"path":575,"stem":576},{"title":5,"path":568,"stem":570},{"title":158,"path":157,"stem":579},{"title":732,"path":392,"stem":733},"Reverse proxies and HTTPS","6.self-hosting\u002F3.reverse-proxy",{"title":735,"path":736,"stem":737},"DigitalOcean","\u002Fself-hosting\u002Fdigitalocean","6.self-hosting\u002F4.digitalocean",{"title":739,"path":740,"stem":741},"Backups and restoration","\u002Fself-hosting\u002Fbackups","6.self-hosting\u002F5.backups",{"title":743,"path":744,"stem":745},"Users and roles","\u002Fself-hosting\u002Fusers","6.self-hosting\u002F6.users",{"title":747,"path":748,"stem":749},"Single sign-on","\u002Fself-hosting\u002Fsingle-sign-on","6.self-hosting\u002F7.single-sign-on",{"title":751,"path":752,"stem":753},"Two-factor and passkeys","\u002Fself-hosting\u002Ftwo-factor-and-passkeys","6.self-hosting\u002F8.two-factor-and-passkeys",{"title":755,"path":756,"stem":757},"Importing","\u002Fself-hosting\u002Fimporting","6.self-hosting\u002F9.importing","i-lucide-server",{"title":760,"path":761,"stem":762,"children":763,"icon":793},"Guides","\u002Fguides","7.guides\u002F1.index",[764,765,769,773,777,781,785,789],{"title":574,"path":761,"stem":762},{"title":766,"path":767,"stem":768},"Optimize ShareX uploads","\u002Fguides\u002Fcompress-uploads","7.guides\u002F2.compress-uploads",{"title":770,"path":771,"stem":772},"Send Discord notifications","\u002Fguides\u002Fdiscord-notifications","7.guides\u002F3.discord-notifications",{"title":774,"path":775,"stem":776},"Organize screenshots with AI","\u002Fguides\u002Fcategorize-screenshots","7.guides\u002F4.categorize-screenshots",{"title":778,"path":779,"stem":780},"Extract receipts with AI","\u002Fguides\u002Fextract-receipts","7.guides\u002F5.extract-receipts",{"title":782,"path":783,"stem":784},"Name screenshots with AI","\u002Fguides\u002Fai-file-names","7.guides\u002F6.ai-file-names",{"title":786,"path":787,"stem":788},"Run AI locally with Ollama","\u002Fguides\u002Flocal-ai-ollama","7.guides\u002F7.local-ai-ollama",{"title":790,"path":791,"stem":792},"Make screenshots searchable","\u002Fguides\u002Fsearchable-screenshots","7.guides\u002F8.searchable-screenshots","i-lucide-book-open",{"title":795,"icon":796,"path":797,"stem":798,"children":799,"page":640},"Reference","i-lucide-library","\u002Freference","8.reference",[800,804],{"title":801,"path":802,"stem":803},"Step reference","\u002Freference\u002Fsteps","8.reference\u002F1.steps",{"title":805,"path":806,"stem":807},"Limits and errors","\u002Freference\u002Flimits","8.reference\u002F2.limits",{"title":809,"path":810,"stem":811,"children":812,"icon":823},"Development","\u002Fdevelopment","9.development\u002F1.index",[813,815,819],{"title":814,"path":810,"stem":811},"Local development",{"title":816,"path":817,"stem":818},"Plugin development","\u002Fdevelopment\u002Fplugins","9.development\u002F2.plugins",{"title":820,"path":821,"stem":822},"Writing documentation","\u002Fdevelopment\u002Fdocumentation","9.development\u002F3.documentation","i-lucide-code",{"title":825,"path":826,"stem":827,"children":828,"icon":855},"Comparisons","\u002Fcomparisons","99.comparisons\u002F1.index",[829,831,835,839,843,847,851],{"title":830,"path":826,"stem":827},"Comparing Avenvail",{"title":832,"path":833,"stem":834},"Avenvail and Zipline","\u002Fcomparisons\u002Fzipline","99.comparisons\u002F2.zipline",{"title":836,"path":837,"stem":838},"Avenvail and XBackBone","\u002Fcomparisons\u002Fxbackbone","99.comparisons\u002F3.xbackbone",{"title":840,"path":841,"stem":842},"Avenvail and chibisafe","\u002Fcomparisons\u002Fchibisafe","99.comparisons\u002F4.chibisafe",{"title":844,"path":845,"stem":846},"Avenvail and Slink","\u002Fcomparisons\u002Fslink","99.comparisons\u002F5.slink",{"title":848,"path":849,"stem":850},"Avenvail and Pingvin Share","\u002Fcomparisons\u002Fpingvin-share","99.comparisons\u002F6.pingvin-share",{"title":852,"path":853,"stem":854},"Avenvail and PicoShare","\u002Fcomparisons\u002Fpicoshare","99.comparisons\u002F7.picoshare","i-lucide-scale",1796307525952,"dedf49b8-a40d-4148-af64-03be4eab20c1"]