Where ReCasaOS keeps its logs, which commands to run, and what to hide before you paste them in an issue.
Most problems leave a trace in the logs of the ReCasaOS services. Run the commands below on the box, copy what they print, hide what is personal, and paste it in your issue.
Which release you run
cat /var/lib/casaos/fork-release
The log files
Each service writes to /var/log/casaos/: casaos.log (the core), gateway.log, app-management.log, local-storage.log, message-bus.log, upgrade.log (updates of ReCasaOS), package-update.log, docker-update.log, and one file per optional module. The last lines of the one that matches your problem are usually enough:
Logs can hold secrets. Replace with ***: passwords and tokens, the addresses of your machines and your public IP, host names and domain names, e-mail addresses.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ReCasaOS","colors":{"primary":"#BEF500","light":"#BEF500","dark":"#BEF500"},"logo":{"light":"https://mintcdn.com/recasaos/eJHGC42WtnPGqe06/logo/recasaos-logo-dark.svg?fit=max\u0026auto=format\u0026n=eJHGC42WtnPGqe06\u0026q=85\u0026s=0f6cd9f03434756a829c876d97c684d5","dark":"https://mintcdn.com/recasaos/eJHGC42WtnPGqe06/logo/recasaos-logo.svg?fit=max\u0026auto=format\u0026n=eJHGC42WtnPGqe06\u0026q=85\u0026s=b09f07c7412d7c9df5325c5c2ffc6748","href":"https://recasaos.org"},"favicon":"https://mintcdn.com/recasaos/eJHGC42WtnPGqe06/favicon.svg?fit=max\u0026auto=format\u0026n=eJHGC42WtnPGqe06\u0026q=85\u0026s=5436e336e6ee3af69718f2eb29714fad","api":{"playground":{"display":"none"}},"appearance":{"default":"dark","strict":true},"background":{"color":{"dark":"#151515"}},"navbar":{"links":[{"href":"https://github.com/ReCasaOS/CasaOS","type":"github"}]},"footer":{"socials":{"github":"https://github.com/ReCasaOS","website":"https://recasaos.org"}},"banner":{"content":"These pages describe ReCasaOS **v0.5.266**. Your box shows its version under Settings, Updates.","dismissible":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"recasaos","hasAudioNarration":false,"actualSubdomain":"recasaos","customDomains":["docs.recasaos.org"],"gitSource":{"type":"github","owner":"recasaos","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b12f13cfd64ef1a7514b310"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b134340b1dd01da57146115","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"Troubleshooting","count":13},{"language":"default","tag":"Apps","count":10},{"language":"default","tag":"Storage and files","count":10},{"language":"default","tag":"Backups and restore","count":8},{"language":"default","tag":"Get started","count":8},{"language":"default","tag":"Accounts and security","count":5},{"language":"default","tag":"The dashboard","count":4},{"language":"default","tag":"Alerts and logs","count":3},{"language":"default","tag":"Several servers and remote access","count":3},{"language":"default","tag":"Modules","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6b1326407273df7aa1275699","deploymentId":"6b12f10eb4ecd966b424ed01","questionText":"My apps look empty after an update: what do I do?","status":"active","generatedBy":"manual","createdAt":"2026-12-04T20:44:48.283Z","updatedAt":"2026-12-04T20:44:48.283Z","__v":0},{"_id":"6b13263e7273df7aa1275671","deploymentId":"6b12f10eb4ecd966b424ed01","questionText":"How do I back up an app?","status":"active","generatedBy":"manual","createdAt":"2026-12-04T20:44:46.948Z","updatedAt":"2026-12-04T20:44:46.948Z","__v":0},{"_id":"6b1326357273df7aa1275591","deploymentId":"6b12f10eb4ecd966b424ed01","questionText":"How do I install ReCasaOS?","status":"active","generatedBy":"manual","createdAt":"2026-12-04T20:44:37.733Z","updatedAt":"2026-12-04T20:44:37.733Z","__v":0}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"troubleshooting/collect-logs","slug":"/troubleshooting/collect-logs","pageMetadata":{"title":"Collect logs for a bug report","description":"Where ReCasaOS keeps its logs, which commands to run, and what to hide before you paste them in an issue.","proof":"box, code","proofVersion":"v0.5.265","proofDate":"2026-12-04T00:00:00.000Z","proofRef":"Commands run on a box on v0.5.258; log files listed there; journal units from the Diagnostics step of install-check.yml at v0.5.265","href":"/troubleshooting/collect-logs"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Where ReCasaOS keeps its logs, which commands to run, and what to hide before you paste them in an issue.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Most problems leave a trace in the logs of the ReCasaOS services. Run the commands below on the box, copy what they print, hide what is personal, and paste it in your `,_jsx(_components.a,{href:`https://github.com/ReCasaOS/CasaOS/issues`,children:`issue`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`which-release-you-run`,children:`Which release you run`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /var/lib/casaos/fork-release`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`the-log-files`,children:`The log files`}),`\n`,_jsxs(_components.p,{children:[`Each service writes to `,_jsx(_components.code,{children:`/var/log/casaos/`}),`: `,_jsx(_components.code,{children:`casaos.log`}),` (the core), `,_jsx(_components.code,{children:`gateway.log`}),`, `,_jsx(_components.code,{children:`app-management.log`}),`, `,_jsx(_components.code,{children:`local-storage.log`}),`, `,_jsx(_components.code,{children:`message-bus.log`}),`, `,_jsx(_components.code,{children:`upgrade.log`}),` (updates of ReCasaOS), `,_jsx(_components.code,{children:`package-update.log`}),`, `,_jsx(_components.code,{children:`docker-update.log`}),`, and one file per optional module. The last lines of the one that matches your problem are usually enough:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tail`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -n`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 200`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /var/log/casaos/app-management.log`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`the-service-journals`,children:`The service journals`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` journalctl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -b`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` casaos`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` casaos-gateway`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` casaos-app-management`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` casaos-local-storage`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --no-pager`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -n`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 200`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`-b`}),` keeps what happened since the last start of the machine.`]}),`\n`,_jsx(Heading,{level:`2`,id:`an-app’s-container`,children:`An app’s container`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ps`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -a`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` logs`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tail`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 100`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`container`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` nam`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` inspect`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --format`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{{json .State.Health}}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`container`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` nam`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-paste`,children:`Before you paste`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Logs can hold secrets. Replace with `,_jsx(_components.code,{children:`***`}),`: passwords and tokens, the addresses of your machines and your public IP, host names and domain names, e-mail addresses.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Collect logs for a bug report","description":"Where ReCasaOS keeps its logs, which commands to run, and what to hide before you paste them in an issue.","proof":"box, code","proofVersion":"v0.5.265","proofDate":"2026-12-04T00:00:00.000Z","proofRef":"Commands run on a box on v0.5.258; log files listed there; journal units from the Diagnostics step of install-check.yml at v0.5.265","href":"/troubleshooting/collect-logs"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Which release you run","slug":"which-release-you-run","depth":2,"children":[]},{"title":"The log files","slug":"the-log-files","depth":2,"children":[]},{"title":"The service journals","slug":"the-service-journals","depth":2,"children":[]},{"title":"An app’s container","slug":"an-app’s-container","depth":2,"children":[]},{"title":"Before you paste","slug":"before-you-paste","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/recasaos/534ef1be8cdd9404/matomo.js"],"subdomain":"recasaos","siteName":"ReCasaOS","title":"Collect logs for a bug report - ReCasaOS","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-04T20:35:34.283Z","originalFileLocation":"troubleshooting/collect-logs.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Where ReCasaOS keeps its logs, which commands to run, and what to hide before you paste them in an issue.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ReCasaOS\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/recasaos/EN61Fpi_Nu3D1IeB/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/recasaos/EN61Fpi_Nu3D1IeB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/recasaos/EN61Fpi_Nu3D1IeB/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/recasaos/EN61Fpi_Nu3D1IeB/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/recasaos/EN61Fpi_Nu3D1IeB/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/recasaos/EN61Fpi_Nu3D1IeB/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/recasaos/EN61Fpi_Nu3D1IeB/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/recasaos/EN61Fpi_Nu3D1IeB/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/recasaos/EN61Fpi_Nu3D1IeB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Collect logs for a bug report - ReCasaOS\">\u003cmeta data-mint-head property=\"og:description\" content=\"Where ReCasaOS keeps its logs, which commands to run, and what to hide before you paste them in an issue.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ReCasaOS\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.recasaos.org/troubleshooting/collect-logs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://recasaos.mintlify.site/_mintlify/api/og/v2?division=Troubleshooting\u0026amp;title=Collect+logs+for+a+bug+report\u0026amp;description=Where+ReCasaOS+keeps+its+logs%2C+which+commands+to+run%2C+and+what+to+hide+before+you+paste+them+in+an+issue.\u0026amp;theme=34c0528e6318b7f61504dcc9\u0026amp;signature=3fba127cd26c461eff124c4a5d2d5fa83db191eb8110dca247070cec07dde38b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Collect logs for a bug report - ReCasaOS\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Where ReCasaOS keeps its logs, which commands to run, and what to hide before you paste them in an issue.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://recasaos.mintlify.site/_mintlify/api/og/v2?division=Troubleshooting\u0026amp;title=Collect+logs+for+a+bug+report\u0026amp;description=Where+ReCasaOS+keeps+its+logs%2C+which+commands+to+run%2C+and+what+to+hide+before+you+paste+them+in+an+issue.\u0026amp;theme=34c0528e6318b7f61504dcc9\u0026amp;signature=3fba127cd26c461eff124c4a5d2d5fa83db191eb8110dca247070cec07dde38b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/recasaos/EN61Fpi_Nu3D1IeB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ReCasaOS\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#BEF500\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.recasaos.org/troubleshooting/collect-logs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/troubleshooting/collect-logs.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.recasaos.org/#organization\",\"name\":\"ReCasaOS\",\"url\":\"https://docs.recasaos.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/recasaos/eJHGC42WtnPGqe06/logo/recasaos-logo-dark.svg?fit=max\u0026auto=format\u0026n=eJHGC42WtnPGqe06\u0026q=85\u0026s=0f6cd9f03434756a829c876d97c684d5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.recasaos.org#website\",\"name\":\"ReCasaOS\",\"url\":\"https://docs.recasaos.org\",\"publisher\":{\"@id\":\"https://docs.recasaos.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.recasaos.org/troubleshooting/collect-logs#webpage\",\"url\":\"https://docs.recasaos.org/troubleshooting/collect-logs\",\"name\":\"Collect logs for a bug report\",\"description\":\"Where ReCasaOS keeps its logs, which commands to run, and what to hide before you paste them in an issue.\",\"dateModified\":\"2026-12-04T20:35:34.283Z\",\"isPartOf\":{\"@id\":\"https://docs.recasaos.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.recasaos.org/troubleshooting/collect-logs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.recasaos.org/troubleshooting/collect-logs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Troubleshooting\",\"item\":\"https://docs.recasaos.org/troubleshooting\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Collect logs for a bug report\",\"item\":\"https://docs.recasaos.org/troubleshooting/collect-logs\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.recasaos.org/troubleshooting/collect-logs#article\",\"headline\":\"Collect logs for a bug report\",\"name\":\"Collect logs for a bug report\",\"description\":\"Where ReCasaOS keeps its logs, which commands to run, and what to hide before you paste them in an issue.\",\"url\":\"https://docs.recasaos.org/troubleshooting/collect-logs\",\"mainEntityOfPage\":{\"@id\":\"https://docs.recasaos.org/troubleshooting/collect-logs#webpage\"},\"dateModified\":\"2026-12-04T20:35:34.283Z\",\"publisher\":{\"@id\":\"https://docs.recasaos.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.recasaos.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ReCasaOS\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ReCasaOS\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/troubleshooting/collect-logs.md","siteName":"ReCasaOS","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"ReCasaOS documentation","sidebarTitle":"Welcome","href":"/index"},{"title":"What is ReCasaOS","href":"/get-started/what-is-recasaos"},{"title":"Requirements and supported systems","href":"/get-started/requirements"},{"title":"Install ReCasaOS","href":"/get-started/install"},{"title":"First steps on the dashboard","href":"/get-started/first-steps"},{"title":"Update ReCasaOS","href":"/get-started/update"},{"title":"Switch from CasaOS","href":"/get-started/switch-from-casaos"},{"title":"Uninstall ReCasaOS","href":"/get-started/uninstall"}]},{"group":"Apps","pages":[{"title":"Install an app","href":"/apps/install-an-app"},{"title":"App stores","href":"/apps/app-stores"},{"title":"Edit an app's compose file and .env","href":"/apps/compose"},{"title":"Use a stack you started yourself","href":"/apps/adopt-a-stack"},{"title":"Deploy an app from git","href":"/apps/apps-from-git"},{"title":"Update apps","href":"/apps/update-apps"},{"title":"App settings","href":"/apps/app-settings"},{"title":"An app's containers: logs, terminal and files","href":"/apps/containers"},{"title":"Health checks and auto-heal","href":"/apps/health-and-auto-heal"},{"title":"Free space: Docker cleanup","href":"/apps/clean-up-docker"}]},{"group":"Backups and restore","pages":[{"title":"How backups work","href":"/backups/how-backups-work"},{"title":"Add a backup destination","href":"/backups/destinations"},{"title":"Back up an app","href":"/backups/back-up-an-app"},{"title":"Back up the box itself","href":"/backups/back-up-the-box"},{"title":"Keep backups with restic","href":"/backups/restic"},{"title":"Restore an app","href":"/backups/restore-an-app"},{"title":"Rebuild a box on new hardware","href":"/backups/rebuild-a-box"},{"title":"Check the backups of every server","href":"/backups/fleet-backups"}]},{"group":"Storage and files","pages":[{"title":"The Storage manager","href":"/storage/storage-manager"},{"title":"/DATA and merged storage","href":"/storage/data-and-merged-storage"},{"title":"Software RAID","href":"/storage/software-raid"},{"title":"SnapRAID","href":"/storage/snapraid"},{"title":"Btrfs mirror","href":"/storage/btrfs-mirror"},{"title":"ZFS pools","href":"/storage/zfs"},{"title":"Use the free space of an LVM volume group","href":"/storage/lvm"},{"title":"Disk sleep and power saving","href":"/storage/disk-sleep-and-power"},{"title":"Files","href":"/storage/files"},{"title":"Shared folders (SMB)","href":"/storage/shared-folders"}]},{"group":"The dashboard","pages":[{"title":"The classic and the new dashboard","href":"/dashboard/classic-and-new"},{"title":"Arrange your home page","href":"/dashboard/arrange-your-home"},{"title":"Built-in widgets","href":"/dashboard/built-in-widgets"},{"title":"API widgets","href":"/dashboard/api-widgets"}]},{"group":"Several servers and remote access","pages":[{"title":"Manage several boxes: the Fleet","href":"/fleet/fleet"},{"title":"Reach your box from your phone or PC","href":"/fleet/remote-access"},{"title":"Share an app on the Internet","href":"/fleet/share-an-app"}]},{"group":"Virtual machines and statistics","pages":[{"title":"Virtual machines","href":"/vms/virtual-machines"},{"title":"The Statistics app","href":"/vms/statistics"},{"title":"Resource alerts","href":"/vms/resource-alerts"}]},{"group":"Alerts and logs","pages":[{"title":"Alerts on your phone or by e-mail","href":"/alerts/alerts"},{"title":"Logs","href":"/alerts/logs"},{"title":"Address monitoring","href":"/alerts/address-monitoring"}]},{"group":"Accounts and security","pages":[{"title":"Accounts and what each one sees","href":"/security/accounts-and-roles"},{"title":"Two-factor authentication and sessions","href":"/security/two-factor-and-sessions"},{"title":"Vulnerability scan","href":"/security/vulnerability-scan"},{"title":"Verify the installer","href":"/security/verify-the-installer"},{"title":"Report a vulnerability","href":"/security/report-a-vulnerability"}]},{"group":"Modules","pages":[{"title":"Modules","href":"/modules/modules"},{"title":"AI access","href":"/modules/ai-access"},{"title":"Write a module","href":"/modules/write-a-module"}]},{"group":"Troubleshooting","pages":[{"title":"Troubleshooting","description":"Find your problem by what you see, then follow its page. Start by collecting the logs.","href":"/troubleshooting/index"},{"title":"Collect logs for a bug report","href":"/troubleshooting/collect-logs"},{"title":"An app shows Stopped but it is running","description":"A service that finished its work, or a restart policy rewritten on save, made the app look stopped. Fixed in v0.5.146.","href":"/troubleshooting/app-stopped"},{"title":"An app says Unhealthy","href":"/troubleshooting/app-unhealthy"},{"title":"Tailscale (or another VPN app) restarts in a loop","href":"/troubleshooting/app-restarts"},{"title":"Port 443 is already in use","href":"/troubleshooting/port-in-use"},{"title":"Update check says its registry could not be reached","href":"/troubleshooting/registry-unreachable"},{"title":"An app opens on the wrong address, or says Unauthorized","href":"/troubleshooting/app-opens-wrong-address"},{"title":"Statistics or Logs list apps I uninstalled","href":"/troubleshooting/ghost-containers"},{"title":"My apps look empty after an update or a restart","href":"/troubleshooting/data-empty-after-update"},{"title":"The storage card is empty or shows 0 %","href":"/troubleshooting/storage-card-empty"},{"title":"The time is wrong in the dashboard or for backups","href":"/troubleshooting/wrong-time"},{"title":"The old dashboard still shows after an update","href":"/troubleshooting/old-dashboard-after-update"}]},{"group":"Help","pages":[{"title":"FAQ","href":"/faq"}]}]},"basePath":"","title":"Collect logs for a bug report - ReCasaOS","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["10e4515597"],"chunks":["BannerMarkdown-74C-oA3c.js","dist-CjxLTLs9.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}