MRColorR / money4band

A multi platform, self updating, lightweight docker stack that use compose to run many passive income applications like Honeygain, EarnApp, IPRoyal Pawns, PacketStream, Peer2Profit, Repocket, Earnfm, Proxyrack, Bitping, SpeedShare, etc. that pay you in USD or crypto to share unused internet bandwidth. It includes an auto updater and web dashboard
https://github.com/MRColorR/money4band#-join-the-money4band-community-on-discord
GNU General Public License v3.0
221 stars 36 forks source link

bitping and traffmonetizer are in a cycle of restarts #24

Closed Besix2 closed 1 year ago

Besix2 commented 1 year ago

Describe the bug title

[...]

Device (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. install docker via script
  2. add emulation layer
  3. setup .env file
  4. start stack Expected behavior They should works as intended

Screenshots image

MRColorR commented 1 year ago

hello could you please send me here the logs of the two containers? use sudo docker logs traffmonetizer and same for bitping. just the lates few lines of each

Besix2 commented 1 year ago

Screenshot_20230110-071918_Termux

Screenshot_20230110-071952_Termux

Just two screenshots before I go to work. When I get home I get more details. The screenshots are from termux sah into the pi.

MRColorR commented 1 year ago

Bitping login problem

Bitping can't detect your login details in the .data/.bitping/ . Did you start the automatic setup from a terminal in the project's root folder or manually configured the env and docker file? The automatic script should guide you in the complete project setup and start a bitping interactive container in which you could enter your bitping credentials. Anyway, to fix the issue you can stop the existing bitping container sudo docker stop bitping or the entire stack and then re-run this step opening a terminal in the money4band's root folder and entering sudo docker run --rm -it -v ${PWD}/.data/.bitping/:/root/.bitping bitping/bitping-node after login confirmation you can CTRL-C the interactive container and restart the original one or the entire stack.

Traffmonetizer "failed to create coreclr" problem

This is a bug, the traffmonetizer image pulled is an x86_64 as the latest tag of this image on docker at the moment is not multiarch but target x86_64 only (like in other apps e.g. Honeygain). The emulation layer should work around this problem (as it does for other apps) but traffmonetizer's image still gives errors. As stated in #22 I'm working on a permanent solution, but for now the fastest fix is:

  1. Open the docker-compose file and edit the traffmonetizer image line changing traffmonetizer/cli:latest to traffmonetizer/cli:arm64v8 then save the changes
  2. Restart the project stack using the script or by opening a terminal in the docker-compose.yaml same folder and running docker compose up -d
Besix2 commented 1 year ago

For Bitping I configured It using the Script. I put my credentials and IT World. But anyways I try It when I get home

Besix2 commented 1 year ago

image

Bitping seems to ignore the emulation layer

Edit: It runs now.

Besix2 commented 1 year ago

Traffmonetizer work around doesnt work

image

MRColorR commented 1 year ago

Both seems networking related errors. bitping is using the emulation layer correctly as it is running and logging in, the architecture mismatch warning is just a heads up. Then it encounters a connection error. Also traffmonetizer workaround is not visible in the second screenshot, connection to docker hub to check images arch could not be established and went on timeout.

MRColorR commented 1 year ago

A test pre-release with a possible permanent fix is now available, testing and feedback is welcome. Edit: A new stable release has been published in https://github.com/MRColorR/money4band/releases

Besix2 commented 1 year ago

image

The text doubles in the new release

Besix2 commented 1 year ago

it works now.

MRColorR commented 1 year ago

Thank you very much for your report. It was very precise and allowed me to solve quickly. Is the text still duplicating or was that also fixed in the latest release?

Besix2 commented 1 year ago

When I first started the script from the new realse it looked like this. The second time I opened it only the top part was duplicate. And also the bitping problem reaccured I think its becasue if you enter the credentials trough the script it doesnt save them. I had to manually add them.

MRColorR commented 1 year ago

Thank you. I'll check it on a new test environment, when i can 👍