Closed trentmc closed 1 year ago
(These comments were initially in pdr-backend#241. I moved them here, along with the issue itself.
[Trent] (asked @trizin or @alexcos20 for help)
[Berkay] seems like "development" is missing from the address file, could you check if it's there?
cat ~/.ocean/ocean-contracts/artifacts/address.json
[Trent] While address.json is there, there is no entry for
development
This is a failure on barge's part, afaik.[Berkay] Yep that happens randomly, usually restarting barge from scratch resolves it.
Hi Trent, today we looked at this ticket but moved on due to how much we needed to cover. We agreed that things are pretty stable, and this was bucketed w/ "just clean up your env".
I'm updating myself on pdr-backend.
My Fix: Was to force docker to fetch latest images. Do you have anything to add from your end?
Maybe this can help to close this.
[Solutions Proposed]
rm -rf ~/.ocean
./cleanup.sh
pruning volumes
inside local install README/barge/
repo so it's looked at further by AlexI have done all of the "proposed solutions" aggressively.
While necessary, they do not solve this problem.
Fyi they are all already in the pdr-backend barge.md file.
Therefore I do not recommend to do any of those recommended actions.
I will move this issue to barge. [done]
@alexcos20 any tips? From the logs, it appears that contracts get deployed but addresses.json isn't updated with "development"
My workaround was to run Barge in an Azure VPS. See pdr-backend#297 where I created a README to run barge from a VPS.
This README is currently in pdr-backend; we could port its instructions elsewhere too. But I don't see that as a priority, therefore I won't bother creating issues in this repo, or ocean.py etc.
I'm hitting this issue even inside the Azure VM running Ubuntu. Reopening.
We could close the issue because I could run Ubuntu on VPS. I'd typically have to restart a few times until it worked. But at least it worked. That was the time of my last comment (about Nov 9).
I did re-encounter the issue in Ubuntu on VPS. I've created a new issue for that: barge#390. And I renamed this issue to just MacOS. Therefore we can close this because we are not directly supporting MacOS.
How to reproduce
I'm running MacOS.
First, I did all the steps in pdr-backend barge.md's install section:
That is: In barge console:
And, I started Docker. (Needed for MacOS.)
Then, I did the steps from predictoor local/local setup:
(Including the fix from #241 to remove
--no-aquarius --no-elasticsearch
.)That is: In a different console:
Here are my results:
An example symptom: aquarius complains that it can't see "development" network: