UsergeTeam / Userge

Userge, Durable as a Serge
https://userge.tech
GNU General Public License v3.0
677 stars 2.02k forks source link

bot broken after latest dockerfile update #382

Closed sadequzv710 closed 2 years ago

sadequzv710 commented 3 years ago

Hi. i deployed the bot 3 days ago and everything was fine.but after the latest dockerfile update bot cant run and gets error at start :

->- ->- ->- ->- ->- ->- ->- --- -<- -<- -<- -<- -<- -<- -<-

     ________            __  __               ______
    /_  __/ /_  ___     / / / /_______  _____/ ____/__
     / / / __ \/ _ \   / / / / ___/ _ \/ ___/ / __/ _ \
    / / / / / /  __/  / /_/ (__  )  __/ /  / /_/ /  __/
   /_/ /_/ /_/\___/   \____/____/\___/_/   \____/\___/

->- ->- ->- ->- ->- ->- ->- --- -<- -<- -<- -<- -<- -<- -<-
[15-Sep-21 11:41:03 - INFO] - init - Checking Bash Commands ...
[15-Sep-21 11:41:03 - INFO] - init - Checking Python Version ...
[15-Sep-21 11:41:03 - INFO] - init -    Found PYTHON - v3.9.7 ...
[15-Sep-21 11:41:03 - INFO] - init - Checking Config File ...
[15-Sep-21 11:41:03 - INFO] - init - Checking Required ENV Vars ...
[15-Sep-21 11:41:03 - INFO] - init -    :: ERROR :: Required API_ID var !
Exiting With SIGTERM (143) ...
->- ->- ->- ->- ->- ->- ->- --- -<- -<- -<- -<- -<- -<- -<-

then replaced the previous dockerfile and it runs again.

rking32 commented 3 years ago

missing API_ID var. so filling that var properly will solve this case.

jigarvarma2k20 commented 3 years ago

missing API_ID var. so filling that var properly will solve this case.

Close it wen?

sadequzv710 commented 3 years ago

missing API_ID var. so filling that var properly will solve this case.

i have replaced api and all env. just deployed now again. same problem.

the latest Dockerfile has problem. when i use the Dockerfile before september 12 it runs again.

thank you.

rking32 commented 3 years ago

its weird

jigarvarma2k20 commented 2 years ago

why this error comes🤔

jigarvarma2k20 commented 2 years ago

why not adding

COPY . .

instead this

tomyprs commented 2 years ago

remove all "" in config.env better to use config.yml

tomyprs commented 2 years ago

why not adding

COPY . .

instead this

In few moments ago, it's causing update error

jigarvarma2k20 commented 2 years ago

why not adding

COPY . .

instead this

In few moments ago, it's causing update error

ookh

rking32 commented 2 years ago

Railway doesn't provide any free plans now r8? So reverting the Dockerfile. Thanks, @Jigarvarma2005 for your idea.