From 67dda2b9f5b85eca6ed16582d9ef391925918d44 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 11:16:24 +0000 Subject: [PATCH] deploy: 4a2e0eac0438c2461a0af03acaf6b85474d50305 --- 404.html | 4 ++-- assets/js/{19f79f7b.8ac5ea77.js => 19f79f7b.44649d01.js} | 2 +- assets/js/{1c14429f.4c980a59.js => 1c14429f.bbeef9e4.js} | 2 +- assets/js/{1d8a5d15.e7adcaec.js => 1d8a5d15.b813a508.js} | 2 +- assets/js/{26b85cb6.39e399ac.js => 26b85cb6.f77ca16f.js} | 2 +- assets/js/{2730e145.6d2ca8f0.js => 2730e145.c3efef5f.js} | 2 +- assets/js/{29b62a39.2534f0a6.js => 29b62a39.0e921934.js} | 2 +- assets/js/{29b83576.3e9fd623.js => 29b83576.b027107b.js} | 2 +- assets/js/{40aeb86f.666e3631.js => 40aeb86f.10305e79.js} | 2 +- assets/js/{445e9e2a.c2516195.js => 445e9e2a.a3734a76.js} | 2 +- assets/js/{4c9535f7.92626407.js => 4c9535f7.5336f7d6.js} | 2 +- assets/js/{4d7007b2.797bc6b1.js => 4d7007b2.485513be.js} | 2 +- assets/js/{5437f376.41663b69.js => 5437f376.f8f24023.js} | 2 +- assets/js/{5b6134d1.ffd5157f.js => 5b6134d1.66abefb9.js} | 2 +- assets/js/{5bc389a1.97f3ff03.js => 5bc389a1.efb08ef9.js} | 2 +- assets/js/665f164c.65414bb3.js | 1 - assets/js/665f164c.b8fd0d52.js | 1 + assets/js/{7aefc753.c70a4db8.js => 7aefc753.2c606375.js} | 2 +- assets/js/{866d553a.24d7efdd.js => 866d553a.be707228.js} | 2 +- assets/js/{8a92e787.2384e292.js => 8a92e787.503d8654.js} | 2 +- assets/js/{9722e053.10b1683a.js => 9722e053.ae8e1b91.js} | 2 +- assets/js/{98f9308d.294834fd.js => 98f9308d.f6c76bdf.js} | 2 +- assets/js/{b249ed45.a2bef880.js => b249ed45.8afc4276.js} | 2 +- assets/js/{b35f1b7f.f76814a1.js => b35f1b7f.39dda8d7.js} | 2 +- assets/js/{d23df0ea.fdd838b3.js => d23df0ea.c6f7986b.js} | 2 +- assets/js/{d7d81bf6.0c0f416a.js => d7d81bf6.5a84a06e.js} | 2 +- assets/js/{d8be0e5a.835c43a1.js => d8be0e5a.5996e2d1.js} | 2 +- assets/js/{fd2b74dc.efc94f6a.js => fd2b74dc.f9fa922d.js} | 2 +- assets/js/{main.831cbb68.js => main.f6af318c.js} | 4 ++-- ...831cbb68.js.LICENSE.txt => main.f6af318c.js.LICENSE.txt} | 0 .../{runtime~main.6a6174b9.js => runtime~main.95e17a85.js} | 2 +- docs/Open-source/code-of-conduct/index.html | 4 ++-- docs/Open-source/contributing/index.html | 4 ++-- docs/Open-source/index.html | 4 ++-- docs/Open-source/repositories/index.html | 4 ++-- docs/develop/client/index.html | 4 ++-- docs/develop/json-rpc/index.html | 4 ++-- docs/develop/overview/index.html | 4 ++-- docs/develop/service-development/index.html | 4 ++-- docs/index.html | 4 ++-- docs/learn/delivery-acknowledgements/index.html | 4 ++-- docs/learn/developers/index.html | 4 ++-- docs/learn/introduction/index.html | 4 ++-- docs/learn/services/index.html | 4 ++-- docs/learn/the-network/index.html | 4 ++-- docs/learn/token-and-economics/index.html | 4 ++-- docs/node/analyzing-logs/index.html | 4 ++-- docs/node/configuration/index.html | 4 ++-- docs/node/diagnostics/index.html | 4 ++-- docs/node/health-check/index.html | 4 ++-- docs/node/install/index.html | 4 ++-- docs/node/lightning-cli/index.html | 4 ++-- docs/node/overview/index.html | 4 ++-- docs/node/requirements/index.html | 4 ++-- docs/node/systemd-service/index.html | 4 ++-- docs/node/testnet-onboarding/index.html | 6 +++--- docs/roadmap/index.html | 4 ++-- docs/tags/about/index.html | 4 ++-- docs/tags/algorithms/index.html | 4 ++-- docs/tags/architecture/index.html | 4 ++-- docs/tags/awards/index.html | 4 ++-- docs/tags/build/index.html | 4 ++-- docs/tags/cdn/index.html | 4 ++-- docs/tags/cli/index.html | 4 ++-- docs/tags/client/index.html | 4 ++-- docs/tags/code-of-conduct/index.html | 4 ++-- docs/tags/codebase/index.html | 4 ++-- docs/tags/command-line-interface/index.html | 4 ++-- docs/tags/compile/index.html | 4 ++-- docs/tags/configuration/index.html | 4 ++-- docs/tags/consensus/index.html | 4 ++-- docs/tags/contribute/index.html | 4 ++-- docs/tags/control/index.html | 4 ++-- docs/tags/decentralization/index.html | 4 ++-- docs/tags/develop/index.html | 4 ++-- docs/tags/diagnostic/index.html | 4 ++-- docs/tags/diagnostics/index.html | 4 ++-- docs/tags/economics/index.html | 4 ++-- docs/tags/edge-network/index.html | 4 ++-- docs/tags/edge-platform/index.html | 4 ++-- docs/tags/fleek-network/index.html | 4 ++-- docs/tags/getting-started/index.html | 4 ++-- docs/tags/git/index.html | 4 ++-- docs/tags/guide/index.html | 4 ++-- docs/tags/healthcheck/index.html | 4 ++-- docs/tags/incentives/index.html | 4 ++-- docs/tags/index.html | 4 ++-- docs/tags/learn/index.html | 4 ++-- docs/tags/lgtn/index.html | 4 ++-- docs/tags/lightning/index.html | 4 ++-- docs/tags/logs/index.html | 4 ++-- docs/tags/manage/index.html | 4 ++-- docs/tags/manual/index.html | 4 ++-- docs/tags/node-status/index.html | 4 ++-- docs/tags/onboarding/index.html | 4 ++-- docs/tags/open-source/index.html | 4 ++-- docs/tags/permissionless/index.html | 4 ++-- docs/tags/phases/index.html | 4 ++-- docs/tags/pledge/index.html | 4 ++-- docs/tags/ports/index.html | 4 ++-- docs/tags/protocol/index.html | 4 ++-- docs/tags/repository/index.html | 4 ++-- docs/tags/reputation/index.html | 4 ++-- docs/tags/requirements/index.html | 4 ++-- docs/tags/rewards/index.html | 4 ++-- docs/tags/roadmap/index.html | 4 ++-- docs/tags/rpc/index.html | 4 ++-- docs/tags/rust-dependencies/index.html | 4 ++-- docs/tags/sdk/index.html | 4 ++-- docs/tags/server/index.html | 4 ++-- docs/tags/services/index.html | 4 ++-- docs/tags/snarks/index.html | 4 ++-- docs/tags/standards/index.html | 4 ++-- docs/tags/systemctl/index.html | 4 ++-- docs/tags/systemd/index.html | 4 ++-- docs/tags/testnet/index.html | 4 ++-- docs/tags/token/index.html | 4 ++-- docs/tags/tokenomics/index.html | 4 ++-- docs/tags/toolkit/index.html | 4 ++-- docs/tags/verification/index.html | 4 ++-- docs/tags/whitepaper/index.html | 4 ++-- docs/tags/wizard/index.html | 4 ++-- docs/whitepaper/index.html | 4 ++-- guides/Node Operators/getting-started/index.html | 6 +++--- guides/Node Operators/how-to-manage-log-files/index.html | 6 +++--- guides/Node Operators/managing-the-keystore/index.html | 6 +++--- guides/Node Operators/running-a-node-in-docker/index.html | 6 +++--- .../Node Operators/transfering-setup-ownership/index.html | 6 +++--- guides/Node Operators/updating-lightning/index.html | 6 +++--- guides/index.html | 6 +++--- guides/tags/configuration/index.html | 4 ++-- guides/tags/container/index.html | 4 ++-- guides/tags/docker/index.html | 4 ++-- guides/tags/edge-computing/index.html | 4 ++-- guides/tags/fleek-network/index.html | 4 ++-- guides/tags/getting-started/index.html | 4 ++-- guides/tags/guide/index.html | 4 ++-- guides/tags/guides/index.html | 4 ++-- guides/tags/help/index.html | 4 ++-- guides/tags/index.html | 4 ++-- guides/tags/keys/index.html | 4 ++-- guides/tags/keystore/index.html | 4 ++-- guides/tags/logs/index.html | 4 ++-- guides/tags/ownership/index.html | 4 ++-- guides/tags/private-keys/index.html | 4 ++-- guides/tags/public-keys/index.html | 4 ++-- guides/tags/rebuild/index.html | 4 ++-- guides/tags/setup/index.html | 4 ++-- guides/tags/transfer/index.html | 4 ++-- guides/tags/update/index.html | 4 ++-- index.html | 4 ++-- references/Docker/build-and-run-in-docker/index.html | 6 +++--- .../frequently-used-commands-for-docker-setup/index.html | 6 +++--- references/Docker/uninstall-docker-setup/index.html | 6 +++--- references/Lightning CLI/backing-up-the-keystore/index.html | 6 +++--- references/Lightning CLI/error-building-on-arm64/index.html | 6 +++--- .../error-linking-with-cc-failed-exist-status-1/index.html | 6 +++--- .../Lightning CLI/file-permissions-and-ownership/index.html | 6 +++--- .../frequently-used-commands-for-native-setup/index.html | 6 +++--- references/Lightning CLI/keys-not-found/index.html | 6 +++--- .../Lightning CLI/node-secret-key-does-not-exist/index.html | 6 +++--- .../Lightning CLI/permission-denied-os-error-13/index.html | 6 +++--- references/Lightning CLI/restore-the-keystore/index.html | 6 +++--- .../Lightning CLI/uninstall-lightning-node/index.html | 6 +++--- .../Lightning CLI/update-cli-from-source-code/index.html | 6 +++--- .../Systemd/service-keeps-running-after-shutdown/index.html | 6 +++--- references/Systemd/shutting-down-persistance/index.html | 6 +++--- references/Systemd/user-service/index.html | 6 +++--- references/index.html | 6 +++--- references/tags/backup/index.html | 4 ++-- references/tags/build/index.html | 4 ++-- references/tags/clean/index.html | 4 ++-- references/tags/clear/index.html | 4 ++-- references/tags/cli/index.html | 4 ++-- references/tags/commands/index.html | 4 ++-- references/tags/container/index.html | 4 ++-- references/tags/delete/index.html | 4 ++-- references/tags/docker/index.html | 4 ++-- references/tags/file-permissions/index.html | 4 ++-- references/tags/fix/index.html | 4 ++-- references/tags/frozen/index.html | 4 ++-- references/tags/help/index.html | 4 ++-- references/tags/idle/index.html | 4 ++-- references/tags/image/index.html | 4 ++-- references/tags/index.html | 4 ++-- references/tags/keystore/index.html | 4 ++-- references/tags/lightning/index.html | 4 ++-- references/tags/lost-keys/index.html | 4 ++-- references/tags/ownership/index.html | 4 ++-- references/tags/permissions/index.html | 4 ++-- references/tags/pkill/index.html | 4 ++-- references/tags/process/index.html | 4 ++-- references/tags/reference/index.html | 4 ++-- references/tags/references/index.html | 4 ++-- references/tags/remove/index.html | 4 ++-- references/tags/restore/index.html | 4 ++-- references/tags/root/index.html | 4 ++-- references/tags/service-error/index.html | 4 ++-- references/tags/shutdown/index.html | 4 ++-- references/tags/sudoer/index.html | 4 ++-- references/tags/systemctl/index.html | 4 ++-- references/tags/systemd/index.html | 4 ++-- references/tags/uninstall/index.html | 4 ++-- references/tags/unit/index.html | 4 ++-- references/tags/update/index.html | 4 ++-- references/tags/upgrade/index.html | 4 ++-- references/tags/user-service/index.html | 4 ++-- search/index.html | 4 ++-- 208 files changed, 411 insertions(+), 411 deletions(-) rename assets/js/{19f79f7b.8ac5ea77.js => 19f79f7b.44649d01.js} (99%) rename assets/js/{1c14429f.4c980a59.js => 1c14429f.bbeef9e4.js} (99%) rename assets/js/{1d8a5d15.e7adcaec.js => 1d8a5d15.b813a508.js} (99%) rename assets/js/{26b85cb6.39e399ac.js => 26b85cb6.f77ca16f.js} (99%) rename assets/js/{2730e145.6d2ca8f0.js => 2730e145.c3efef5f.js} (99%) rename assets/js/{29b62a39.2534f0a6.js => 29b62a39.0e921934.js} (97%) rename assets/js/{29b83576.3e9fd623.js => 29b83576.b027107b.js} (99%) rename assets/js/{40aeb86f.666e3631.js => 40aeb86f.10305e79.js} (99%) rename assets/js/{445e9e2a.c2516195.js => 445e9e2a.a3734a76.js} (98%) rename assets/js/{4c9535f7.92626407.js => 4c9535f7.5336f7d6.js} (99%) rename assets/js/{4d7007b2.797bc6b1.js => 4d7007b2.485513be.js} (97%) rename assets/js/{5437f376.41663b69.js => 5437f376.f8f24023.js} (99%) rename assets/js/{5b6134d1.ffd5157f.js => 5b6134d1.66abefb9.js} (99%) rename assets/js/{5bc389a1.97f3ff03.js => 5bc389a1.efb08ef9.js} (99%) delete mode 100644 assets/js/665f164c.65414bb3.js create mode 100644 assets/js/665f164c.b8fd0d52.js rename assets/js/{7aefc753.c70a4db8.js => 7aefc753.2c606375.js} (99%) rename assets/js/{866d553a.24d7efdd.js => 866d553a.be707228.js} (99%) rename assets/js/{8a92e787.2384e292.js => 8a92e787.503d8654.js} (99%) rename assets/js/{9722e053.10b1683a.js => 9722e053.ae8e1b91.js} (99%) rename assets/js/{98f9308d.294834fd.js => 98f9308d.f6c76bdf.js} (98%) rename assets/js/{b249ed45.a2bef880.js => b249ed45.8afc4276.js} (99%) rename assets/js/{b35f1b7f.f76814a1.js => b35f1b7f.39dda8d7.js} (99%) rename assets/js/{d23df0ea.fdd838b3.js => d23df0ea.c6f7986b.js} (99%) rename assets/js/{d7d81bf6.0c0f416a.js => d7d81bf6.5a84a06e.js} (99%) rename assets/js/{d8be0e5a.835c43a1.js => d8be0e5a.5996e2d1.js} (99%) rename assets/js/{fd2b74dc.efc94f6a.js => fd2b74dc.f9fa922d.js} (98%) rename assets/js/{main.831cbb68.js => main.f6af318c.js} (98%) rename assets/js/{main.831cbb68.js.LICENSE.txt => main.f6af318c.js.LICENSE.txt} (100%) rename assets/js/{runtime~main.6a6174b9.js => runtime~main.95e17a85.js} (71%) diff --git a/404.html b/404.html index 8f2a3691d..5ea2385df 100644 --- a/404.html +++ b/404.html @@ -7,8 +7,8 @@ - - + +
diff --git a/assets/js/19f79f7b.8ac5ea77.js b/assets/js/19f79f7b.44649d01.js similarity index 99% rename from assets/js/19f79f7b.8ac5ea77.js rename to assets/js/19f79f7b.44649d01.js index 44bbad04c..be9fdb6a7 100644 --- a/assets/js/19f79f7b.8ac5ea77.js +++ b/assets/js/19f79f7b.44649d01.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocta=self.webpackChunkdocta||[]).push([[8489],{8816:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>g,frontMatter:()=>r,metadata:()=>a,toc:()=>d});var o=n(5893),i=n(1151),s=n(3872);const r={title:"How to manage log files",hide_title:!0,slug:"how-to-manage-log-files",date:new Date("2023-10-27T12:00:00.000Z"),image:"./assets/managing-the-keystore.png?202311181211",description:"Learn how to rotate, compress the log files",category:"Tutorial",tags:["guide","logs"]},l=void 0,a={id:"Node Operators/how-to-manage-logfiles",title:"How to manage log files",description:"Learn how to rotate, compress the log files",source:"@site/guides/Node Operators/how-to-manage-logfiles.md",sourceDirName:"Node Operators",slug:"/Node Operators/how-to-manage-log-files",permalink:"/guides/Node Operators/how-to-manage-log-files",draft:!1,unlisted:!1,editUrl:"https://github.com/fleek-network/fleek-network-docs/edit/main/guides/Node Operators/how-to-manage-logfiles.md",tags:[{label:"guide",permalink:"/guides/tags/guide"},{label:"logs",permalink:"/guides/tags/logs"}],version:"current",lastUpdatedAt:1706785845,formattedLastUpdatedAt:"Feb 1, 2024",frontMatter:{title:"How to manage log files",hide_title:!0,slug:"how-to-manage-log-files",date:"2023-10-27T12:00:00.000Z",image:"./assets/managing-the-keystore.png?202311181211",description:"Learn how to rotate, compress the log files",category:"Tutorial",tags:["guide","logs"]},sidebar:"defaultSidebar",previous:{title:"Getting Started",permalink:"/guides/Node Operators/getting-started"},next:{title:"Managing the keystore",permalink:"/guides/Node Operators/managing-the-keystore"}},c={image:n(4110).Z},d=[{value:"Introduction",id:"introduction",level:2},{value:"Journal",id:"journal",level:2},{value:"Commands",id:"commands",level:3},{value:"Disk utilization checkup",id:"disk-utilization-checkup",level:4},{value:"Clearing logs manually",id:"clearing-logs-manually",level:4},{value:"Follow or tail logs of service",id:"follow-or-tail-logs-of-service",level:4},{value:"Show all service entries",id:"show-all-service-entries",level:4},{value:"Configuration file",id:"configuration-file",level:3},{value:"Create the directory and config file",id:"create-the-directory-and-config-file",level:3},{value:"Configuration settings",id:"configuration-settings",level:3},{value:"Logrotate",id:"logrotate",level:2},{value:"Prerequesite",id:"prerequesite",level:3},{value:"Explore the Configuration files",id:"explore-the-configuration-files",level:3},{value:"Create the Lightning logrotate configuration file",id:"create-the-lightning-logrotate-configuration-file",level:3},{value:"Lightning Configuration Settings",id:"lightning-configuration-settings",level:3},{value:"Cron job",id:"cron-job",level:3},{value:"Conclusion",id:"conclusion",level:2}];function h(e){const t={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",h4:"h4",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.p,{children:(0,o.jsx)(t.img,{alt:"How to manage log files",src:n(5407).Z+"",width:"1450",height:"816"})}),"\n","\n","\n",(0,o.jsx)(t.h2,{id:"introduction",children:"Introduction"}),"\n",(0,o.jsx)(t.p,{children:"The Fleek Network node streams text messages to the standard output and error in Linux. Given that disk space is a limited resource for most systems, the number of text data can be a cause of concern. Managing the file sizes by means of rotation and compression can help."}),"\n",(0,o.jsx)(t.p,{children:"A conventional Fleek Network Service setup (as per the documentation and tool recommendations), have the text data stored in a special directory for storing logs called /var/log. The /var/log directory contains logs from various applications running on the operating system, the operating system itself, and others."}),"\n",(0,o.jsx)(t.p,{children:"For the purpose of storing network node operation logs, it defaults to the /var/log/lightning directory where the files output.log (stdout) and diagnostic.log (stderr) is located and accumulated. As the node runs, the size of the files increase, as it aggregates all the output generated by the Fleek Network service operations, such as info, errors, etc."}),"\n",(0,o.jsx)(t.p,{children:"A Node Operator can configure the system to rotate, compress, and set maximum size of these files to safeguard any concerns or issues that can get out of control, such as causing disk space to become full quickly."}),"\n",(0,o.jsxs)(t.p,{children:["In this guide, we'll look into some options available to manage the logs. First, we'll look into journald.conf which controls where to store journal data (the journal is a component of systemd that handles all the messages in a Systemd enabled system). Afterwards, we'll look into ",(0,o.jsx)(t.a,{href:"https://linux.die.net/man/8/logrotate",children:"Logrotate"})," an application to help us manage automatic rotation and compression of log files."]}),"\n",(0,o.jsx)(t.p,{children:"In essence, the journal and the logs duplicate the same information, and we want to make sure that we set measures to control it."}),"\n",(0,o.jsx)(t.h2,{id:"journal",children:"Journal"}),"\n",(0,o.jsxs)(t.p,{children:["Journal is a component of Systemd, a centralized location for all messages logged by different components in a systemd-enabled Linux system. The systemd journal will happily run in parallel with the standard type log files in ",(0,o.jsx)(t.code,{children:"/var/log/*"})," where the Fleek Network Systemd Unit Service outputs Standard Output and Standard Error in the location ",(0,o.jsx)(t.code,{children:"/var/log/lightning/*.log"}),"."]}),"\n",(0,o.jsxs)(t.p,{children:["Here, we are going to learn how to configure the ",(0,o.jsx)(t.code,{children:"journald.conf"})," service configuration file for the system-wide settings (meaning that it applies to all services), but firstly we're going to learn some commands to help us troubleshoot when necessary."]}),"\n",(0,o.jsx)(t.h3,{id:"commands",children:"Commands"}),"\n",(0,o.jsx)(t.h4,{id:"disk-utilization-checkup",children:"Disk utilization checkup"}),"\n",(0,o.jsx)(t.p,{children:"To check how much disk space is used by Systemd log files, run the command below:"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{children:"sudo journalctl --disk-usage\n"})}),"\n",(0,o.jsx)(t.p,{children:"It provides information of how much disk space is utilized by the log files in your system."}),"\n",(0,o.jsx)(t.h4,{id:"clearing-logs-manually",children:"Clearing logs manually"}),"\n",(0,o.jsxs)(t.p,{children:["The best way to clear log files is done automatically by the ",(0,o.jsx)(t.code,{children:"journald.conf"})," configuration file, discussed in ",(0,o.jsx)(t.a,{href:"#configuration-file",children:"Configuration file"}),". In the ideal world, you shouldn't have to manually delete the log files, but this can be useful to know about when troubleshooting."]}),"\n",(0,o.jsxs)(t.p,{children:["To ",(0,o.jsx)(t.code,{children:"flush"})," the log files run the command below:"]}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{children:"sudo journalctl --flush --rotate\nsudo journalctl --vacuum-time=1s\n"})}),"\n",(0,o.jsxs)(t.admonition,{type:"tip",children:[(0,o.jsx)(t.p,{children:"The flush and rotate flag is used, as vaccum-time only clears archived logs and not active ones. It'll flush:"}),(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsx)(t.li,{children:"Move /run/log/journal to /var/log/journal"}),"\n",(0,o.jsx)(t.li,{children:"Rotate (this flag archives logs and retains it)"}),"\n"]}),(0,o.jsx)(t.p,{children:"Since it'll only keep the past 1-second-long files, it'll effectively clear everything."})]}),"\n",(0,o.jsx)(t.h4,{id:"follow-or-tail-logs-of-service",children:"Follow or tail logs of service"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{children:"sudo journalctl -u/root/.lightning
directory from one user to the other",id:"1-move-the-rootlightning-directory-from-one-user-to-the-other",level:3},{value:"2) Move the /root/fleek-network
directory from one user to the other",id:"2-move-the-rootfleek-network-directory-from-one-user-to-the-other",level:3},{value:"3) Confirm move by finding both directories",id:"3-confirm-move-by-finding-both-directories",level:3},{value:"Change ownership of files",id:"change-ownership-of-files",level:2},{value:"The lgtn symbolic link (symlink)",id:"the-lgtn-symbolic-link-symlink",level:2},{value:"Update the Systemd service unit",id:"update-the-systemd-service-unit",level:2},{value:"Update the config.toml with user-preferred file locations",id:"update-the-configtoml-with-user-preferred-file-locations",level:2},{value:"Start the service",id:"start-the-service",level:2},{value:"Conclusion",id:"conclusion",level:2}];function u(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{alt:"Transfering setup ownership",src:t(2867).Z+"",width:"1450",height:"816"})}),"\n","\n","\n",(0,s.jsx)(n.h2,{id:"tldr",children:"TL;DR"}),"\n",(0,s.jsxs)(n.admonition,{type:"tip",children:[(0,s.jsxs)(n.p,{children:["The step-by-step instructions provided in the guide should be simple to follow, but the process is also available as an automated script from our familiar ",(0,s.jsx)(n.a,{href:"https://github.com/fleek-network/get.fleek.network",children:"get.fleek.network"})," tool."]}),(0,s.jsx)(n.p,{children:"To use the automated script execute the following command in your server terminal and follow the instructions:"}),(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"curl -sS https://get.fleek.network/transfer_system_user_setup_ownership | bash\n"})}),(0,s.jsxs)(n.p,{children:["We try to make the auomated scripts as useful as possible, but it's impossible to fit every single use-case. So, if you find any isses or have feedback to help us improve ",(0,s.jsx)(n.a,{href:"https://discord.gg/fleek",children:"message us through our Discord"}),"."]})]}),"\n",(0,s.jsx)(n.h2,{id:"introduction",children:"Introduction"}),"\n",(0,s.jsx)(n.p,{children:"Our Lightning CLI and Node process is run by a user, that has some sort of permissions\u2013some users run it as a super user (root) which is questionable as root privileges are not a necessary good. We'll look into how to create a user to manage and control the Fleek Network Lightning CLI and Systemd unit service. Also, presents the concept of file permissions and ownership which is crucial in preventing private or sensitive data from being exposed to dodgy actors."}),"\n",(0,s.jsx)(n.p,{children:"Let's discuss the topic and open up a few ideas to help us improve the security of our server."}),"\n",(0,s.jsx)(n.h2,{id:"pre-requisites",children:"Pre-requisites"}),"\n",(0,s.jsx)(n.p,{children:"To follow the guide, you will need the following:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Familiarity with the command-line interface"}),"\n",(0,s.jsx)(n.li,{children:"Have installed and set up the Lightning CLI and service"}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"ownership-of-lightning-cli-files",children:"Ownership of Lightning CLI files"}),"\n",(0,s.jsx)(n.p,{children:"The user who installs the Lightning CLI and sets the Service takes an important role that determines the location of the configuration files, the setup, and how the Systemd service is managed or controlled."}),"\n",(0,s.jsxs)(n.p,{children:["Our ",(0,s.jsx)(n.a,{href:"/docs/node/install",children:"install"})," document recommends creating a user and switching to the user to set up the service. You shouldn't want installed applications to run with elevated privileges. Applications are meant to be run with non-administrative privileges. If an application requires higher privileges, the administrator, such as a ",(0,s.jsx)(n.a,{href:"https://en.wikipedia.org/wiki/Sudo",children:"sudoer"})," should be able to elevate it. An application that has full access and control of a system can modify it in harmful ways, e.g. compromise the private keys."]}),"\n",(0,s.jsx)(n.p,{children:"For our guide, we'll illustrate the process of migration from a super user (root) to another user (sudo). The knowledge should be easily appliable for any other user-to-user migration. We stick with root user for simplicity and because that's the most common use case."}),"\n",(0,s.jsx)(n.admonition,{type:"tip",children:(0,s.jsxs)(n.p,{children:["A reference document about ",(0,s.jsx)(n.a,{href:"/references/Lightning%20CLI/file-permissions-and-ownership",children:"File permissions and ownership"})," is available that explains how it works practically, by showcasing how the process can be started, how the node process locates the Keystore, etc."]})}),"\n",(0,s.jsx)(n.h2,{id:"systemd-service",children:"Systemd Service"}),"\n",(0,s.jsx)(n.p,{children:"In systemd, a unit refers to any resource that the system knows how to operate on and manage. This is the primary object that the systemd tools know how to deal with. These resources are defined using configuration files called unit files."}),"\n",(0,s.jsxs)(n.p,{children:["The recommended installation process features a ",(0,s.jsx)(n.a,{href:"https://www.freedesktop.org/software/systemd/man/systemd.service.html",children:"systemd.service"})," which is a resource that the system knows how to operate and manage by an administrator user."]}),"\n",(0,s.jsx)(n.admonition,{type:"tip",children:(0,s.jsx)(n.p,{children:"When using a Systemd service to run a process, it operates comparably to running it directly. The key difference is that Systemd keeps track of all the processes and threads that are spawned. This means that when a service is stopped using systemctl, such as the Fleek Network Lightning Node service, all the child processes that were started by the service are also terminated. Additionally, by utilizing Systemd, a user can run the process in the background and configure it to start automatically on system startup."})}),"\n",(0,s.jsxs)(n.p,{children:["If you have followed the installation recommendations, find the systemd service unit in the location ",(0,s.jsx)(n.code,{children:"/etc/systemd/system/lightning.service"})," (we are using Ubuntu Linux as an example to keep it short)."]}),"\n",(0,s.jsxs)(n.p,{children:["Make sure that you have set up a ",(0,s.jsx)(n.a,{href:"/docs/node/install#systemd-service-setup",children:"Systemd unit service"}),", as recommended during the installation as this guide assumes you have one setup."]}),"\n",(0,s.jsx)(n.h2,{id:"stop-the-service",children:"Stop the service"}),"\n",(0,s.jsxs)(n.p,{children:["Before we proceed with any changes required for the migration, you'll have to stop the ",(0,s.jsx)(n.code,{children:"lightning.service"}),"."]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"systemctl stop lightning\n"})}),"\n",(0,s.jsx)(n.admonition,{type:"note",children:(0,s.jsxs)(n.p,{children:["For this guide, we are assuming that you are migrating ownership from ",(0,s.jsx)(n.strong,{children:"root"})," to a ",(0,s.jsx)(n.strong,{children:"sudoer"})," user. If not, you might be required to elevate privileges as ",(0,s.jsx)(n.strong,{children:"sudo"}),"** where required. For example, ",(0,s.jsx)(n.code,{children:"sudo systemctl stop lightning"}),"."]})}),"\n",(0,s.jsx)(n.h2,{id:"clear-the-lightning-data",children:"Clear the .lightning data"}),"\n",(0,s.jsxs)(n.p,{children:["Run the following command to clear the ",(0,s.jsx)(n.code,{children:"/root/.lightning/data"}),", as it can be quite large, and we don't need to move it."]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"sudo rm -rf /root/.lightning/data\n"})}),"\n",(0,s.jsx)(n.h2,{id:"create-a-user",children:"Create a user"}),"\n",(0,s.jsx)(o.ZP,{}),"\n",(0,s.jsx)(n.h2,{id:"move-lightning-system-and-source-code-directory-to-users-home",children:"Move lightning system and source code directory to user's home"}),"\n",(0,s.jsx)(n.p,{children:"A user should've been created, added the user to the sudo group, switched to the user, and changed the directory to the user's home."}),"\n",(0,s.jsxs)(n.p,{children:["Run the command ",(0,s.jsx)(n.code,{children:"pwd"}),":"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"pwd\n"})}),"\n",(0,s.jsx)(n.p,{children:"The output would look like:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"/home//root/.lightning
directory from one user to the other",id:"1-move-the-rootlightning-directory-from-one-user-to-the-other",level:3},{value:"2) Move the /root/fleek-network
directory from one user to the other",id:"2-move-the-rootfleek-network-directory-from-one-user-to-the-other",level:3},{value:"3) Confirm move by finding both directories",id:"3-confirm-move-by-finding-both-directories",level:3},{value:"Change ownership of files",id:"change-ownership-of-files",level:2},{value:"The lgtn symbolic link (symlink)",id:"the-lgtn-symbolic-link-symlink",level:2},{value:"Update the Systemd service unit",id:"update-the-systemd-service-unit",level:2},{value:"Update the config.toml with user-preferred file locations",id:"update-the-configtoml-with-user-preferred-file-locations",level:2},{value:"Start the service",id:"start-the-service",level:2},{value:"Conclusion",id:"conclusion",level:2}];function u(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{alt:"Transfering setup ownership",src:t(2867).Z+"",width:"1450",height:"816"})}),"\n","\n","\n",(0,s.jsx)(n.h2,{id:"tldr",children:"TL;DR"}),"\n",(0,s.jsxs)(n.admonition,{type:"tip",children:[(0,s.jsxs)(n.p,{children:["The step-by-step instructions provided in the guide should be simple to follow, but the process is also available as an automated script from our familiar ",(0,s.jsx)(n.a,{href:"https://github.com/fleek-network/get.fleek.network",children:"get.fleek.network"})," tool."]}),(0,s.jsx)(n.p,{children:"To use the automated script execute the following command in your server terminal and follow the instructions:"}),(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"curl -sS https://get.fleek.network/transfer_system_user_setup_ownership | bash\n"})}),(0,s.jsxs)(n.p,{children:["We try to make the auomated scripts as useful as possible, but it's impossible to fit every single use-case. So, if you find any isses or have feedback to help us improve ",(0,s.jsx)(n.a,{href:"https://discord.gg/fleek",children:"message us through our Discord"}),"."]})]}),"\n",(0,s.jsx)(n.h2,{id:"introduction",children:"Introduction"}),"\n",(0,s.jsx)(n.p,{children:"Our Lightning CLI and Node process is run by a user, that has some sort of permissions\u2013some users run it as a super user (root) which is questionable as root privileges are not a necessary good. We'll look into how to create a user to manage and control the Fleek Network Lightning CLI and Systemd unit service. Also, presents the concept of file permissions and ownership which is crucial in preventing private or sensitive data from being exposed to dodgy actors."}),"\n",(0,s.jsx)(n.p,{children:"Let's discuss the topic and open up a few ideas to help us improve the security of our server."}),"\n",(0,s.jsx)(n.h2,{id:"pre-requisites",children:"Pre-requisites"}),"\n",(0,s.jsx)(n.p,{children:"To follow the guide, you will need the following:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Familiarity with the command-line interface"}),"\n",(0,s.jsx)(n.li,{children:"Have installed and set up the Lightning CLI and service"}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"ownership-of-lightning-cli-files",children:"Ownership of Lightning CLI files"}),"\n",(0,s.jsx)(n.p,{children:"The user who installs the Lightning CLI and sets the Service takes an important role that determines the location of the configuration files, the setup, and how the Systemd service is managed or controlled."}),"\n",(0,s.jsxs)(n.p,{children:["Our ",(0,s.jsx)(n.a,{href:"/docs/node/install",children:"install"})," document recommends creating a user and switching to the user to set up the service. You shouldn't want installed applications to run with elevated privileges. Applications are meant to be run with non-administrative privileges. If an application requires higher privileges, the administrator, such as a ",(0,s.jsx)(n.a,{href:"https://en.wikipedia.org/wiki/Sudo",children:"sudoer"})," should be able to elevate it. An application that has full access and control of a system can modify it in harmful ways, e.g. compromise the private keys."]}),"\n",(0,s.jsx)(n.p,{children:"For our guide, we'll illustrate the process of migration from a super user (root) to another user (sudo). The knowledge should be easily appliable for any other user-to-user migration. We stick with root user for simplicity and because that's the most common use case."}),"\n",(0,s.jsx)(n.admonition,{type:"tip",children:(0,s.jsxs)(n.p,{children:["A reference document about ",(0,s.jsx)(n.a,{href:"/references/Lightning%20CLI/file-permissions-and-ownership",children:"File permissions and ownership"})," is available that explains how it works practically, by showcasing how the process can be started, how the node process locates the Keystore, etc."]})}),"\n",(0,s.jsx)(n.h2,{id:"systemd-service",children:"Systemd Service"}),"\n",(0,s.jsx)(n.p,{children:"In systemd, a unit refers to any resource that the system knows how to operate on and manage. This is the primary object that the systemd tools know how to deal with. These resources are defined using configuration files called unit files."}),"\n",(0,s.jsxs)(n.p,{children:["The recommended installation process features a ",(0,s.jsx)(n.a,{href:"https://www.freedesktop.org/software/systemd/man/systemd.service.html",children:"systemd.service"})," which is a resource that the system knows how to operate and manage by an administrator user."]}),"\n",(0,s.jsx)(n.admonition,{type:"tip",children:(0,s.jsx)(n.p,{children:"When using a Systemd service to run a process, it operates comparably to running it directly. The key difference is that Systemd keeps track of all the processes and threads that are spawned. This means that when a service is stopped using systemctl, such as the Fleek Network Lightning Node service, all the child processes that were started by the service are also terminated. Additionally, by utilizing Systemd, a user can run the process in the background and configure it to start automatically on system startup."})}),"\n",(0,s.jsxs)(n.p,{children:["If you have followed the installation recommendations, find the systemd service unit in the location ",(0,s.jsx)(n.code,{children:"/etc/systemd/system/lightning.service"})," (we are using Ubuntu Linux as an example to keep it short)."]}),"\n",(0,s.jsxs)(n.p,{children:["Make sure that you have set up a ",(0,s.jsx)(n.a,{href:"/docs/node/install#systemd-service-setup",children:"Systemd unit service"}),", as recommended during the installation as this guide assumes you have one setup."]}),"\n",(0,s.jsx)(n.h2,{id:"stop-the-service",children:"Stop the service"}),"\n",(0,s.jsxs)(n.p,{children:["Before we proceed with any changes required for the migration, you'll have to stop the ",(0,s.jsx)(n.code,{children:"lightning.service"}),"."]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"systemctl stop lightning\n"})}),"\n",(0,s.jsx)(n.admonition,{type:"note",children:(0,s.jsxs)(n.p,{children:["For this guide, we are assuming that you are migrating ownership from ",(0,s.jsx)(n.strong,{children:"root"})," to a ",(0,s.jsx)(n.strong,{children:"sudoer"})," user. If not, you might be required to elevate privileges as ",(0,s.jsx)(n.strong,{children:"sudo"}),"** where required. For example, ",(0,s.jsx)(n.code,{children:"sudo systemctl stop lightning"}),"."]})}),"\n",(0,s.jsx)(n.h2,{id:"clear-the-lightning-data",children:"Clear the .lightning data"}),"\n",(0,s.jsxs)(n.p,{children:["Run the following command to clear the ",(0,s.jsx)(n.code,{children:"/root/.lightning/data"}),", as it can be quite large, and we don't need to move it."]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"sudo rm -rf /root/.lightning/data\n"})}),"\n",(0,s.jsx)(n.h2,{id:"create-a-user",children:"Create a user"}),"\n",(0,s.jsx)(o.ZP,{}),"\n",(0,s.jsx)(n.h2,{id:"move-lightning-system-and-source-code-directory-to-users-home",children:"Move lightning system and source code directory to user's home"}),"\n",(0,s.jsx)(n.p,{children:"A user should've been created, added the user to the sudo group, switched to the user, and changed the directory to the user's home."}),"\n",(0,s.jsxs)(n.p,{children:["Run the command ",(0,s.jsx)(n.code,{children:"pwd"}),":"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"pwd\n"})}),"\n",(0,s.jsx)(n.p,{children:"The output would look like:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"/home/config.toml
",id:"update-the-configtoml",level:2},{value:"Update the config.toml
with user home path",id:"update-the-configtoml-with-user-home-path",level:2},{value:"Restart the service",id:"restart-the-service",level:2},{value:"Health checkup",id:"health-checkup",level:2}];function x(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.admonition,{type:"tip",children:[(0,s.jsx)(n.p,{children:"Although the step-by-step instructions described here are simple to follow, this steps are available as an automated script."}),(0,s.jsxs)(n.p,{children:["To use the automated script execute the following command in your server terminal, select ",(0,s.jsx)(n.strong,{children:"Node Update"})," from the ",(0,s.jsx)(n.strong,{children:"Tools"})," menu option and follow the instructions:"]}),(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"curl -sS https://get.fleek.network | bash\n"})})]}),"\n",(0,s.jsx)(c.ZP,{}),"\n",(0,s.jsx)(h.ZP,{}),"\n",(0,s.jsx)(n.h2,{id:"switch-to-the-installation-user",children:"Switch to the installation user"}),"\n",(0,s.jsx)(n.p,{children:"Switch to the username you've used throughout the installation process."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"su config.toml
",id:"update-the-configtoml",level:2},{value:"Update the config.toml
with user home path",id:"update-the-configtoml-with-user-home-path",level:2},{value:"Restart the service",id:"restart-the-service",level:2},{value:"Health checkup",id:"health-checkup",level:2}];function x(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.admonition,{type:"tip",children:[(0,s.jsx)(n.p,{children:"Although the step-by-step instructions described here are simple to follow, this steps are available as an automated script."}),(0,s.jsxs)(n.p,{children:["To use the automated script execute the following command in your server terminal, select ",(0,s.jsx)(n.strong,{children:"Node Update"})," from the ",(0,s.jsx)(n.strong,{children:"Tools"})," menu option and follow the instructions:"]}),(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"curl -sS https://get.fleek.network | bash\n"})})]}),"\n",(0,s.jsx)(c.ZP,{}),"\n",(0,s.jsx)(h.ZP,{}),"\n",(0,s.jsx)(n.h2,{id:"switch-to-the-installation-user",children:"Switch to the installation user"}),"\n",(0,s.jsx)(n.p,{children:"Switch to the username you've used throughout the installation process."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"su --user
support",id:"check---user-support",level:2},{value:"Put the service unit in the user service",id:"put-the-service-unit-in-the-user-service",level:2},{value:"Reload daemon",id:"reload-daemon",level:2},{value:"Systemd service control as --user
",id:"systemd-service-control-as---user",level:2},{value:"Problem statement",id:"problem-statement",level:2}];function h(e){const s={a:"a",code:"code",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.p,{children:["A user should have the ability to run a Systemd user service unit without having to use ",(0,n.jsx)(s.code,{children:"sudo"})," to control it."]}),"\n",(0,n.jsxs)(s.h2,{id:"check---user-support",children:["Check ",(0,n.jsx)(s.code,{children:"--user"})," support"]}),"\n",(0,n.jsxs)(s.p,{children:["Use the ",(0,n.jsx)(s.code,{children:"--user"})," flag when getting the list of unit files."]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user list-unit-files\n"})}),"\n",(0,n.jsx)(s.p,{children:"It should return a list of unit files."}),"\n",(0,n.jsx)(s.h2,{id:"put-the-service-unit-in-the-user-service",children:"Put the service unit in the user service"}),"\n",(0,n.jsx)(s.p,{children:"Create the Systemd user units directory:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"sudo mkdir -p /etc/systemd/system/user\n"})}),"\n",(0,n.jsxs)(s.p,{children:["Move the ",(0,n.jsx)(s.code,{children:"lightning.service"})," to the system user unit service directory:"]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"mv /etc/systemd/system/lightning.service /etc/systemd/system/user/lightning.service\n"})}),"\n",(0,n.jsxs)(s.p,{children:["Check the ",(0,n.jsx)(s.strong,{children:"Load path when running in user mode (--user)"})," in ",(0,n.jsx)(s.a,{href:"https://www.freedesktop.org/software/systemd/man/systemd.unit.html",children:"Systemd unit"})," for other alternative user paths, or to understand how it works to customize your server accordingly."]}),"\n",(0,n.jsx)(s.h2,{id:"reload-daemon",children:"Reload daemon"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"sudo systemctl daemon-reload\n"})}),"\n",(0,n.jsxs)(s.h2,{id:"systemd-service-control-as---user",children:["Systemd service control as ",(0,n.jsx)(s.code,{children:"--user"})]}),"\n",(0,n.jsx)(s.p,{children:"Reload the Systemctl daemon by executing the command:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user daemon-reload\n"})}),"\n",(0,n.jsx)(s.p,{children:"Enable the service for starting up on system boot:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user enable lightning.service\n"})}),"\n",(0,n.jsx)(s.p,{children:"Start the service by:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user start lightning\n"})}),"\n",(0,n.jsx)(s.p,{children:"Stop the service by:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user stop lightning\n"})}),"\n",(0,n.jsx)(s.p,{children:"Restart the service by:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user restart lightning\n"})}),"\n",(0,n.jsx)(s.p,{children:"Check the service status by:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user status lightning.service\n"})}),"\n",(0,n.jsx)(s.h2,{id:"problem-statement",children:"Problem statement"}),"\n",(0,n.jsxs)(s.p,{children:["On tests done in a DigitalOcean Ubuntu 22.x, we had set up user-level services which were operated with ",(0,n.jsx)(s.code,{children:"--user"}),". When the commands were executed as ",(0,n.jsx)(s.code,{children:"--user"})," it failed with:"]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"Failed to connect to bus: Operation not permitted (consider using --machine=--user
support",id:"check---user-support",level:2},{value:"Put the service unit in the user service",id:"put-the-service-unit-in-the-user-service",level:2},{value:"Reload daemon",id:"reload-daemon",level:2},{value:"Systemd service control as --user
",id:"systemd-service-control-as---user",level:2},{value:"Problem statement",id:"problem-statement",level:2}];function h(e){const s={a:"a",code:"code",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.p,{children:["A user should have the ability to run a Systemd user service unit without having to use ",(0,n.jsx)(s.code,{children:"sudo"})," to control it."]}),"\n",(0,n.jsxs)(s.h2,{id:"check---user-support",children:["Check ",(0,n.jsx)(s.code,{children:"--user"})," support"]}),"\n",(0,n.jsxs)(s.p,{children:["Use the ",(0,n.jsx)(s.code,{children:"--user"})," flag when getting the list of unit files."]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user list-unit-files\n"})}),"\n",(0,n.jsx)(s.p,{children:"It should return a list of unit files."}),"\n",(0,n.jsx)(s.h2,{id:"put-the-service-unit-in-the-user-service",children:"Put the service unit in the user service"}),"\n",(0,n.jsx)(s.p,{children:"Create the Systemd user units directory:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"sudo mkdir -p /etc/systemd/system/user\n"})}),"\n",(0,n.jsxs)(s.p,{children:["Move the ",(0,n.jsx)(s.code,{children:"lightning.service"})," to the system user unit service directory:"]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"mv /etc/systemd/system/lightning.service /etc/systemd/system/user/lightning.service\n"})}),"\n",(0,n.jsxs)(s.p,{children:["Check the ",(0,n.jsx)(s.strong,{children:"Load path when running in user mode (--user)"})," in ",(0,n.jsx)(s.a,{href:"https://www.freedesktop.org/software/systemd/man/systemd.unit.html",children:"Systemd unit"})," for other alternative user paths, or to understand how it works to customize your server accordingly."]}),"\n",(0,n.jsx)(s.h2,{id:"reload-daemon",children:"Reload daemon"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"sudo systemctl daemon-reload\n"})}),"\n",(0,n.jsxs)(s.h2,{id:"systemd-service-control-as---user",children:["Systemd service control as ",(0,n.jsx)(s.code,{children:"--user"})]}),"\n",(0,n.jsx)(s.p,{children:"Reload the Systemctl daemon by executing the command:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user daemon-reload\n"})}),"\n",(0,n.jsx)(s.p,{children:"Enable the service for starting up on system boot:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user enable lightning.service\n"})}),"\n",(0,n.jsx)(s.p,{children:"Start the service by:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user start lightning\n"})}),"\n",(0,n.jsx)(s.p,{children:"Stop the service by:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user stop lightning\n"})}),"\n",(0,n.jsx)(s.p,{children:"Restart the service by:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user restart lightning\n"})}),"\n",(0,n.jsx)(s.p,{children:"Check the service status by:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"systemctl --user status lightning.service\n"})}),"\n",(0,n.jsx)(s.h2,{id:"problem-statement",children:"Problem statement"}),"\n",(0,n.jsxs)(s.p,{children:["On tests done in a DigitalOcean Ubuntu 22.x, we had set up user-level services which were operated with ",(0,n.jsx)(s.code,{children:"--user"}),". When the commands were executed as ",(0,n.jsx)(s.code,{children:"--user"})," it failed with:"]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-sh",children:"Failed to connect to bus: Operation not permitted (consider using --machine=gcc
:",id:"install-gcc",level:2},{value:"Remove previous installation files",id:"remove-previous-installation-files",level:2},{value:"Run the installation script",id:"run-the-installation-script",level:2}];function h(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"check-if-cpu-is-supported",children:"Check if CPU is supported"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-sh",children:"uname -i\n"})}),"\n",(0,r.jsxs)(n.admonition,{title:"WARNING",type:"caution",children:[(0,r.jsxs)(n.p,{children:["Given the ",(0,r.jsx)(n.a,{href:"https://docs.fleek.network/docs/node/requirements/#specs",children:"CPU requirements"}),", currently we're mainly supporting ",(0,r.jsx)(n.code,{children:"GenuineIntel"})," and there have been reports of failure to build the binary on ",(0,r.jsx)(n.code,{children:"AMD"}),". The ",(0,r.jsx)(n.code,{children:"ARM64"})," is a different architecture, thus not supported, but there has been some community contributions in that regard, find it in the reference ",(0,r.jsx)(n.a,{href:"/references/Lightning%20CLI/error-building-on-arm64",children:"error building on ARM64"}),"."]}),(0,r.jsxs)(n.p,{children:["Any contribution or feedback to provide support is appreciated. Feel free to let us know on our ",(0,r.jsx)(n.a,{href:"https://discord.gg/fleek",children:"Discord channel"}),"."]})]}),"\n",(0,r.jsx)(n.h2,{id:"linking-with-cc-error",children:"Linking with cc error"}),"\n",(0,r.jsxs)(n.p,{children:["A user who finds the error ",(0,r.jsx)(n.code,{children:"linking with cc failed"}),", will have to install the required dependencies."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-sh",children:"error: linking with `cc` failed: exit status: 1\nerror: could not compile `fleek-service-ping-example` (lib) due to previous error\n"})}),"\n",(0,r.jsx)(n.h2,{id:"update",children:"Update"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-sh",children:"sudo apt-get update\n"})}),"\n",(0,r.jsxs)(n.h2,{id:"install-gcc",children:["Install ",(0,r.jsx)(n.code,{children:"gcc"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-sh",children:"sudo apt-get install gcc\n"})}),"\n",(0,r.jsx)(n.h2,{id:"remove-previous-installation-files",children:"Remove previous installation files"}),"\n",(0,r.jsxs)(n.p,{children:["You can re-run the installation process. If you are using the assisted installer, it'll complain that the source code directory already exists. Since you've probably cloned the source code repository locally, you'll have to remove it manually. If you need help, find the instructions in the ",(0,r.jsx)(n.a,{href:"/references/Lightning%20CLI/uninstall-lightning-node",children:"reference"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"run-the-installation-script",children:"Run the installation script"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-sh",children:"curl https://get.fleek.network | bash\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Alternatively, read the ",(0,r.jsx)(n.a,{href:"/docs/node/install#manual-installation",children:"manual installation instructions"})," for more information."]}),"\n",(0,r.jsx)(s.Z,{name:"Helder Oliveira",image:"https://github.com/heldrida.png",title:"Software Developer + DX",url:"https://github.com/heldrida"})]})}function u(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},3872:(e,n,i)=>{i.d(n,{Z:()=>t});i(7294);var r=i(5893);const t=e=>{let{image:n,name:i,title:t,url:s,communityMember:l=!1}=e;return(0,r.jsx)("section",{className:"author_card",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"avatar",children:(0,r.jsx)("a",{href:s,target:"_blank",alt:i,children:(0,r.jsx)("img",{src:n,alt:i})})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"name",children:(0,r.jsx)("a",{href:s,target:"_blank",alt:i,children:i})}),(0,r.jsx)("span",{className:"title",children:t}),(0,r.jsxs)("span",{className:"discord",children:[l?"Join our community on":"Got questions? Find us on"," ",(0,r.jsx)("a",{href:"https://discord.gg/fleek",target:"_blank",children:"discord!"})]})]})]})})}},1151:(e,n,i)=>{i.d(n,{Z:()=>a,a:()=>l});var r=i(7294);const t={},s=r.createContext(t);function l(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:l(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkdocta=self.webpackChunkdocta||[]).push([[1706],{4751:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>o,contentTitle:()=>a,default:()=>u,frontMatter:()=>l,metadata:()=>c,toc:()=>d});var r=i(5893),t=i(1151),s=i(3872);const l={title:"Error linking with cc",slug:"error-linking-with-cc-failed-exist-status-1",hide_title:!0,tags:["references","help","update","upgrade","fix"]},a=void 0,c={id:"Lightning CLI/error-linking-with-cc-failed",title:"Error linking with cc",description:"Check if CPU is supported",source:"@site/references/Lightning CLI/error-linking-with-cc-failed.md",sourceDirName:"Lightning CLI",slug:"/Lightning CLI/error-linking-with-cc-failed-exist-status-1",permalink:"/references/Lightning CLI/error-linking-with-cc-failed-exist-status-1",draft:!1,unlisted:!1,editUrl:"https://github.com/fleek-network/fleek-network-docs/edit/main/references/Lightning CLI/error-linking-with-cc-failed.md",tags:[{label:"references",permalink:"/references/tags/references"},{label:"help",permalink:"/references/tags/help"},{label:"update",permalink:"/references/tags/update"},{label:"upgrade",permalink:"/references/tags/upgrade"},{label:"fix",permalink:"/references/tags/fix"}],version:"current",lastUpdatedAt:1706786117,formattedLastUpdatedAt:"Feb 1, 2024",frontMatter:{title:"Error linking with cc",slug:"error-linking-with-cc-failed-exist-status-1",hide_title:!0,tags:["references","help","update","upgrade","fix"]},sidebar:"defaultSidebar",previous:{title:"Error building on ARM64",permalink:"/references/Lightning CLI/error-building-on-arm64"},next:{title:"File permissions and Ownership",permalink:"/references/Lightning CLI/file-permissions-and-ownership"}},o={},d=[{value:"Check if CPU is supported",id:"check-if-cpu-is-supported",level:2},{value:"Linking with cc error",id:"linking-with-cc-error",level:2},{value:"Update",id:"update",level:2},{value:"Install gcc
:",id:"install-gcc",level:2},{value:"Remove previous installation files",id:"remove-previous-installation-files",level:2},{value:"Run the installation script",id:"run-the-installation-script",level:2}];function h(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"check-if-cpu-is-supported",children:"Check if CPU is supported"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-sh",children:"uname -i\n"})}),"\n",(0,r.jsxs)(n.admonition,{title:"WARNING",type:"caution",children:[(0,r.jsxs)(n.p,{children:["Given the ",(0,r.jsx)(n.a,{href:"https://docs.fleek.network/docs/node/requirements/#specs",children:"CPU requirements"}),", currently we're mainly supporting ",(0,r.jsx)(n.code,{children:"GenuineIntel"})," and there have been reports of failure to build the binary on ",(0,r.jsx)(n.code,{children:"AMD"}),". The ",(0,r.jsx)(n.code,{children:"ARM64"})," is a different architecture, thus not supported, but there has been some community contributions in that regard, find it in the reference ",(0,r.jsx)(n.a,{href:"/references/Lightning%20CLI/error-building-on-arm64",children:"error building on ARM64"}),"."]}),(0,r.jsxs)(n.p,{children:["Any contribution or feedback to provide support is appreciated. Feel free to let us know on our ",(0,r.jsx)(n.a,{href:"https://discord.gg/fleek",children:"Discord channel"}),"."]})]}),"\n",(0,r.jsx)(n.h2,{id:"linking-with-cc-error",children:"Linking with cc error"}),"\n",(0,r.jsxs)(n.p,{children:["A user who finds the error ",(0,r.jsx)(n.code,{children:"linking with cc failed"}),", will have to install the required dependencies."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-sh",children:"error: linking with `cc` failed: exit status: 1\nerror: could not compile `fleek-service-ping-example` (lib) due to previous error\n"})}),"\n",(0,r.jsx)(n.h2,{id:"update",children:"Update"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-sh",children:"sudo apt-get update\n"})}),"\n",(0,r.jsxs)(n.h2,{id:"install-gcc",children:["Install ",(0,r.jsx)(n.code,{children:"gcc"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-sh",children:"sudo apt-get install gcc\n"})}),"\n",(0,r.jsx)(n.h2,{id:"remove-previous-installation-files",children:"Remove previous installation files"}),"\n",(0,r.jsxs)(n.p,{children:["You can re-run the installation process. If you are using the assisted installer, it'll complain that the source code directory already exists. Since you've probably cloned the source code repository locally, you'll have to remove it manually. If you need help, find the instructions in the ",(0,r.jsx)(n.a,{href:"/references/Lightning%20CLI/uninstall-lightning-node",children:"reference"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"run-the-installation-script",children:"Run the installation script"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-sh",children:"curl https://get.fleek.network | bash\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Alternatively, read the ",(0,r.jsx)(n.a,{href:"/docs/node/install#manual-installation",children:"manual installation instructions"})," for more information."]}),"\n",(0,r.jsx)(s.Z,{name:"Helder Oliveira",image:"https://github.com/heldrida.png",title:"Software Developer + DX",url:"https://github.com/heldrida"})]})}function u(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},3872:(e,n,i)=>{i.d(n,{Z:()=>t});i(7294);var r=i(5893);const t=e=>{let{image:n,name:i,title:t,url:s,communityMember:l=!1}=e;return(0,r.jsx)("section",{className:"author_card",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"avatar",children:(0,r.jsx)("a",{href:s,target:"_blank",alt:i,children:(0,r.jsx)("img",{src:n,alt:i})})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"name",children:(0,r.jsx)("a",{href:s,target:"_blank",alt:i,children:i})}),(0,r.jsx)("span",{className:"title",children:t}),(0,r.jsxs)("span",{className:"discord",children:[l?"Join our community on":"Got questions? Find us on"," ",(0,r.jsx)("a",{href:"https://discord.gg/fleek",target:"_blank",children:"discord!"})]})]})]})})}},1151:(e,n,i)=>{i.d(n,{Z:()=>a,a:()=>l});var r=i(7294);const t={},s=r.createContext(t);function l(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:l(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/fd2b74dc.efc94f6a.js b/assets/js/fd2b74dc.f9fa922d.js
similarity index 98%
rename from assets/js/fd2b74dc.efc94f6a.js
rename to assets/js/fd2b74dc.f9fa922d.js
index 614b30705..3aa524752 100644
--- a/assets/js/fd2b74dc.efc94f6a.js
+++ b/assets/js/fd2b74dc.f9fa922d.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkdocta=self.webpackChunkdocta||[]).push([[4846],{949:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>u,frontMatter:()=>i,metadata:()=>d,toc:()=>c});var s=n(5893),o=n(1151),r=n(3872);const i={title:"Keys not found",slug:"keys-not-found",hide_title:!0,tags:["keystore","lost keys","ownership","file permissions"]},a=void 0,d={id:"Lightning CLI/keys-not-found",title:"Keys not found",description:"Node key does not exist",source:"@site/references/Lightning CLI/keys-not-found.md",sourceDirName:"Lightning CLI",slug:"/Lightning CLI/keys-not-found",permalink:"/references/Lightning CLI/keys-not-found",draft:!1,unlisted:!1,editUrl:"https://github.com/fleek-network/fleek-network-docs/edit/main/references/Lightning CLI/keys-not-found.md",tags:[{label:"keystore",permalink:"/references/tags/keystore"},{label:"lost keys",permalink:"/references/tags/lost-keys"},{label:"ownership",permalink:"/references/tags/ownership"},{label:"file permissions",permalink:"/references/tags/file-permissions"}],version:"current",lastUpdatedAt:1706785845,formattedLastUpdatedAt:"Feb 1, 2024",frontMatter:{title:"Keys not found",slug:"keys-not-found",hide_title:!0,tags:["keystore","lost keys","ownership","file permissions"]},sidebar:"defaultSidebar",previous:{title:"Frequently used commands for Native setup",permalink:"/references/Lightning CLI/frequently-used-commands-for-native-setup"},next:{title:"Backing up the keystore",permalink:"/references/Lightning CLI/backing-up-the-keystore"}},l={},c=[{value:"Node key does not exist",id:"node-key-does-not-exist",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h2,{id:"node-key-does-not-exist",children:"Node key does not exist"}),"\n",(0,s.jsx)(t.p,{children:'When watching the Fleek Network Lightning service log output, you find the "Node key does not exist" message placed recursively. As follows:'}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-sh",children:"thread 'main' panicked at 'Node key does not exist. Use CLI to generate keys.', core/node/src/testnet_sync.rs:126:9\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\nthread 'main' panicked at 'Node key does not exist. Use CLI to generate keys.', core/node/src/testnet_sync.rs:126:9\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n"})}),"\n",(0,s.jsxs)(t.p,{children:["If you haven't deleted the keystore and can locate it, it's due to how the service is being run. As a user can delegate (sudo) the execution of the process to ",(0,s.jsx)(t.strong,{children:"root"}),", the location of the keystore differs on runtime."]}),"\n",(0,s.jsxs)(t.p,{children:["To learn more about how file permissions and ownership work, you're advised to read the reference document ",(0,s.jsx)(t.a,{href:"/references/Lightning%20CLI/file-permissions-and-ownership",children:"here"}),"."]}),"\n",(0,s.jsx)(r.Z,{name:"Helder Oliveira",image:"https://github.com/heldrida.png",title:"Software Developer + DX",url:"https://github.com/heldrida"})]})}function u(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3872:(e,t,n)=>{n.d(t,{Z:()=>o});n(7294);var s=n(5893);const o=e=>{let{image:t,name:n,title:o,url:r,communityMember:i=!1}=e;return(0,s.jsx)("section",{className:"author_card",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"avatar",children:(0,s.jsx)("a",{href:r,target:"_blank",alt:n,children:(0,s.jsx)("img",{src:t,alt:n})})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"name",children:(0,s.jsx)("a",{href:r,target:"_blank",alt:n,children:n})}),(0,s.jsx)("span",{className:"title",children:o}),(0,s.jsxs)("span",{className:"discord",children:[i?"Join our community on":"Got questions? Find us on"," ",(0,s.jsx)("a",{href:"https://discord.gg/fleek",target:"_blank",children:"discord!"})]})]})]})})}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>i});var s=n(7294);const o={},r=s.createContext(o);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkdocta=self.webpackChunkdocta||[]).push([[4846],{949:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>u,frontMatter:()=>i,metadata:()=>d,toc:()=>c});var s=n(5893),o=n(1151),r=n(3872);const i={title:"Keys not found",slug:"keys-not-found",hide_title:!0,tags:["keystore","lost keys","ownership","file permissions"]},a=void 0,d={id:"Lightning CLI/keys-not-found",title:"Keys not found",description:"Node key does not exist",source:"@site/references/Lightning CLI/keys-not-found.md",sourceDirName:"Lightning CLI",slug:"/Lightning CLI/keys-not-found",permalink:"/references/Lightning CLI/keys-not-found",draft:!1,unlisted:!1,editUrl:"https://github.com/fleek-network/fleek-network-docs/edit/main/references/Lightning CLI/keys-not-found.md",tags:[{label:"keystore",permalink:"/references/tags/keystore"},{label:"lost keys",permalink:"/references/tags/lost-keys"},{label:"ownership",permalink:"/references/tags/ownership"},{label:"file permissions",permalink:"/references/tags/file-permissions"}],version:"current",lastUpdatedAt:1706786117,formattedLastUpdatedAt:"Feb 1, 2024",frontMatter:{title:"Keys not found",slug:"keys-not-found",hide_title:!0,tags:["keystore","lost keys","ownership","file permissions"]},sidebar:"defaultSidebar",previous:{title:"Frequently used commands for Native setup",permalink:"/references/Lightning CLI/frequently-used-commands-for-native-setup"},next:{title:"Backing up the keystore",permalink:"/references/Lightning CLI/backing-up-the-keystore"}},l={},c=[{value:"Node key does not exist",id:"node-key-does-not-exist",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h2,{id:"node-key-does-not-exist",children:"Node key does not exist"}),"\n",(0,s.jsx)(t.p,{children:'When watching the Fleek Network Lightning service log output, you find the "Node key does not exist" message placed recursively. As follows:'}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-sh",children:"thread 'main' panicked at 'Node key does not exist. Use CLI to generate keys.', core/node/src/testnet_sync.rs:126:9\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\nthread 'main' panicked at 'Node key does not exist. Use CLI to generate keys.', core/node/src/testnet_sync.rs:126:9\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n"})}),"\n",(0,s.jsxs)(t.p,{children:["If you haven't deleted the keystore and can locate it, it's due to how the service is being run. As a user can delegate (sudo) the execution of the process to ",(0,s.jsx)(t.strong,{children:"root"}),", the location of the keystore differs on runtime."]}),"\n",(0,s.jsxs)(t.p,{children:["To learn more about how file permissions and ownership work, you're advised to read the reference document ",(0,s.jsx)(t.a,{href:"/references/Lightning%20CLI/file-permissions-and-ownership",children:"here"}),"."]}),"\n",(0,s.jsx)(r.Z,{name:"Helder Oliveira",image:"https://github.com/heldrida.png",title:"Software Developer + DX",url:"https://github.com/heldrida"})]})}function u(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3872:(e,t,n)=>{n.d(t,{Z:()=>o});n(7294);var s=n(5893);const o=e=>{let{image:t,name:n,title:o,url:r,communityMember:i=!1}=e;return(0,s.jsx)("section",{className:"author_card",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"avatar",children:(0,s.jsx)("a",{href:r,target:"_blank",alt:n,children:(0,s.jsx)("img",{src:t,alt:n})})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"name",children:(0,s.jsx)("a",{href:r,target:"_blank",alt:n,children:n})}),(0,s.jsx)("span",{className:"title",children:o}),(0,s.jsxs)("span",{className:"discord",children:[i?"Join our community on":"Got questions? Find us on"," ",(0,s.jsx)("a",{href:"https://discord.gg/fleek",target:"_blank",children:"discord!"})]})]})]})})}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>i});var s=n(7294);const o={},r=s.createContext(o);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/main.831cbb68.js b/assets/js/main.f6af318c.js
similarity index 98%
rename from assets/js/main.831cbb68.js
rename to assets/js/main.f6af318c.js
index a259e99d9..d0b5f880b 100644
--- a/assets/js/main.831cbb68.js
+++ b/assets/js/main.f6af318c.js
@@ -1,2 +1,2 @@
-/*! For license information please see main.831cbb68.js.LICENSE.txt */
-(self.webpackChunkdocta=self.webpackChunkdocta||[]).push([[179],{830:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});var r=n(7294);function a(){return r.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},r.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}},723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});n(7294);var r=n(8356),a=n.n(r),o=n(6887);const i={"00309d1b":[()=>n.e(9335).then(n.t.bind(n,5219,19)),"~docs/default/tag-docs-tags-fleek-network-206.json",5219],"02f62b30":[()=>n.e(2170).then(n.t.bind(n,6037,19)),"/home/runner/work/fleek-network-docs/fleek-network-docs/.docusaurus/docusaurus-plugin-content-docs/guides/plugin-route-context-module-100.json",6037],"0359c679":[()=>n.e(7649).then(n.t.bind(n,8511,19)),"~docs/references/tag-references-tags-sudoer-94d.json",8511],"07f20919":[()=>n.e(4327).then(n.t.bind(n,6444,19)),"~docs/references/tag-references-tags-root-1d1.json",6444],"08dd5264":[()=>n.e(9267).then(n.t.bind(n,9692,19)),"~docs/default/tag-docs-tags-snarks-8e6.json",9692],"08ded6db":[()=>n.e(7216).then(n.t.bind(n,1426,19)),"~docs/references/tag-references-tags-lightning-d47.json",1426],"09ac38f0":[()=>n.e(3343).then(n.t.bind(n,4764,19)),"~docs/references/tag-references-tags-delete-f8c.json",4764],"0dffb83e":[()=>n.e(5075).then(n.bind(n,113)),"@site/docs/roadmap.md",113],"0ea1f268":[()=>n.e(663).then(n.t.bind(n,454,19)),"~docs/references/tag-references-tags-restore-2d4.json",454],"0fbdd4ac":[()=>n.e(8934).then(n.t.bind(n,8944,19)),"~docs/guides/tag-guides-tags-ownership-c29.json",8944],"1366d7ae":[()=>n.e(2564).then(n.bind(n,5468)),"@site/docs/node/lightning-cli.md",5468],"13986d62":[()=>n.e(9822).then(n.t.bind(n,8973,19)),"~docs/references/tag-references-tags-cli-35e.json",8973],"143de299":[()=>n.e(8427).then(n.t.bind(n,9162,19)),"~docs/default/tag-docs-tags-algorithms-8a4.json",9162],"153c226b":[()=>n.e(7249).then(n.t.bind(n,9141,19)),"~docs/default/tag-docs-tags-compile-66b.json",9141],"155c1e74":[()=>n.e(747).then(n.t.bind(n,8095,19)),"~docs/references/tag-references-tags-reference-379.json",8095],"166b5465":[()=>n.e(1517).then(n.t.bind(n,9151,19)),"~docs/references/tag-references-tags-pkill-ae0.json",9151],17896441:[()=>Promise.all([n.e(532),n.e(7918)]).then(n.bind(n,8462)),"@theme/DocItem",8462],"179183ba":[()=>n.e(6601).then(n.t.bind(n,655,19)),"~docs/default/tag-docs-tags-protocol-8a8.json",655],"180ee354":[()=>n.e(9316).then(n.t.bind(n,5601,19)),"~docs/default/tag-docs-tags-manage-3d5.json",5601],"187c6361":[()=>n.e(6788).then(n.t.bind(n,1461,19)),"~docs/default/tag-docs-tags-edge-network-189.json",1461],"19f79f7b":[()=>n.e(8489).then(n.bind(n,8816)),"@site/guides/Node Operators/how-to-manage-logfiles.md",8816],"1a4e3797":[()=>Promise.all([n.e(532),n.e(7920)]).then(n.bind(n,9172)),"@theme/SearchPage",9172],"1c14429f":[()=>n.e(2702).then(n.bind(n,5894)),"@site/guides/Node Operators/getting-started-guide.md",5894],"1d8a5d15":[()=>n.e(9854).then(n.bind(n,884)),"@site/guides/Node Operators/transfering-setup-ownership.md",884],"1df93b7f":[()=>n.e(3237).then(n.bind(n,9754)),"@site/src/pages/index.tsx",9754],"21f2cabf":[()=>n.e(4537).then(n.t.bind(n,724,19)),"~docs/references/tag-references-tags-backup-7d5.json",724],"2218035b":[()=>n.e(4530).then(n.t.bind(n,3769,19)),"/home/runner/work/fleek-network-docs/fleek-network-docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"26b85cb6":[()=>n.e(7055).then(n.bind(n,6172)),"@site/references/Lightning CLI/restore-keystore.md",6172],"2730e145":[()=>n.e(7147).then(n.bind(n,5450)),"@site/references/Lightning CLI/permission-denied-os-error-13.md",5450],27528755:[()=>n.e(6926).then(n.t.bind(n,2578,19)),"~docs/references/tag-references-tags-uninstall-aa8.json",2578],"29b62a39":[()=>n.e(1498).then(n.bind(n,181)),"@site/guides/index.md",181],"29b83576":[()=>n.e(1510).then(n.bind(n,7003)),"@site/references/Lightning CLI/keystore-backup.md",7003],"2a6b0b88":[()=>n.e(6446).then(n.t.bind(n,8424,19)),"~docs/references/tag-references-tags-commands-89d.json",8424],"2adfdcac":[()=>n.e(3189).then(n.t.bind(n,4723,19)),"~docs/default/tag-docs-tags-token-d9b.json",4723],"2baa5a9a":[()=>n.e(9021).then(n.t.bind(n,8704,19)),"~docs/guides/tag-guides-tags-configuration-48b.json",8704],"2ddc9f52":[()=>n.e(7400).then(n.t.bind(n,5048,19)),"~docs/references/tag-references-tags-build-211.json",5048],"2e0a4d25":[()=>n.e(8132).then(n.t.bind(n,9073,19)),"~docs/references/tag-references-tags-systemctl-aa5.json",9073],"3290fbc2":[()=>n.e(2235).then(n.bind(n,6924)),"@site/docs/develop/client.md",6924],35230925:[()=>n.e(5602).then(n.bind(n,8139)),"@site/docs/learn/developers.md",8139],"35a7e2bf":[()=>n.e(4508).then(n.t.bind(n,8581,19)),"~docs/default/tag-docs-tags-contribute-7e0.json",8581],"3720c009":[()=>Promise.all([n.e(532),n.e(3751)]).then(n.bind(n,9861)),"@theme/DocTagsListPage",9861],"39574d2e":[()=>n.e(8747).then(n.t.bind(n,8270,19)),"~docs/default/tag-docs-tags-decentralization-674.json",8270],"399f21a8":[()=>n.e(2214).then(n.t.bind(n,2281,19)),"~docs/default/tag-docs-tags-rpc-9da.json",2281],"39e94577":[()=>n.e(1563).then(n.t.bind(n,3199,19)),"~docs/default/tag-docs-tags-build-2a2.json",3199],"3a6297ac":[()=>n.e(11).then(n.t.bind(n,2511,19)),"~docs/default/tag-docs-tags-sdk-70c.json",2511],"3b168dbd":[()=>n.e(469).then(n.t.bind(n,2832,19)),"~docs/guides/tag-guides-tags-edge-computing-c27.json",2832],"3f0cec70":[()=>n.e(9336).then(n.t.bind(n,4776,19)),"~docs/guides/tag-guides-tags-help-63e.json",4776],"3f90f51b":[()=>n.e(6669).then(n.bind(n,1054)),"@site/docs/learn/services.md",1054],"4061bfd3":[()=>n.e(3116).then(n.t.bind(n,7085,19)),"/home/runner/work/fleek-network-docs/fleek-network-docs/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json",7085],"40aeb86f":[()=>n.e(4402).then(n.bind(n,2382)),"@site/references/Lightning CLI/update-cli-from-source-code.md",2382],"4247aede":[()=>n.e(2800).then(n.t.bind(n,4948,19)),"~docs/default/tag-docs-tags-consensus-a3b.json",4948],"433ff3d6":[()=>n.e(555).then(n.t.bind(n,2787,19)),"~docs/default/tag-docs-tags-rewards-1bb.json",2787],"43ee1886":[()=>n.e(5466).then(n.t.bind(n,653,19)),"~docs/references/tag-references-tags-idle-b08.json",653],"445e9e2a":[()=>n.e(8578).then(n.bind(n,1478)),"@site/references/Lightning CLI/node-secret-key-does-not-exist.md",1478],"44969bae":[()=>n.e(4063).then(n.bind(n,6019)),"@site/docs/node/requirements.md",6019],"45ac3af8":[()=>n.e(5204).then(n.t.bind(n,5796,19)),"~docs/default/tag-docs-tags-systemctl-2a0.json",5796],"45c86e35":[()=>n.e(9847).then(n.t.bind(n,2316,19)),"~docs/default/tag-docs-tags-about-3bc.json",2316],"45e1a117":[()=>n.e(6696).then(n.t.bind(n,5382,19)),"~docs/references/tag-references-tags-frozen-e7d.json",5382],"469c924f":[()=>n.e(2240).then(n.t.bind(n,342,19)),"~docs/default/tag-docs-tags-roadmap-bd4.json",342],"48857ff6":[()=>n.e(2908).then(n.t.bind(n,1014,19)),"~docs/default/tag-docs-tags-open-source-3c0.json",1014],"48e81e49":[()=>n.e(173).then(n.t.bind(n,5121,19)),"~docs/default/tag-docs-tags-incentives-3eb.json",5121],"49b5e83d":[()=>n.e(402).then(n.t.bind(n,3969,19)),"~docs/default/tag-docs-tags-manual-b97.json",3969],"4a821728":[()=>n.e(9513).then(n.t.bind(n,9748,19)),"~docs/default/tag-docs-tags-whitepaper-2ec.json",9748],"4beaa780":[()=>n.e(5081).then(n.t.bind(n,380,19)),"~docs/default/tag-docs-tags-reputation-c14.json",380],"4c027320":[()=>n.e(9511).then(n.t.bind(n,2564,19)),"~docs/guides/tag-guides-tags-getting-started-812.json",2564],"4c9535f7":[()=>n.e(6296).then(n.bind(n,9237)),"@site/guides/Node Operators/running-a-node-in-docker.md",9237],"4d7007b2":[()=>n.e(6272).then(n.bind(n,2482)),"@site/references/index.md",2482],"50f02954":[()=>n.e(4826).then(n.t.bind(n,3900,19)),"~docs/references/tag-references-tags-systemd-aff.json",3900],"514cab6e":[()=>n.e(6410).then(n.bind(n,5673)),"@site/docs/Open-source/code-of-conduct.md",5673],"51d5b592":[()=>n.e(1984).then(n.bind(n,7859)),"@site/docs/node/install.md",7859],"51f2bfad":[()=>n.e(71).then(n.t.bind(n,3386,19)),"~docs/default/tag-docs-tags-server-240.json",3386],"53ca291c":[()=>n.e(3863).then(n.t.bind(n,4586,19)),"~docs/default/tag-docs-tags-economics-342.json",4586],"5437f376":[()=>n.e(909).then(n.bind(n,3616)),"@site/guides/Node Operators/managing-the-keystore.md",3616],"54436d06":[()=>n.e(4872).then(n.t.bind(n,4094,19)),"~docs/default/tag-docs-tags-cli-dbf.json",4094],"5559e604":[()=>n.e(2501).then(n.t.bind(n,811,19)),"~docs/default/tag-docs-tags-systemd-9d0.json",811],"55960ee5":[()=>n.e(4121).then(n.t.bind(n,8070,19)),"~docs/default/tags-list-current-prop-15a.json",8070],"564044f9":[()=>n.e(1771).then(n.t.bind(n,4283,19)),"~docs/guides/tag-guides-tags-public-keys-1f7.json",4283],"581d5240":[()=>n.e(5318).then(n.bind(n,4798)),"@site/docs/node/health-check.md",4798],"5a9491fe":[()=>n.e(6476).then(n.t.bind(n,5751,19)),"~docs/guides/tag-guides-tags-keystore-6f8.json",5751],"5b6134d1":[()=>n.e(9752).then(n.bind(n,2421)),"@site/references/Lightning CLI/file-permissions-and-ownership.md",2421],"5bc389a1":[()=>n.e(9829).then(n.bind(n,7631)),"@site/guides/Node Operators/updating-lightning.md",7631],"5d08f08d":[()=>n.e(659).then(n.t.bind(n,340,19)),"~docs/guides/tag-guides-tags-guide-f01.json",340],"5d38c936":[()=>n.e(9804).then(n.t.bind(n,9797,19)),"~docs/default/tag-docs-tags-rust-dependencies-0a8.json",9797],"5e95c892":[()=>n.e(9661).then(n.bind(n,1892)),"@theme/DocsRoot",1892],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"5ec90731":[()=>n.e(8942).then(n.t.bind(n,5440,19)),"~docs/guides/tag-guides-tags-transfer-246.json",5440],"616ee580":[()=>n.e(4749).then(n.t.bind(n,5736,19)),"~docs/references/tag-references-tags-remove-c35.json",5736],"64d03520":[()=>n.e(1138).then(n.t.bind(n,2217,19)),"~docs/default/tag-docs-tags-requirements-a99.json",2217],"665f164c":[()=>n.e(9320).then(n.bind(n,3566)),"@site/docs/node/testnet-onboarding.md",3566],"68b99ecd":[()=>n.e(4556).then(n.t.bind(n,1407,19)),"~docs/default/tag-docs-tags-standards-f96.json",1407],"6ccb158e":[()=>n.e(3218).then(n.t.bind(n,4391,19)),"~docs/references/tag-references-tags-keystore-d50.json",4391],"6e965365":[()=>n.e(4679).then(n.t.bind(n,8472,19)),"~docs/references/tag-references-tags-references-2ec.json",8472],"6f8964f3":[()=>n.e(7536).then(n.t.bind(n,9430,19)),"~docs/guides/tag-guides-tags-fleek-network-dce.json",9430],"719c0fd7":[()=>n.e(706).then(n.t.bind(n,6419,19)),"~docs/references/tag-references-tags-permissions-2fe.json",6419],"749619b5":[()=>n.e(6362).then(n.t.bind(n,5294,19)),"~docs/references/tag-references-tags-ownership-96b.json",5294],"74ec46b4":[()=>n.e(1263).then(n.t.bind(n,1337,19)),"~docs/default/tag-docs-tags-wizard-38b.json",1337],"75d8af72":[()=>n.e(1474).then(n.t.bind(n,1187,19)),"~docs/default/tag-docs-tags-diagnostic-a48.json",1187],"763344b9":[()=>n.e(5094).then(n.t.bind(n,5772,19)),"~docs/default/tag-docs-tags-toolkit-735.json",5772],"779cc1e8":[()=>n.e(4).then(n.t.bind(n,761,19)),"~docs/references/tag-references-tags-update-c18.json",761],"79055aff":[()=>n.e(8256).then(n.t.bind(n,92,19)),"~docs/default/tag-docs-tags-logs-8e1.json",92],"7aba1839":[()=>n.e(554).then(n.t.bind(n,7177,19)),"~docs/default/tag-docs-tags-ports-99f.json",7177],"7aefc753":[()=>n.e(1251).then(n.bind(n,8717)),"@site/references/Lightning CLI/uninstall-lightning-node.md",8717],"7b667a7f":[()=>n.e(5649).then(n.t.bind(n,5274,19)),"~docs/default/tag-docs-tags-git-514.json",5274],"7b788087":[()=>n.e(9062).then(n.t.bind(n,6149,19)),"~docs/guides/tag-guides-tags-keys-31a.json",6149],"7b9de75f":[()=>n.e(6353).then(n.t.bind(n,6378,19)),"~docs/default/tag-docs-tags-healthcheck-28a.json",6378],"7ceaa645":[()=>n.e(387).then(n.bind(n,155)),"@site/docs/learn/the-network.md",155],82893666:[()=>n.e(8005).then(n.t.bind(n,2220,19)),"~docs/default/tag-docs-tags-develop-1cf.json",2220],"8428fe34":[()=>n.e(5522).then(n.bind(n,576)),"@site/docs/node/diagnostics.md",576],"84cbd6c9":[()=>n.e(3336).then(n.t.bind(n,4793,19)),"~docs/guides/tags-list-current-prop-15a.json",4793],"84e08f43":[()=>n.e(8059).then(n.t.bind(n,3290,19)),"~docs/references/tag-references-tags-file-permissions-d5d.json",3290],"85d6e74d":[()=>n.e(4819).then(n.t.bind(n,5745,19)),"/home/runner/work/fleek-network-docs/fleek-network-docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],"866d553a":[()=>n.e(8668).then(n.bind(n,1534)),"@site/references/Lightning CLI/frequently-used-commands-for-native-setup.md",1534],"86c3bd1d":[()=>n.e(2421).then(n.t.bind(n,813,19)),"~docs/references/tag-references-tags-user-service-d6a.json",813],"8a92e787":[()=>n.e(2517).then(n.bind(n,6739)),"@site/references/Systemd/shutting-down-persistance.md",6739],"8cf21e85":[()=>n.e(6854).then(n.t.bind(n,90,19)),"~docs/default/tag-docs-tags-client-ceb.json",90],"8def2dd5":[()=>n.e(382).then(n.bind(n,4610)),"@site/docs/learn/index.md",4610],"90decb6d":[()=>n.e(9649).then(n.t.bind(n,2570,19)),"~docs/guides/tag-guides-tags-private-keys-b97.json",2570],"933a69d3":[()=>n.e(7813).then(n.t.bind(n,1853,19)),"~docs/default/tag-docs-tags-getting-started-980.json",1853],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"93df2695":[()=>n.e(2386).then(n.bind(n,1367)),"@site/docs/learn/delivery-acknowledgements.md",1367],"95f4d37c":[()=>n.e(814).then(n.bind(n,7497)),"@site/docs/develop/index.md",7497],"965d240c":[()=>n.e(6577).then(n.t.bind(n,7668,19)),"~docs/guides/tag-guides-tags-rebuild-cdb.json",7668],"9722e053":[()=>n.e(1955).then(n.bind(n,6410)),"@site/references/Docker/frequently-used-commands-for-docker-setup.md",6410],"98f9308d":[()=>n.e(1025).then(n.bind(n,2150)),"@site/references/Systemd/service-keeps-running-after-shutdown.md",2150],"9bca08cf":[()=>n.e(8318).then(n.t.bind(n,7618,19)),"~docs/references/tag-references-tags-upgrade-b60.json",7618],"9bd69ffc":[()=>n.e(6699).then(n.t.bind(n,9790,19)),"~docs/default/tag-docs-tags-node-status-a43.json",9790],"9cc140f3":[()=>n.e(5049).then(n.t.bind(n,429,19)),"~docs/default/tag-docs-tags-repository-b8c.json",429],"9f1c3232":[()=>n.e(373).then(n.bind(n,9129)),"@site/docs/node/index.md",9129],"9f7d0305":[()=>n.e(4713).then(n.bind(n,3890)),"@site/docs/node/analyzing-logs.md",3890],a13e0645:[()=>n.e(7136).then(n.t.bind(n,3120,19)),"~docs/default/tag-docs-tags-codebase-878.json",3120],a50e2e4f:[()=>n.e(7796).then(n.t.bind(n,2752,19)),"~docs/default/tag-docs-tags-awards-c13.json",2752],a626c4f3:[()=>n.e(581).then(n.t.bind(n,4218,19)),"~docs/default/tag-docs-tags-lightning-f7e.json",4218],a771de40:[()=>n.e(6074).then(n.t.bind(n,8606,19)),"~docs/default/tag-docs-tags-control-341.json",8606],a7bd4aaa:[()=>n.e(8518).then(n.bind(n,8564)),"@theme/DocVersionRoot",8564],a94703ab:[()=>Promise.all([n.e(532),n.e(4368)]).then(n.bind(n,2674)),"@theme/DocRoot",2674],a9a76bf7:[()=>n.e(4356).then(n.t.bind(n,8826,19)),"~docs/default/tag-docs-tags-onboarding-2eb.json",8826],aa81941d:[()=>n.e(3012).then(n.t.bind(n,5689,19)),"~docs/default/tag-docs-tags-edge-platform-754.json",5689],ad04e600:[()=>n.e(5844).then(n.t.bind(n,3998,19)),"~docs/guides/tag-guides-tags-container-e63.json",3998],ae013ba6:[()=>n.e(9981).then(n.t.bind(n,2879,19)),"~docs/references/tag-references-tags-image-9d7.json",2879],ae70e824:[()=>n.e(1433).then(n.t.bind(n,360,19)),"~docs/guides/tag-guides-tags-logs-5d1.json",360],af6a11bf:[()=>n.e(3503).then(n.t.bind(n,5296,19)),"~docs/references/tag-references-tags-help-9a8.json",5296],b02525a9:[()=>n.e(6980).then(n.t.bind(n,3993,19)),"~docs/guides/tag-guides-tags-guides-141.json",3993],b03a0ac1:[()=>n.e(4785).then(n.t.bind(n,2312,19)),"~docs/default/tag-docs-tags-cdn-fa9.json",2312],b249ed45:[()=>n.e(5767).then(n.bind(n,1583)),"@site/references/Docker/uninstall-docker-setup.md",1583],b35f1b7f:[()=>n.e(7706).then(n.bind(n,9747)),"@site/references/Systemd/user-service.md",9747],b40daf0f:[()=>n.e(2126).then(n.bind(n,9303)),"@site/docs/node/configuration.md",9303],b4f44b9b:[()=>n.e(551).then(n.t.bind(n,2960,19)),"/home/runner/work/fleek-network-docs/fleek-network-docs/.docusaurus/docusaurus-plugin-content-docs/references/plugin-route-context-module-100.json",2960],b5954e33:[()=>n.e(2114).then(n.bind(n,852)),"@site/docs/learn/token-and-economics.md",852],b696d13b:[()=>n.e(327).then(n.t.bind(n,5212,19)),"~docs/default/tag-docs-tags-verification-caa.json",5212],b8466c91:[()=>n.e(4939).then(n.t.bind(n,942,19)),"~docs/guides/tag-guides-tags-setup-8ad.json",942],b8c37621:[()=>n.e(920).then(n.t.bind(n,3908,19)),"~docs/default/tag-docs-tags-guide-a32.json",3908],b9b7817e:[()=>n.e(1476).then(n.t.bind(n,7913,19)),"~docs/references/tag-references-tags-docker-edf.json",7913],bd59af11:[()=>n.e(9188).then(n.t.bind(n,7522,19)),"~docs/default/tag-docs-tags-diagnostics-265.json",7522],bea6e15b:[()=>n.e(8754).then(n.t.bind(n,815,19)),"~docs/references/tag-references-tags-fix-c13.json",815],c222de09:[()=>n.e(7563).then(n.bind(n,4342)),"@site/docs/whitepaper.md",4342],c377a04b:[()=>n.e(6971).then(n.bind(n,4606)),"@site/docs/index.md",4606],c3f5dd14:[()=>n.e(1345).then(n.t.bind(n,9826,19)),"~docs/references/tag-references-tags-clean-55b.json",9826],caaedc90:[()=>n.e(572).then(n.t.bind(n,8988,19)),"~docs/references/tag-references-tags-unit-0cd.json",8988],cc8e0b88:[()=>n.e(6310).then(n.t.bind(n,2560,19)),"~docs/default/tag-docs-tags-pledge-e5c.json",2560],ce321ae3:[()=>n.e(1837).then(n.t.bind(n,2141,19)),"~docs/default/tag-docs-tags-configuration-143.json",2141],ce4635d7:[()=>n.e(9395).then(n.t.bind(n,6062,19)),"~docs/references/tag-references-tags-lost-keys-940.json",6062],ceabd901:[()=>n.e(1354).then(n.t.bind(n,5e3,19)),"~docs/guides/tag-guides-tags-update-e5f.json",5e3],d16f6fc6:[()=>n.e(5530).then(n.t.bind(n,8316,19)),"~docs/references/tag-references-tags-clear-34f.json",8316],d1d29319:[()=>n.e(2027).then(n.t.bind(n,9887,19)),"~docs/references/tag-references-tags-service-error-f6a.json",9887],d23df0ea:[()=>n.e(5548).then(n.bind(n,5081)),"@site/references/Docker/build-and-run-in-docker.md",5081],d464210a:[()=>n.e(2023).then(n.t.bind(n,4075,19)),"~docs/default/tag-docs-tags-code-of-conduct-379.json",4075],d7d81bf6:[()=>n.e(2918).then(n.bind(n,6710)),"@site/references/Lightning CLI/error-building-on-arm64.md",6710],d8be0e5a:[()=>n.e(1706).then(n.bind(n,4751)),"@site/references/Lightning CLI/error-linking-with-cc-failed.md",4751],dc2776f2:[()=>n.e(8644).then(n.bind(n,8864)),"@site/docs/Open-source/repositories.md",8864],dd97a9bc:[()=>n.e(9707).then(n.bind(n,7538)),"@site/docs/node/systemd-service.md",7538],de225737:[()=>n.e(6726).then(n.t.bind(n,4536,19)),"~docs/default/tag-docs-tags-lgtn-e06.json",4536],df203c0f:[()=>Promise.all([n.e(532),n.e(9924)]).then(n.bind(n,491)),"@theme/DocTagDocListPage",491],e331fbd7:[()=>n.e(9995).then(n.t.bind(n,7568,19)),"~docs/default/tag-docs-tags-permissionless-576.json",7568],e6a08407:[()=>n.e(2450).then(n.t.bind(n,607,19)),"~docs/references/tag-references-tags-container-a9e.json",607],e91f52c1:[()=>n.e(7091).then(n.t.bind(n,5393,19)),"~docs/references/tag-references-tags-process-5fa.json",5393],ec98ad91:[()=>n.e(4034).then(n.t.bind(n,1323,19)),"~docs/default/tag-docs-tags-testnet-9cf.json",1323],ecfddbd4:[()=>n.e(7804).then(n.bind(n,9893)),"@site/docs/Open-source.md",9893],f02c0d6e:[()=>n.e(3707).then(n.t.bind(n,3422,19)),"~docs/default/tag-docs-tags-tokenomics-43c.json",3422],f3d7f34e:[()=>n.e(982).then(n.t.bind(n,9299,19)),"~docs/references/version-current-metadata-prop-751.json",9299],f3f8ecb0:[()=>n.e(6939).then(n.bind(n,2200)),"@site/docs/develop/service-development.md",2200],f41bce02:[()=>n.e(3719).then(n.t.bind(n,4729,19)),"~docs/guides/tag-guides-tags-docker-ee0.json",4729],f4fd4511:[()=>n.e(6461).then(n.t.bind(n,6514,19)),"~docs/default/tag-docs-tags-phases-f9f.json",6514],f50a4147:[()=>n.e(4888).then(n.bind(n,8810)),"@site/docs/Open-source/contributing.md",8810],f6807fb4:[()=>n.e(4788).then(n.t.bind(n,9836,19)),"~docs/default/tag-docs-tags-architecture-68d.json",9836],f893ec16:[()=>n.e(3131).then(n.t.bind(n,2661,19)),"~docs/default/tag-docs-tags-command-line-interface-bff.json",2661],f9537533:[()=>n.e(3089).then(n.t.bind(n,881,19)),"~docs/references/tags-list-current-prop-15a.json",881],fa69a7f4:[()=>n.e(6798).then(n.t.bind(n,2469,19)),"~docs/guides/version-current-metadata-prop-751.json",2469],fa7546af:[()=>n.e(1611).then(n.t.bind(n,7327,19)),"~docs/references/tag-references-tags-shutdown-0e6.json",7327],fcc63351:[()=>n.e(9743).then(n.t.bind(n,7495,19)),"~docs/default/tag-docs-tags-services-754.json",7495],fd2b74dc:[()=>n.e(4846).then(n.bind(n,949)),"@site/references/Lightning CLI/keys-not-found.md",949],ffc337e7:[()=>n.e(7310).then(n.t.bind(n,2110,19)),"~docs/default/tag-docs-tags-learn-579.json",2110],ffcb1b32:[()=>n.e(5120).then(n.bind(n,8465)),"@site/docs/develop/json-rpc.md",8465]};var s=n(5893);function l(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(9670),u=n(226);function d(e,t){if("*"===e)return a()({loading:l,loader:()=>n.e(1772).then(n.bind(n,1772)),modules:["@theme/NotFound"],webpack:()=>[1772],render(e,t){const n=e.default;return(0,s.jsx)(u.z,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},f=[],p=[],g=(0,c.Z)(r);return Object.entries(g).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))})),a().Map({loading:l,loader:d,modules:f,webpack:()=>p,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;return delete a.__context,(0,s.jsx)(u.z,{value:i,children:(0,s.jsx)(o,{...a,...n})})}})}const f=[{path:"/search/",component:d("/search/","2a3"),exact:!0},{path:"/docs/",component:d("/docs/","605"),routes:[{path:"/docs/",component:d("/docs/","7aa"),routes:[{path:"/docs/tags/",component:d("/docs/tags/","71d"),exact:!0},{path:"/docs/tags/about/",component:d("/docs/tags/about/","4e0"),exact:!0},{path:"/docs/tags/algorithms/",component:d("/docs/tags/algorithms/","23a"),exact:!0},{path:"/docs/tags/architecture/",component:d("/docs/tags/architecture/","64c"),exact:!0},{path:"/docs/tags/awards/",component:d("/docs/tags/awards/","7ea"),exact:!0},{path:"/docs/tags/build/",component:d("/docs/tags/build/","0e4"),exact:!0},{path:"/docs/tags/cdn/",component:d("/docs/tags/cdn/","3d4"),exact:!0},{path:"/docs/tags/cli/",component:d("/docs/tags/cli/","cb7"),exact:!0},{path:"/docs/tags/client/",component:d("/docs/tags/client/","7ed"),exact:!0},{path:"/docs/tags/code-of-conduct/",component:d("/docs/tags/code-of-conduct/","b7d"),exact:!0},{path:"/docs/tags/codebase/",component:d("/docs/tags/codebase/","629"),exact:!0},{path:"/docs/tags/command-line-interface/",component:d("/docs/tags/command-line-interface/","b12"),exact:!0},{path:"/docs/tags/compile/",component:d("/docs/tags/compile/","3d0"),exact:!0},{path:"/docs/tags/configuration/",component:d("/docs/tags/configuration/","d0c"),exact:!0},{path:"/docs/tags/consensus/",component:d("/docs/tags/consensus/","5e9"),exact:!0},{path:"/docs/tags/contribute/",component:d("/docs/tags/contribute/","a58"),exact:!0},{path:"/docs/tags/control/",component:d("/docs/tags/control/","8ba"),exact:!0},{path:"/docs/tags/decentralization/",component:d("/docs/tags/decentralization/","516"),exact:!0},{path:"/docs/tags/develop/",component:d("/docs/tags/develop/","010"),exact:!0},{path:"/docs/tags/diagnostic/",component:d("/docs/tags/diagnostic/","9cb"),exact:!0},{path:"/docs/tags/diagnostics/",component:d("/docs/tags/diagnostics/","6bf"),exact:!0},{path:"/docs/tags/economics/",component:d("/docs/tags/economics/","6af"),exact:!0},{path:"/docs/tags/edge-network/",component:d("/docs/tags/edge-network/","d3f"),exact:!0},{path:"/docs/tags/edge-platform/",component:d("/docs/tags/edge-platform/","1fd"),exact:!0},{path:"/docs/tags/fleek-network/",component:d("/docs/tags/fleek-network/","0e0"),exact:!0},{path:"/docs/tags/getting-started/",component:d("/docs/tags/getting-started/","bc6"),exact:!0},{path:"/docs/tags/git/",component:d("/docs/tags/git/","810"),exact:!0},{path:"/docs/tags/guide/",component:d("/docs/tags/guide/","dbf"),exact:!0},{path:"/docs/tags/healthcheck/",component:d("/docs/tags/healthcheck/","008"),exact:!0},{path:"/docs/tags/incentives/",component:d("/docs/tags/incentives/","c6d"),exact:!0},{path:"/docs/tags/learn/",component:d("/docs/tags/learn/","73a"),exact:!0},{path:"/docs/tags/lgtn/",component:d("/docs/tags/lgtn/","6a9"),exact:!0},{path:"/docs/tags/lightning/",component:d("/docs/tags/lightning/","dd1"),exact:!0},{path:"/docs/tags/logs/",component:d("/docs/tags/logs/","d51"),exact:!0},{path:"/docs/tags/manage/",component:d("/docs/tags/manage/","8ec"),exact:!0},{path:"/docs/tags/manual/",component:d("/docs/tags/manual/","c7d"),exact:!0},{path:"/docs/tags/node-status/",component:d("/docs/tags/node-status/","c59"),exact:!0},{path:"/docs/tags/onboarding/",component:d("/docs/tags/onboarding/","bfa"),exact:!0},{path:"/docs/tags/open-source/",component:d("/docs/tags/open-source/","bbc"),exact:!0},{path:"/docs/tags/permissionless/",component:d("/docs/tags/permissionless/","42c"),exact:!0},{path:"/docs/tags/phases/",component:d("/docs/tags/phases/","643"),exact:!0},{path:"/docs/tags/pledge/",component:d("/docs/tags/pledge/","b60"),exact:!0},{path:"/docs/tags/ports/",component:d("/docs/tags/ports/","f53"),exact:!0},{path:"/docs/tags/protocol/",component:d("/docs/tags/protocol/","dfe"),exact:!0},{path:"/docs/tags/repository/",component:d("/docs/tags/repository/","425"),exact:!0},{path:"/docs/tags/reputation/",component:d("/docs/tags/reputation/","32e"),exact:!0},{path:"/docs/tags/requirements/",component:d("/docs/tags/requirements/","64a"),exact:!0},{path:"/docs/tags/rewards/",component:d("/docs/tags/rewards/","a8a"),exact:!0},{path:"/docs/tags/roadmap/",component:d("/docs/tags/roadmap/","af1"),exact:!0},{path:"/docs/tags/rpc/",component:d("/docs/tags/rpc/","4b6"),exact:!0},{path:"/docs/tags/rust-dependencies/",component:d("/docs/tags/rust-dependencies/","260"),exact:!0},{path:"/docs/tags/sdk/",component:d("/docs/tags/sdk/","e09"),exact:!0},{path:"/docs/tags/server/",component:d("/docs/tags/server/","6ce"),exact:!0},{path:"/docs/tags/services/",component:d("/docs/tags/services/","d7f"),exact:!0},{path:"/docs/tags/snarks/",component:d("/docs/tags/snarks/","dad"),exact:!0},{path:"/docs/tags/standards/",component:d("/docs/tags/standards/","83e"),exact:!0},{path:"/docs/tags/systemctl/",component:d("/docs/tags/systemctl/","6a1"),exact:!0},{path:"/docs/tags/systemd/",component:d("/docs/tags/systemd/","6d2"),exact:!0},{path:"/docs/tags/testnet/",component:d("/docs/tags/testnet/","f95"),exact:!0},{path:"/docs/tags/token/",component:d("/docs/tags/token/","e53"),exact:!0},{path:"/docs/tags/tokenomics/",component:d("/docs/tags/tokenomics/","e22"),exact:!0},{path:"/docs/tags/toolkit/",component:d("/docs/tags/toolkit/","7bc"),exact:!0},{path:"/docs/tags/verification/",component:d("/docs/tags/verification/","136"),exact:!0},{path:"/docs/tags/whitepaper/",component:d("/docs/tags/whitepaper/","949"),exact:!0},{path:"/docs/tags/wizard/",component:d("/docs/tags/wizard/","2cb"),exact:!0},{path:"/docs/",component:d("/docs/","b48"),routes:[{path:"/docs/",component:d("/docs/","e7a"),exact:!0,sidebar:"docs"},{path:"/docs/develop/client/",component:d("/docs/develop/client/","720"),exact:!0},{path:"/docs/develop/json-rpc/",component:d("/docs/develop/json-rpc/","3b0"),exact:!0},{path:"/docs/develop/overview/",component:d("/docs/develop/overview/","4ab"),exact:!0},{path:"/docs/develop/service-development/",component:d("/docs/develop/service-development/","a0d"),exact:!0},{path:"/docs/learn/delivery-acknowledgements/",component:d("/docs/learn/delivery-acknowledgements/","76f"),exact:!0,sidebar:"docs"},{path:"/docs/learn/developers/",component:d("/docs/learn/developers/","a5d"),exact:!0,sidebar:"docs"},{path:"/docs/learn/introduction/",component:d("/docs/learn/introduction/","0c9"),exact:!0,sidebar:"docs"},{path:"/docs/learn/services/",component:d("/docs/learn/services/","095"),exact:!0,sidebar:"docs"},{path:"/docs/learn/the-network/",component:d("/docs/learn/the-network/","8fa"),exact:!0,sidebar:"docs"},{path:"/docs/learn/token-and-economics/",component:d("/docs/learn/token-and-economics/","ede"),exact:!0,sidebar:"docs"},{path:"/docs/node/analyzing-logs/",component:d("/docs/node/analyzing-logs/","98d"),exact:!0,sidebar:"docs"},{path:"/docs/node/configuration/",component:d("/docs/node/configuration/","191"),exact:!0},{path:"/docs/node/diagnostics/",component:d("/docs/node/diagnostics/","83b"),exact:!0},{path:"/docs/node/health-check/",component:d("/docs/node/health-check/","59e"),exact:!0,sidebar:"docs"},{path:"/docs/node/install/",component:d("/docs/node/install/","0d6"),exact:!0,sidebar:"docs"},{path:"/docs/node/lightning-cli/",component:d("/docs/node/lightning-cli/","88d"),exact:!0,sidebar:"docs"},{path:"/docs/node/overview/",component:d("/docs/node/overview/","603"),exact:!0,sidebar:"docs"},{path:"/docs/node/requirements/",component:d("/docs/node/requirements/","8ae"),exact:!0,sidebar:"docs"},{path:"/docs/node/systemd-service/",component:d("/docs/node/systemd-service/","a24"),exact:!0,sidebar:"docs"},{path:"/docs/node/testnet-onboarding/",component:d("/docs/node/testnet-onboarding/","2f1"),exact:!0,sidebar:"docs"},{path:"/docs/Open-source/",component:d("/docs/Open-source/","81b"),exact:!0},{path:"/docs/Open-source/code-of-conduct/",component:d("/docs/Open-source/code-of-conduct/","ff8"),exact:!0,sidebar:"docs"},{path:"/docs/Open-source/contributing/",component:d("/docs/Open-source/contributing/","27e"),exact:!0,sidebar:"docs"},{path:"/docs/Open-source/repositories/",component:d("/docs/Open-source/repositories/","93e"),exact:!0,sidebar:"docs"},{path:"/docs/roadmap/",component:d("/docs/roadmap/","532"),exact:!0,sidebar:"docs"},{path:"/docs/whitepaper/",component:d("/docs/whitepaper/","d8d"),exact:!0,sidebar:"docs"}]}]}]},{path:"/guides/",component:d("/guides/","221"),routes:[{path:"/guides/",component:d("/guides/","fe0"),routes:[{path:"/guides/tags/",component:d("/guides/tags/","dae"),exact:!0},{path:"/guides/tags/configuration/",component:d("/guides/tags/configuration/","fea"),exact:!0},{path:"/guides/tags/container/",component:d("/guides/tags/container/","6ef"),exact:!0},{path:"/guides/tags/docker/",component:d("/guides/tags/docker/","06e"),exact:!0},{path:"/guides/tags/edge-computing/",component:d("/guides/tags/edge-computing/","1db"),exact:!0},{path:"/guides/tags/fleek-network/",component:d("/guides/tags/fleek-network/","f99"),exact:!0},{path:"/guides/tags/getting-started/",component:d("/guides/tags/getting-started/","21e"),exact:!0},{path:"/guides/tags/guide/",component:d("/guides/tags/guide/","218"),exact:!0},{path:"/guides/tags/guides/",component:d("/guides/tags/guides/","a6e"),exact:!0},{path:"/guides/tags/help/",component:d("/guides/tags/help/","d58"),exact:!0},{path:"/guides/tags/keys/",component:d("/guides/tags/keys/","61c"),exact:!0},{path:"/guides/tags/keystore/",component:d("/guides/tags/keystore/","873"),exact:!0},{path:"/guides/tags/logs/",component:d("/guides/tags/logs/","9fa"),exact:!0},{path:"/guides/tags/ownership/",component:d("/guides/tags/ownership/","99f"),exact:!0},{path:"/guides/tags/private-keys/",component:d("/guides/tags/private-keys/","a77"),exact:!0},{path:"/guides/tags/public-keys/",component:d("/guides/tags/public-keys/","29f"),exact:!0},{path:"/guides/tags/rebuild/",component:d("/guides/tags/rebuild/","ef7"),exact:!0},{path:"/guides/tags/setup/",component:d("/guides/tags/setup/","e31"),exact:!0},{path:"/guides/tags/transfer/",component:d("/guides/tags/transfer/","874"),exact:!0},{path:"/guides/tags/update/",component:d("/guides/tags/update/","30a"),exact:!0},{path:"/guides/",component:d("/guides/","6c0"),routes:[{path:"/guides/",component:d("/guides/","ef7"),exact:!0,sidebar:"defaultSidebar"},{path:"/guides/Node Operators/getting-started/",component:d("/guides/Node Operators/getting-started/","a1f"),exact:!0,sidebar:"defaultSidebar"},{path:"/guides/Node Operators/how-to-manage-log-files/",component:d("/guides/Node Operators/how-to-manage-log-files/","951"),exact:!0,sidebar:"defaultSidebar"},{path:"/guides/Node Operators/managing-the-keystore/",component:d("/guides/Node Operators/managing-the-keystore/","176"),exact:!0,sidebar:"defaultSidebar"},{path:"/guides/Node Operators/running-a-node-in-docker/",component:d("/guides/Node Operators/running-a-node-in-docker/","afa"),exact:!0,sidebar:"defaultSidebar"},{path:"/guides/Node Operators/transfering-setup-ownership/",component:d("/guides/Node Operators/transfering-setup-ownership/","2d8"),exact:!0,sidebar:"defaultSidebar"},{path:"/guides/Node Operators/updating-lightning/",component:d("/guides/Node Operators/updating-lightning/","a3e"),exact:!0,sidebar:"defaultSidebar"}]}]}]},{path:"/references/",component:d("/references/","d36"),routes:[{path:"/references/",component:d("/references/","d0d"),routes:[{path:"/references/tags/",component:d("/references/tags/","68a"),exact:!0},{path:"/references/tags/backup/",component:d("/references/tags/backup/","d58"),exact:!0},{path:"/references/tags/build/",component:d("/references/tags/build/","97c"),exact:!0},{path:"/references/tags/clean/",component:d("/references/tags/clean/","810"),exact:!0},{path:"/references/tags/clear/",component:d("/references/tags/clear/","e8b"),exact:!0},{path:"/references/tags/cli/",component:d("/references/tags/cli/","16b"),exact:!0},{path:"/references/tags/commands/",component:d("/references/tags/commands/","637"),exact:!0},{path:"/references/tags/container/",component:d("/references/tags/container/","8e1"),exact:!0},{path:"/references/tags/delete/",component:d("/references/tags/delete/","a94"),exact:!0},{path:"/references/tags/docker/",component:d("/references/tags/docker/","042"),exact:!0},{path:"/references/tags/file-permissions/",component:d("/references/tags/file-permissions/","148"),exact:!0},{path:"/references/tags/fix/",component:d("/references/tags/fix/","bd5"),exact:!0},{path:"/references/tags/frozen/",component:d("/references/tags/frozen/","07d"),exact:!0},{path:"/references/tags/help/",component:d("/references/tags/help/","74d"),exact:!0},{path:"/references/tags/idle/",component:d("/references/tags/idle/","109"),exact:!0},{path:"/references/tags/image/",component:d("/references/tags/image/","500"),exact:!0},{path:"/references/tags/keystore/",component:d("/references/tags/keystore/","7e3"),exact:!0},{path:"/references/tags/lightning/",component:d("/references/tags/lightning/","4db"),exact:!0},{path:"/references/tags/lost-keys/",component:d("/references/tags/lost-keys/","dde"),exact:!0},{path:"/references/tags/ownership/",component:d("/references/tags/ownership/","b97"),exact:!0},{path:"/references/tags/permissions/",component:d("/references/tags/permissions/","5ee"),exact:!0},{path:"/references/tags/pkill/",component:d("/references/tags/pkill/","c53"),exact:!0},{path:"/references/tags/process/",component:d("/references/tags/process/","108"),exact:!0},{path:"/references/tags/reference/",component:d("/references/tags/reference/","235"),exact:!0},{path:"/references/tags/references/",component:d("/references/tags/references/","440"),exact:!0},{path:"/references/tags/remove/",component:d("/references/tags/remove/","57a"),exact:!0},{path:"/references/tags/restore/",component:d("/references/tags/restore/","4c9"),exact:!0},{path:"/references/tags/root/",component:d("/references/tags/root/","923"),exact:!0},{path:"/references/tags/service-error/",component:d("/references/tags/service-error/","07d"),exact:!0},{path:"/references/tags/shutdown/",component:d("/references/tags/shutdown/","821"),exact:!0},{path:"/references/tags/sudoer/",component:d("/references/tags/sudoer/","302"),exact:!0},{path:"/references/tags/systemctl/",component:d("/references/tags/systemctl/","56f"),exact:!0},{path:"/references/tags/systemd/",component:d("/references/tags/systemd/","298"),exact:!0},{path:"/references/tags/uninstall/",component:d("/references/tags/uninstall/","dd6"),exact:!0},{path:"/references/tags/unit/",component:d("/references/tags/unit/","882"),exact:!0},{path:"/references/tags/update/",component:d("/references/tags/update/","e1c"),exact:!0},{path:"/references/tags/upgrade/",component:d("/references/tags/upgrade/","ace"),exact:!0},{path:"/references/tags/user-service/",component:d("/references/tags/user-service/","f65"),exact:!0},{path:"/references/",component:d("/references/","7ec"),routes:[{path:"/references/",component:d("/references/","418"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Docker/build-and-run-in-docker/",component:d("/references/Docker/build-and-run-in-docker/","8c9"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Docker/frequently-used-commands-for-docker-setup/",component:d("/references/Docker/frequently-used-commands-for-docker-setup/","070"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Docker/uninstall-docker-setup/",component:d("/references/Docker/uninstall-docker-setup/","ab1"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Lightning CLI/backing-up-the-keystore/",component:d("/references/Lightning CLI/backing-up-the-keystore/","4c3"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Lightning CLI/error-building-on-arm64/",component:d("/references/Lightning CLI/error-building-on-arm64/","cb1"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Lightning CLI/error-linking-with-cc-failed-exist-status-1/",component:d("/references/Lightning CLI/error-linking-with-cc-failed-exist-status-1/","bb4"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Lightning CLI/file-permissions-and-ownership/",component:d("/references/Lightning CLI/file-permissions-and-ownership/","974"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Lightning CLI/frequently-used-commands-for-native-setup/",component:d("/references/Lightning CLI/frequently-used-commands-for-native-setup/","a39"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Lightning CLI/keys-not-found/",component:d("/references/Lightning CLI/keys-not-found/","45f"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Lightning CLI/node-secret-key-does-not-exist/",component:d("/references/Lightning CLI/node-secret-key-does-not-exist/","c72"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Lightning CLI/permission-denied-os-error-13/",component:d("/references/Lightning CLI/permission-denied-os-error-13/","eed"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Lightning CLI/restore-the-keystore/",component:d("/references/Lightning CLI/restore-the-keystore/","d91"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Lightning CLI/uninstall-lightning-node/",component:d("/references/Lightning CLI/uninstall-lightning-node/","a83"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Lightning CLI/update-cli-from-source-code/",component:d("/references/Lightning CLI/update-cli-from-source-code/","6a3"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Systemd/service-keeps-running-after-shutdown/",component:d("/references/Systemd/service-keeps-running-after-shutdown/","176"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Systemd/shutting-down-persistance/",component:d("/references/Systemd/shutting-down-persistance/","27f"),exact:!0,sidebar:"defaultSidebar"},{path:"/references/Systemd/user-service/",component:d("/references/Systemd/user-service/","9d7"),exact:!0,sidebar:"defaultSidebar"}]}]}]},{path:"/",component:d("/","a33"),exact:!0},{path:"*",component:d("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,t:()=>i});var r=n(7294),a=n(5893);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},7221:(e,t,n)=>{"use strict";var r=n(7294),a=n(745),o=n(3727),i=n(405),s=n(412);const l=[n(2497),n(3310),n(8320),n(2295)];var c=n(723),u=n(6550),d=n(8790),f=n(5893);function p(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var g=n(5742),m=n(2263),h=n(4996),b=n(6668),y=n(833),v=n(4711),w=n(9727),k=n(3320),x=n(8780),S=n(197);function _(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,m.Z)(),r=(0,v.l)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,f.jsxs)(g.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function C(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,m.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,m.Z)(),{pathname:r}=(0,u.TH)();return e+(0,x.applyTrailingSlash)((0,h.Z)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,f.jsxs)(g.Z,{children:[(0,f.jsx)("meta",{property:"og:url",content:a}),(0,f.jsx)("link",{rel:"canonical",href:a})]})}function E(){const{i18n:{currentLocale:e}}=(0,m.Z)(),{metadata:t,image:n}=(0,b.L)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(g.Z,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:w.h})]}),n&&(0,f.jsx)(y.d,{image:n}),(0,f.jsx)(C,{}),(0,f.jsx)(_,{}),(0,f.jsx)(S.Z,{tag:k.HX,locale:e}),(0,f.jsx)(g.Z,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const T=new Map;function j(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(c.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var L=n(8934),A=n(8940),N=n(469);function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;rYour Docusaurus site did not load properly.
\nA very common reason is a wrong site baseUrl configuration.
\nCurrent configured baseUrl = ${e} ${"/"===e?" (default value)":""}
\nWe suggest trying baseUrl =
\n.comment
can become .namespace--comment
) or replace them with your defined ones (like .editor__comment
). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll
and highlightAllUnder
methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2885:(e,t,n)=>{const r=n(9901),a=n(9642),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(6500).resolve(t)],delete Prism.languages[e],n(6500)(t),o.add(e)}))}i.silent=!1,e.exports=i},6854:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,s=i.length;-1!==n.code.indexOf(a=t(r,s));)++s;return i[s]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(s){for(var l=0;l