wy580477 / Leech-AIO-APP-EX

All Downloaders with Rclone auto-upload & Telegram notification on Docker | Docker 全能下载 APP + Rclone 自动上传 + 电报任务完成通知
189 stars 186 forks source link

Some help needed #27

Closed AmirulAndalib closed 1 year ago

AmirulAndalib commented 2 years ago

Hi there

First of all thanks to your wonderful repo

I was trying to deploy on github actions using localtunnel and docker But I am facing some problems can you help me Deploy it to github actions

Thank you

Logs here

https://github.com/AmirulAndalib/botflow/runs/6913083114?check_suite_focus=true

wy580477 commented 2 years ago

Did a quick look.

The main branch needs proper config vars to work, see app.json in repo. Also you need to set "PORT" env to your tunnel internal forward port.

I think using Colab branch is the easier way, this branch can directly run on ubuntu and it includes Cloudflared tunnel script.

After git clone, copy everything under content folder to /workdir, then run following commands:

echo GLOBAL_LANGUAGE=en >/etc/env
# Change to Enable if you want to install pyLoad
echo PYLOAD_INSTALL=Disable >>/etc/env
sed -i $'s/\r$//' /workdir/install.sh
bash /workdir/install.sh
# Run Cloudflared tunnel
/workdir/cloudflared.sh

Downside: backup config files to google drive won't work, you need to write your own backup solution if you want to keep your config files between runs.

AmirulAndalib commented 2 years ago

Ok so I apparently tried the docker branch but I am facing an error

allinone | ./run: source: line 7: can't open '/mnt/data/config/rclone_options.conf': No such file or directory

Screenshot_20220616-155530

Repo I used (personal) https://github.com/AmirulAndalib/Leech-AIO-APP-EX/blob/docker/docker-compose.yml

wy580477 commented 2 years ago

Ok so I apparently tried the docker branch but I am facing an error

This a minor error which shouldn't cause troubles.

AmirulAndalib commented 2 years ago

Now I am getting no lodaing on the page

https://couchpotato69.loca.lt

Please help me

Main repo

https://github.com/AmirulAndalib/Leech-AIO-APP-EX/blob/docker/docker-compose.yml

AmirulAndalib commented 2 years ago

Localtunnel is routing port 8080 currently

AmirulAndalib commented 2 years ago

Even after setting port 443 in secrets it's showing error

Client sent an HTTP request to an HTTPS server.

wy580477 commented 2 years ago

Even after setting port 443 in secrets it's showing error

Client sent an HTTP request to an HTTPS server.

You should set CADDY_DOMAIN to 'http://localhost', CADDY_WEB_PORT to 8080. Then let your tunnel route traffic to 8080.

AmirulAndalib commented 2 years ago

Even after setting port 443 in secrets it's showing error Client sent an HTTP request to an HTTPS server.

You should set CADDY_DOMAIN to 'http://localhost', CADDY_WEB_PORT to 8080. Then let your tunnel route traffic to 8080.

Doesnt still work now shows white blank page

https://github.com/AmirulAndalib/botflow/runs/6950031060?check_suite_focus=true

https://couchpotato69.loca.lt

wy580477 commented 2 years ago

Doesnt still work now shows white blank page

It’s working,you forgot to add portal path.

AmirulAndalib commented 2 years ago

Doesnt still work now shows white blank page

It’s working,you forgot to add portal path.

Screenshot_20220619-122800~2 Screenshot_20220619-122642 Screenshot_20220619-122646

Btw /portal is missing

AmirulAndalib commented 2 years ago

No reply

AmirulAndalib commented 2 years ago

@wy580477 my heroku settings being deleted after reboot

wy580477 commented 2 years ago

@wy580477 my heroku settings being deleted after reboot

There was a Cloudflare outrage. Currently if app fails to get backup data from CF, it will overwrite KV data with default config.

This certainly needs improvement. I haven't thought out a way yet.