-
Notifications
You must be signed in to change notification settings - Fork 9
FAQ
Nathan Lie edited this page Jul 19, 2018
·
22 revisions
The process of installing a Codius host or uploading a contract may come with its own issues or nuances. The most commonly occurring ones can be reported here.
If you wish to contribute something to the FAQ, add your contribution to FAQ.md
in a separate branch in https:/codius/codius-wiki. Open a pull request there for someone to review and update the wiki with your changes once they're ready.
New additions should follow this format:
Add brief log output if it is relevant.
- Detail each step...
- In its own bullet point.
- Be sure to add your contribution to the table of contents above to help others find the issue!
- Format for the Table of Contents follows this format:
- [Describe the issue in a header](#describe-the-issue-in-a-header)
- Format for the Table of Contents follows this format:
36+ XRP is required:
- 20 as base reserve (required for wallet activation)
- 10 escrowed in paymentChannelCreate tx
- 5 added to reserve to allow paymentChannel walelt functionality (now 25 in reserves)
- 1 XRP to facilitate the tx fees burned during these initial transactions.
If less than required XRP is in wallet, you will likely see this error on your host:
ilp-plugin-xrp-asym-client Error creating the payment channel: tecUNFUNDED One of _ADD, _OFFER, or _SEND. Deprecated. +0ms
- To rectify, add funds to your wallet and restart moneyd.
Yes! Check which version of moneyd-uplink-xrp you are using with the following command:
npm list -g | grep moneyd-uplink-xrp
- When you configure moneyd, you will be automatically assigned a random 32-byte name to your paymentChannel.
- You do not need to follow the steps below.
- Add a unique name to your moneyd configuration using the below function:
moneyd xrp:configure --advanced
- If running on a machine already setup with moneyd, you'll have to delete your
.moneyd.json
file first. - If running on a machine already setup with moneyd, you'll need to run a
moneyd xrp:cleanup
to remove old paymentChannels - Tutorial coming soon.
More info and actual documentation found below:
Yes!
- Log in as root for entire setup process (hyper/moneyd/codiusd).
- Failure to do so will cause errors like the following (even using sudo):
could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-57fb2ba2 permission denied`
- Enter the command
hyperctl list
[root@host1 ~]# hyperctl list
POD ID POD Name VM name Status
lg6gjhhh2b3if2tzpbms6cr3hdmh7dixa2v4an6pz4tdxdmqtjpa lg6gjhhh2b3if2tzpbms6cr3hdmh7dixa2v4an6pz4tdxdmqtjpa vm-IgCwzBdZfd running
- If
--host
is specified during upload, a specific host can be chosen; - If
--host
is left out / blank, a random host is chosen from the list of peers.
codius upload /tmp/example-manifest.json --host https://host1.codius.live --duration 200
Want to contribute? Open a pull request here!