runcitadel / core Goto Github PK
View Code? Open in Web Editor NEWWe've moved to GitLab.
Home Page: https://gitlab.com/nirvati/citadel/lts/core
License: GNU General Public License v3.0
We've moved to GitLab.
Home Page: https://gitlab.com/nirvati/citadel/lts/core
License: GNU General Public License v3.0
Should we change .umbrel to .runcitadel ?
Line 81 in 35e5038
I never got it working to connect my BlueWallet or SparrowWallet to my node using the explained methods in "Connect Wallet" section.
I dont know which infos you need and where I can get them. But just wanted to say that because there is no change since months ^^
Edit:
Found out, that electrum isnt even running and fails to start.
This helped to find out why: raspiblitz/raspiblitz#2548
But I dont know how to update electrs for myself on citadel :/
Log:
electrum | Error: electrs failed
electrum |
electrum | Caused by:
electrum | 0: sync failed
electrum | 1: failed to get block 000000000000000000070742427fa10ec3c66d006160155a704d9f56d090a3ea
electrum | 2: receiving on an empty and disconnected channel
I changed "maxconnections" to "3" and now get a different error:
electrum | Starting electrs 0.9.6 on aarch64 linux with Config { network: Bitcoin, db_path: "/data/db/bitcoin", daemon_dir: "/bitcoin", daemon_auth: CookieFile("/bitcoin/.cookie"), daemon_rpc_addr: 10.21.21.8:8332, daemon_p2p_addr: 10.21.21.8:8333, electrum_rpc_addr: 0.0.0.0:50001, monitoring_addr: 127.0.0.1:4224, wait_duration: 10s, jsonrpc_timeout: 15s, index_batch_size: 10, index_lookup_limit: None, reindex_last_blocks: 0, auto_reindex: true, ignore_mempool: false, sync_once: false, disable_electrum_rpc: false, server_banner: "Citadel v0.0.9", args: [] }
electrum | [2022-12-18T14:01:57.829Z INFO electrs::metrics::metrics_impl] serving Prometheus metrics on 127.0.0.1:4224
electrum | [2022-12-18T14:01:57.829Z INFO electrs::server] serving Electrum RPC on 0.0.0.0:50001
electrum | [2022-12-18T14:01:58.647Z INFO electrs::db] "/data/db/bitcoin": 153 SST files, 37.669715424 GB, 4.696112738 Grows
electrum | [2022-12-18T14:02:05.524Z INFO electrs::chain] loading 761240 headers, tip=000000000000000000022fa13b5abb217c073ed005a73834cb886470af426678
electrum | [2022-12-18T14:02:10.183Z INFO electrs::chain] chain updated: tip=000000000000000000022fa13b5abb217c073ed005a73834cb886470af426678, height=761240
electrum | [2022-12-18T14:02:12.158Z INFO electrs::db] closing DB at /data/db/bitcoin
electrum | [2022-12-18T14:02:12.158Z WARN electrs::p2p] failed to shutdown p2p connection: Transport endpoint is not connected (os error 107)
electrum | Error: electrs failed
electrum |
electrum | Caused by:
electrum | receiving on an empty and disconnected channel
Need to find a cross-architecture way to read out CPU temperature, right now it's showing temps for the wrong component.
Do we need to really run this as root?
Some people might get freaked out about this. Should at least do sudo in the individual commands that require it (and inform the user).
Line 20 in 35e5038
Upgraded from 0.0.3 to 0.0.4 and installed Wordpress. Cannot access wordpress folder. Perhaps www-data user needs permission?
Currently, connecting a public wordpress instance to your home node requires port forward.
With BTCPay on the same host as Wordpress, the connection could be automated.
Thoughts on a wordpress app? It could use a custom docker image with woocommerce and btcpayserver plugins installed/preconfigured.
Self-hosted ecommerce with non custodial LN checkout using your own node. Tor by default.
Trying to install citadel core, but got the following message
sudo apt install gh repo clone runcitadel/core Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package clone E: Unable to locate package runcitadel
can anyone help please thanks
Hi π
could we make that port optional:
https://github.com/runcitadel/core/blob/main/docker-compose.yml#L62
Eventually similar to the NGINX_PORT port?
So that you can disable the port for that container.
Like this or similar:
sudo NGINX_PORT=12345 NGINX_SSL=false ./scripts/start
As far as I've seen, that SSL isn't be required for the dashboard and the port was just added with v. 0.5.16 of Citadel.
Those running other containers with other applications using Docker will need the 443 port for their main application - so it would be great if we could provide a solution for them.
Tools to collect time series data on your node. Track and report routing events.
The backups should be handled on another service than Firebase and with a better structure.
I'm currently having a look at Backblaze to store them properly in one folder for each user.
Uploads and downloads will be handled with code hosted on Vercel.
For version 4 of the app.yml format, we should use a new app.ml -> docker-compose.yml converter written in Rust.
This means we will have a cleaner and faster converter. In addition, it can run in Docker so we can reduce the amount of host dependencies (So we can drop most python packages needed right now).
Having that in Docker will also make it easier to update it (outside of full updates).
App.yml v4 should also be more similar to docker-compose.yml to make it easier to port apps.
I needed change 2 files:
I changed the way to run docker-compose (git diff):
@@ -111,7 +111,7 @@ echo
echo
echo "Starting Docker services..."
echo
-docker compose up --detach --build --remove-orphans || {
+docker-compose up --detach --build --remove-orphans || {
echo "Failed to start containers"
exit 1
}
@@ -156,7 +156,7 @@ services:
REDIS_PASSWORD: freedom
REDIS_IP: $REDIS_IP
REDIS_PORT: 6379
-UNSAFE_REMOVE_CORS_CHECK: true
+UNSAFE_REMOVE_CORS_CHECK: 1
networks:
default:
ipv4_address: $MANAGER_IP
@@ -183,7 +183,7 @@ services:
LND_HOST: ${LND_IP}
JWT_PUBLIC_KEY_FILE: /jwt-public-key/jwt.pem
DEVICE_HOSTS: ${DEVICE_HOSTS:-"http://citadel.local"}
-UNSAFE_REMOVE_CORS_CHECK: true
+UNSAFE_REMOVE_CORS_CHECK: 1
networks:
default:
ipv4_address: $MIDDLEWARE_IP
Thanks guys! I hope that this comment help you.
Posting this one behalf of a user:
My issue is that HashedControlPassword in tor/torrc-core is empty/no pass. i don't know why. but i managed for now to get around it by modifying the docker-compose to point to my own torrc-core file. i generated a HashedControlPassword using "tor βhashed-password [password here]" using the tor.password from the lnd/lnd.conf and put that as the password and it works for now. Not ideal but finally came up after 3 days of being stuck
https://logs.runcitadel.space/b386bb9f9b80f7b4083f59eae739dd9f
I just thought it would be good to double check we are backing this up properly. I will try to figure it out if I have time later. I just posting this here as a reminder, but ya'lls thoughts would be appreciated too! @AaronDewes @pwltr ππ
Everything else seems to be working normal, but my appstore is just blank. I installed following the ubuntu method on the website. I found the following in the log that I think may be related to the problem.
This script must only be run on Citadel OS
Cloning into '/tmp/tmp0zrj5zgs'...
Cloning the repository
Traceback (most recent call last):
File "/home/user/citadel/scripts/../app/app-manager.py", line 70, in
updateRepos()
File "/home/user/citadel/app/lib/manage.py", line 354, in updateRepos
"githubRepo": gitUrl.removeprefix("https://github.com/").removesuffix(".git").removesuffix("/"),
AttributeError: 'str' object has no attribute 'removeprefix'
This script must only be run on Citadel OS
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.