Git Product home page Git Product logo

core's People

Contributors

aarondewes avatar julianpedro avatar nolim1t avatar prusnak avatar pwltr avatar wuergesfc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

core's Issues

Electrs not working

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

Wordpress App

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.

E: Unable to locate package runcitadel

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

Make SSL Port 443 optional/deactivable

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.

New backup backend

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.

Rust-based app generator

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.

Some problems when I tried run in ubuntu server

I needed change 2 files:

  • scripts/start

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
}

  • and the ENV UNSAFE_REMOVE_CORS_CHECK in docker-compose.yml (git diff):

@@ -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

  • and install:
    sudo apt install -y python3-dacite python3-semver

Thanks guys! I hope that this comment help you.

Possible Bug? Are we backing up HashedControlPassword in tor/torrc-core?

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 πŸ™πŸ™

App store not loading

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.

Karen logs

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.