Open aminlatifi opened 7 months ago
@jainkrati
@aminlatifi Can you dockerize this setup? So that we can easily migrate it?
CC: @geleeroyale once this is dockerized, we can easily set it up later
It hosts two services, givpower-bot (production) and givfarm notify reward.
thanks - we already moved the givpower-bot - we will migrate givfarm-notify after we hopefully fixed the current errors in prod
I think it's better to finally to gelato service for these kind of things. Then we won't need to keep a server for these kind of stuff.
The server we run the farming notify reward bot on runs with an obsolete OS version. It may have security vulnerabilities itself and also doesn't allow us to run updated versions of node.js. As we have to run our scripts with node v14 which is too old.
The server OS must be upgraded for its own security and won't be a blocker in the future for further development.
@geleeroyale @mhmdksh what's the final status of this? still notify reward is there?
@aminlatifi I can not find a deployment or exact repo for givfarm-notify.
givpower-bot
is already migrated as stated above
Can we take a look at this?
@geleeroyale the repo is giv-token-contracts
@aminlatifi I am sorry, but all I see in this repo are contracts and contract deployments for hardhat - I can't find any services
@aminlatifi I am sorry, but all I see in this repo are contracts and contract deployments for hardhat - I can't find any services
There are scripts run every hour by cron job.
@aminlatifi
I cloned the repo onto our services.giveth.io
instance and tried for most of the day to get it to run - but whatever I do it won't work.
after
I was able to run one of the cronjob scripts, but it fails with an error:
It would be awesome if you could clean up the repository to a point of reproducability @aminlatifi - I can't run it in the current state.
@geleeroyale Thanks for your effort so far. If you have prepared a safe server, I can work on make it run on that and solve issues. Wdyt?
Do you have any update on this @aminlatifi - do you need support?
@jainkrati This issue seems to be stuck because the deployment is totally outdated at this point. I was not able to correctly install and it seems like @aminlatifi also got stuck at some point.
My suggestion is to factor out givfarm-notify
into its own repo and separate deployment
@jainkrati This issue seems to be stuck because the deployment is totally outdated at this point. I was not able to correctly install and it seems like @aminlatifi also got stuck at some point.
My suggestion is to factor out
givfarm-notify
into its own repo and separate deployment
@geleeroyale Do we have a source document to tell us what is deployed where? If we have it, it would be super helpful since by looking at that we can better decide what must be deployed where.
@jainkrati This issue seems to be stuck because the deployment is totally outdated at this point. I was not able to correctly install and it seems like @aminlatifi also got stuck at some point.
My suggestion is to factor out
givfarm-notify
into its own repo and separate deployment
@geleeroyale Can you give me access to new server then I can deploy notify reward bot there
FYI @aminlatifi
Access to server has been granted, please give an update on this @mohammadranjbarz
@mohammadranjbarz Did you manage to deploy notify reward on the services instance?
The server we run the farming notify reward bot on runs with an obsolete OS version. It may have security vulnerabilities itself and also doesn't allow us to run updated versions of node.js. As we have to run our scripts with node v14 which is too old.
The server OS must be upgraded for its own security and won't be a blocker in the future for further development.