[CRITICAL] upgrade chainwalker node #157

Closed
opened 2021-07-29 07:13:54 +00:00 by bobinson · 18 comments
bobinson commented 2021-07-29 07:13:54 +00:00 (Migrated from gitlab.com)

We need to upgrade the chainwalker to 1.5.13 & should be done before the HF to avoid crash

We need to upgrade the chainwalker to 1.5.13 & should be done before the HF to avoid crash
bobinson commented 2021-07-29 07:13:54 +00:00 (Migrated from gitlab.com)

assigned to @rilesdun

assigned to @rilesdun
rilesdun commented 2021-08-03 22:30:54 +00:00 (Migrated from gitlab.com)

Witness node is currently in replay; will be fully synced within the hour and will confirm when its fully up to date

Witness node is currently in replay; will be fully synced within the hour and will confirm when its fully up to date
rilesdun commented 2021-08-04 14:24:34 +00:00 (Migrated from gitlab.com)

Regardless of how the API is run, it is refusing to connect; or complains about module missing. image
image

I've got a backup witness node to use; I will test installing the chainwalker from scratch here

Regardless of how the API is run, it is refusing to connect; or complains about module missing. ![image](/uploads/bbaebc30fc642709c0a75f7c1714975a/image.png) ![image](/uploads/813329cac491e500c7036e5d75d5e33d/image.png) I've got a backup witness node to use; I will test installing the chainwalker from scratch here
bobinson commented 2021-08-04 18:32:54 +00:00 (Migrated from gitlab.com)

@rilesdun - just to confirm, we are not running a witness node but a full API node ? (We don't need to sign blocks)

@rilesdun - just to confirm, we are not running a witness node but a full API node ? (We don't need to sign blocks)
bobinson commented 2021-08-04 18:33:49 +00:00 (Migrated from gitlab.com)

@kake - can you check this Python import error in the Flask app ?

@kake - can you check this Python import error in the Flask app ?
kake commented 2021-08-05 11:14:39 +00:00 (Migrated from gitlab.com)

Looks like we have Python2.7 Python3 conflict here.

Which Python are we supposed to use for this project?

Also could you share the command or script used to start the program?

Looks like we have Python2.7 Python3 conflict here. Which Python are we supposed to use for this project? Also could you share the command or script used to start the program?
rilesdun commented 2021-08-05 11:35:11 +00:00 (Migrated from gitlab.com)

This was deployed as per this Dockerfile https://gitlab.com/PBSA/tools-libs/peerplays-docker/-/blob/release/dkr_fullnode/Dockerfile;

The previous setup was running the same way, just without docker.

This was deployed as per this Dockerfile https://gitlab.com/PBSA/tools-libs/peerplays-docker/-/blob/release/dkr_fullnode/Dockerfile; The previous setup was running the same way, just without docker.
rilesdun commented 2021-08-05 11:40:37 +00:00 (Migrated from gitlab.com)

Python2 should be used for this project as per their requirements

image

Simple running is to be done with the following commands:

  • export FLASK_APP=app.py

  • flask run --host=0.0.0.0

Or using uWSGI with the following commands, I have tried both ways and I'm still unable to deploy chainwalker:

  • uwsgi --ini app.ini and serving with nginx

This information was all obtained from: https://github.com/oxarbitrage/peerplays-explorer-api

Python2 should be used for this project as per their requirements ![image](/uploads/00dcc0cdba2cadca44acbbb6f1259979/image.png) Simple running is to be done with the following commands: - `export FLASK_APP=app.py` - `flask run --host=0.0.0.0` Or using uWSGI with the following commands, I have tried both ways and I'm still unable to deploy chainwalker: - `uwsgi --ini app.ini` and serving with nginx This information was all obtained from: https://github.com/oxarbitrage/peerplays-explorer-api
kake commented 2021-08-06 06:54:35 +00:00 (Migrated from gitlab.com)

pip install -r requirements/production.pip

Could you make sure that this line was executed after
source wrappers_env/bin/activate

`pip install -r requirements/production.pip` Could you make sure that this line was executed after `source wrappers_env/bin/activate`
rilesdun commented 2021-08-06 14:04:55 +00:00 (Migrated from gitlab.com)

Yes this was done, and output confirms all requirements are met!

Yes this was done, and output confirms all requirements are met!
bobinson commented 2021-08-15 10:40:16 +00:00 (Migrated from gitlab.com)

Downloaded the current witness-node executable to ~/alice folder and restarted the witness service and the chainwalker API is up and running as expected.

http://52.60.209.34:5000/apidocs/#!/api/api_explorer_get_account

image

Downloaded the current witness-node executable to ~/alice folder and restarted the witness service and the chainwalker API is up and running as expected. http://52.60.209.34:5000/apidocs/#!/api/api_explorer_get_account ![image](/uploads/3ff10373191b5fba10b66cc53cd35dbe/image.png)
bobinson commented 2021-08-15 10:40:30 +00:00 (Migrated from gitlab.com)

assigned to @bobinson and unassigned @rilesdun

assigned to @bobinson and unassigned @rilesdun
bobinson (Migrated from gitlab.com) closed this issue 2021-08-15 10:40:50 +00:00
bobinson commented 2021-08-15 10:41:36 +00:00 (Migrated from gitlab.com)

changed due date to July 29, 2021

changed due date to July 29, 2021
bobinson commented 2021-08-15 10:41:52 +00:00 (Migrated from gitlab.com)

changed time estimate to 30m

changed time estimate to 30m
bobinson commented 2021-08-15 10:42:16 +00:00 (Migrated from gitlab.com)

added 3m of time spent

added 3m of time spent
yviter commented 2021-10-18 11:45:10 +00:00 (Migrated from gitlab.com)

mentioned in commit 39263ba774

mentioned in commit 39263ba7745b074d389ba83191f7c56dd56bcbac
serkixenos commented 2021-11-22 19:38:12 +00:00 (Migrated from gitlab.com)

mentioned in commit 890079c33f

mentioned in commit 890079c33f605f6408d3c8cdaf433bfff56cb005
pavel.baykov commented 2021-11-26 06:49:40 +00:00 (Migrated from gitlab.com)

mentioned in commit 7d1db4e883

mentioned in commit 7d1db4e88387bd87037888cb2f8d6d063bcfdd19
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#157
No description provided.