Running ord #3900
Replies: 22 comments
-
(EDIT: added a fourth question) I don't have a server to test this on, unfortunately. And I'm hesitant to use my RB since I need it to work reliably. I have been reading up on this a fair bit though. Here are a few things I noticed. Mostly from the perspective of me wanting to tinker around with this on my RB, not on a server. Which means I ran into three main questions:
Here's what I found out so far:
|
Beta Was this translation helpful? Give feedback.
-
Manually for now following the commands described above. The same steps work on the RPi as on the server
Seems like it, but will take multiple hours of high load,
Should be able to, but did not test.
Once the indexing is finished Ord is not heavier than electrs for example, it should run well. Can also be just started on demand. Would suggest working in tmux for now to keep the processes running. See a simple guide: https://linuxize.com/post/getting-started-with-tmux/ or follow any other. Overall the main problem is the cookie auth not being compatible with mempool and need to reconfigure the other apps. If you are not compfortable with the linux command line and relying on anything apart from bitcoind and maybe CLN on the Raspiblitz it is not yet a good idea to hack around with ord. |
Beta Was this translation helpful? Give feedback.
-
Thanks for all the info! I'm fine with the Linux command line. There are a few things I haven't done yet (like build something myself or tmux), but that's the main reason I like to play around with the RB and ord is giving me an excuse to do that. Will read up on tmux, thanks for the link. I'm only using a few services on my RB (mempool.space, etc.) and could do without them temporarily. It should be possible to re-enable rpcuser and rpcpassword in bitcoin.conf, right? ord should then stop working, but mempool.space should work again?
Could you leave a note here once your RB is through? I read the indexing can slow down massively towards the end. I could then plan ahead and schedule in the other services not working. |
Beta Was this translation helpful? Give feedback.
-
One for sure using |
Beta Was this translation helpful? Give feedback.
-
Does the RB Bisq service require rpcuser/rpcpassword or would it still work with those commented out in bitcoin.conf?
Did you mean "one day for sure"? |
Beta Was this translation helpful? Give feedback.
-
@heronimoo with the --index-sats setting my server is like half-way now, there is no hope to build this on an RPi. Will let you know the rough estimate once finished. |
Beta Was this translation helpful? Give feedback.
-
@openoms I think you meant to respond to another poster above. But I guess I can ask follow-ups anyway ;) -> could an RPi keep up with the non-sats index? Would you be prepared to share your index file with somebody who doesn't have access to a massive server? My previous question was actually this one - I would still be very interested in the answer, if you could:
|
Beta Was this translation helpful? Give feedback.
-
Yes, without the sats index probably.
Not planning to share the index as it would need to be kept up to date. A used server like mine is like £120 BTW. A laptop or desktop also works.
yes, not relevant. If bitcoind is running can be connected to by Bisq. That is not an authenticated connection. |
Beta Was this translation helpful? Give feedback.
-
@openoms Thanks so much! |
Beta Was this translation helpful? Give feedback.
-
@openoms did your RB ever manage to create the regular index on its own (or is it still running a few days later, poor little thing)? |
Beta Was this translation helpful? Give feedback.
-
Nope, stopped it third of the way when realized it only gets the inscriptions, no sats index. |
Beta Was this translation helpful? Give feedback.
-
Of course. Thanks for the update! EDIT: Did you get the feeling that building the inscriptions index is feasible as opposed to the sats-index (which appears to be out)? Would we be talking hours, days, weeks? |
Beta Was this translation helpful? Give feedback.
-
@openoms I followed your above instructions and they worked beautifully. My RB is indexing now. Let's see how far I get! The only hiccup was that when I typed "ord server --http-port 8000", I received "ord is not in the sudoers file. This incident will be reported." I launched ord with the previous command, so that works. But how do I fix the alias? |
Beta Was this translation helpful? Give feedback.
-
@mitohund the alias above is made for the admin user which can use sudo to run the command as the ord user., so you don't need to switch users that way. |
Beta Was this translation helpful? Give feedback.
-
@openoms oh man I actually realised that in bed last night. Sometimes one just needs to get off the computer... Thanks anyway! The index was built over night on my Pi. So that's actually totally fine. Will start testing today. Last question, I hope: I would have expected to reach my ordinals server using a webbrowser and typing in my RB's IP plus port 8000. But I can't. Am I misunderstanding something? |
Beta Was this translation helpful? Give feedback.
-
yes, you should be able to access it when the server is running. make sure that the firewall allowas that port through:
|
Beta Was this translation helpful? Give feedback.
-
Ha! That did it. Thanks! Maybe you should add this to your instructions above, for the noobs like me. An additional line for users who try this on an RB instead of a different server that they configured themselves. |
Beta Was this translation helpful? Give feedback.
-
After each restart, I need to redo Also, how do I get the ord server to autostart? |
Beta Was this translation helpful? Give feedback.
-
would need to change bitcoind.service, it is described in #3691 (comment)
Would need to make a systemd service for it too. |
Beta Was this translation helpful? Give feedback.
-
Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hi, another ambitious amateur here, who followed this info a few months ago and set up ord. Then life kept me busy for a few months. And now that I've returned to this, I noticed that a few things have changed and the above instructions are not correct anymore. I would appreciate some pointers as to how to proceed. Here's what I noticed:
|
Beta Was this translation helpful? Give feedback.
-
I'll try to respond to my own questions and would appreciate comments if what I did was not the proper way. I really am just feeling my way forward.
Indexing has been running for two days now and is still far from finished. Load is very high, but ord appears more stable (v 0.8.1) than before (v 0.5.2). Will report back once it's done. |
Beta Was this translation helpful? Give feedback.
-
Controversial as it is there are repeated questions about how to run Ord - https://github.com/casey/ord on the Raspiblitz.
I am testing on a amd64 server with 32 GB RAM as according to community reports a raspberry pi would be underpowered for the initial sync.
Also rpcuser and password auth with bitcoind is not yet supported so expect to break some other apps (LND, Specter, electrum servers, Mempool etc) configured to use that method:
rpc username an password auth support WIP in ord: https://github.com/casey/ord/issues/1399
notes about setting apps to use rpc username an password: #3691
Steps taken to install on a server running Raspiblitz on a Debian11 base (Ubuntu should be similar):
some other things are running here, but the base load was below 1.5. Ord makes the machine work quite a bit. It progresses quickly until the inscriptions start:
All the idexing is finished in an hour.
alias to be set for admin so you can just type
ord
:Can paste it in:
/home/admin/_aliases
to persist.
Run the server in tmux (using the alias):
Beta Was this translation helpful? Give feedback.
All reactions