MrBrax / LiveStreamDVR

An automatic livestream recorder
MIT License
309 stars 24 forks source link

Cannot Connect to Application #464

Closed Serph91P closed 9 months ago

Serph91P commented 9 months ago

Moved to a new system and copied everything with rsync.

Now the docker starts and everything seems to be fine. But I cannot access the web interface. It always says 502. Just tried to delete everything and run it, still the same. The Docker does not need any env besides port, network access and the data folder or? Log is attached:


26.09.2023
11:24:37
Initialising...
26.09.2023
11:24:37
Environment: undefined
26.09.2023
11:24:37
Running as user undefined
26.09.2023
11:24:37
AppRoot: /usr/local/share/twitchautomator
26.09.2023
11:24:37
DataRoot: /usr/local/share/twitchautomator/data
26.09.2023
11:24:37
Setting debug to false
26.09.2023
11:24:37
Client is built: /usr/local/share/twitchautomator/client-vue/dist/index.html
26.09.2023
11:24:37
Chat dumper is built: /usr/local/share/twitchautomator/twitch-chat-dumper/build/index.js
26.09.2023
11:24:37
Folder '/usr/local/share/twitchautomator/public' does not exist, creating.
26.09.2023
11:24:37
Created folder: /usr/local/share/twitchautomator/public
26.09.2023
11:24:37
Data folder '/usr/local/share/twitchautomator/data/logs/software' does not exist, creating.
26.09.2023
11:24:37
Created data folder: /usr/local/share/twitchautomator/data/logs/software
26.09.2023
11:24:37
Data folder '/usr/local/share/twitchautomator/data/payloads' does not exist, creating.
26.09.2023
11:24:37
Created data folder: /usr/local/share/twitchautomator/data/payloads
26.09.2023
11:24:37
Data folder '/usr/local/share/twitchautomator/data/backup' does not exist, creating.
26.09.2023
11:24:37
Created data folder: /usr/local/share/twitchautomator/data/backup
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/cron' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/cron
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/pids' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/pids
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/playlist' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/playlist
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/kv' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/kv
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/history' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/history
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/dotnet' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/dotnet
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/capture' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/capture
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/public' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/public
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/public/avatars' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/public/avatars
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/public/banners' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/public/banners
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/public/thumbs' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/public/thumbs
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/public/covers' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/public/covers
26.09.2023
11:24:37
Loading key-value pairs...
26.09.2023
11:24:37
No key-value pairs found in storage.
26.09.2023
11:24:37
Migrating key-value pairs...
26.09.2023
11:24:37
No key-value pairs found to migrate.
26.09.2023
11:24:37
2023-09-26T09:24:37.173Z | keyvalue.cleanWildcard <warn> No keys deleted for wildcard tw.eventsub.*
26.09.2023
11:24:37
Loading config...
26.09.2023
11:24:37
✔ 85 settings loaded.
26.09.2023
11:24:37
2023-09-26T09:24:37.176Z | config.cfg <warn> Setting 'bin_path_python' does not exist.
26.09.2023
11:24:37
Setting 'bin_path_python' does not exist.
26.09.2023
11:24:37
Overriding setting 'BIN_PATH_PYTHON' with environment variable: '/usr/bin/python'
26.09.2023
11:24:37
Overriding setting 'NODE_PATH' with environment variable: '/usr/local/bin/node'
26.09.2023
11:24:37
Overriding setting 'BIN_DIR' with environment variable: '/usr/local/bin'
26.09.2023
11:24:37
2023-09-26T09:24:37.183Z | config.cfg <warn> Setting 'bin_path_python3' does not exist.
26.09.2023
11:24:37
Setting 'bin_path_python3' does not exist.
26.09.2023
11:24:37
Overriding setting 'BIN_PATH_PYTHON3' with environment variable: '/usr/bin/python3'
26.09.2023
11:24:37
Overriding setting 'SERVER_PORT' with environment variable: '8080'
26.09.2023
11:24:37
Overriding setting 'MEDIAINFO_PATH' with environment variable: '/usr/bin/mediainfo'
26.09.2023
11:24:37
2023-09-26T09:24:37.184Z | config.cfg <warn> Setting 'python_enable_pipenv' does not exist.
26.09.2023
11:24:37
Setting 'python_enable_pipenv' does not exist.
26.09.2023
11:24:37
Overriding setting 'PYTHON_ENABLE_PIPENV' with environment variable: '1'
26.09.2023
11:24:37
2023-09-26T09:24:37.184Z | config.cfg <warn> Setting 'docker' does not exist.
26.09.2023
11:24:37
Setting 'docker' does not exist.
26.09.2023
11:24:37
Overriding setting 'DOCKER' with environment variable: '1'
26.09.2023
11:24:37
Overriding setting 'FFMPEG_PATH' with environment variable: '/usr/bin/ffmpeg'
26.09.2023
11:24:37
Overriding setting 'TWITCHDOWNLOADER_PATH' with environment variable: '/usr/local/bin/TwitchDownloaderCLI'
26.09.2023
11:24:37
Overriding setting 'WEBSOCKET_ENABLED' with environment variable: 'true'
26.09.2023
11:24:37
Language changed to en
26.09.2023
11:24:37
2023-09-26T09:24:37.185Z | YouTubeHelper.setupClient <warn> No client_id or client_secret set up. YouTube uploads will not work.
26.09.2023
11:24:37
2023-09-26T09:24:37.186Z | tw.helper.setupAxios <info> Setting up axios...
26.09.2023
11:24:37
API client id not set, can't setup axios
26.09.2023
11:24:37
2023-09-26T09:24:37.189Z | dvr.init <success> The time is 2023-09-26T09:24:37.187Z. Current topside temperature is 93 degrees, with an estimated high of one hundred and five. The Black Mesa compound is maintained at a pleasant 68 degrees at all times.
26.09.2023
11:24:37
2023-09-26T09:24:37.237Z | helper.execSimple <info> Process 45 for 'git hash check' exited with code 128
26.09.2023
11:24:37
2023-09-26T09:24:37.238Z | config.getGitHash <warn> Could not fetch git hash
26.09.2023
11:24:37
2023-09-26T09:24:37.250Z | helper.execSimple <info> Process 46 for 'git branch check' exited with code 128
26.09.2023
11:24:37
2023-09-26T09:24:37.251Z | config.getGitBranch <warn> Could not fetch git branch
26.09.2023
11:24:37
2023-09-26T09:24:37.252Z | game.populateFavouriteGames <info> Populating favourite games...
26.09.2023
11:24:37
2023-09-26T09:24:37.253Z | game.populateFavouriteGames <info> Favourite games populated with 0 games.
26.09.2023
11:24:37
2023-09-26T09:24:37.255Z | dvr.loadChannels <info> Loading channels...
26.09.2023
11:24:37
2023-09-26T09:24:37.255Z | dvr.loadChannels <success> Loaded 0 channels!
26.09.2023
11:24:37
2023-09-26T09:24:37.256Z | job.loadJobsFromCache <info> Loaded 0 jobs from cache
26.09.2023
11:24:37
2023-09-26T09:24:37.258Z | scheduler.defaultJobs <info> Set up default jobs
26.09.2023
11:24:37
2023-09-26T09:24:37.290Z | scheduler.schedule <info> Scheduled job 'check_muted_vods' with cronTime '0 */12 * * *'
26.09.2023
11:24:37
2023-09-26T09:24:37.291Z | scheduler.schedule <info> Scheduled job 'check_deleted_vods' with cronTime '10 */12 * * *'
26.09.2023
11:24:37
2023-09-26T09:24:37.293Z | scheduler.schedule <info> Scheduled job 'match_vods' with cronTime '30 */12 * * *'
26.09.2023
11:24:37
2023-09-26T09:24:37.293Z | scheduler.schedule <info> Scheduled job 'clipdownload' with cronTime '0 0 * * *'
26.09.2023
11:24:37
2023-09-26T09:24:37.295Z | scheduler.schedule <info> Scheduled job 'validate_oauth' with cronTime '0 */1 * * *'
26.09.2023
11:24:37
2023-09-26T09:24:37.295Z | scheduler.schedule <info> Scheduled job 'export_vods' with cronTime '0 1 * * *'
26.09.2023
11:24:37
2023-09-26T09:24:37.295Z | scheduler.defaultJobs <info> Default job 'check_muted_vods' enabled
26.09.2023
11:24:37
2023-09-26T09:24:37.296Z | scheduler.defaultJobs <info> Default job 'check_deleted_vods' enabled
26.09.2023
11:24:37
2023-09-26T09:24:37.296Z | scheduler.defaultJobs <info> Default job 'match_vods' disabled
26.09.2023
11:24:37
2023-09-26T09:24:37.296Z | scheduler.defaultJobs <info> Default job 'clipdownload' disabled
26.09.2023
11:24:37
2023-09-26T09:24:37.296Z | scheduler.defaultJobs <info> Default job 'export_vods' disabled
26.09.2023
11:24:37
2023-09-26T09:24:37.296Z | tw.helper <info> Eventsub is not using websocket
26.09.2023
11:24:37
2023-09-26T09:24:37.467Z | dvr.venvcheck <info> Checking python virtual environment...
26.09.2023
11:24:37
2023-09-26T09:24:37.950Z | helper.execSimple <info> Process 48 for 'pipenv --venv' exited with code 0
26.09.2023
11:24:37
2023-09-26T09:24:37.950Z | dvr.venvcheck <info> Updating python virtual environment path in config.
26.09.2023
11:24:37
2023-09-26T09:24:37.951Z | config.saveConfig <success> Saved config from unknown
26.09.2023
11:24:37
Setting debug to false
26.09.2023
11:24:37
2023-09-26T09:24:37.951Z | dvr.venvcheck <info> Python virtual environment path: /home/node/.local/share/virtualenvs/twitchautomator-rNbiFSV2
26.09.2023
11:24:37
2023-09-26T09:24:37.952Z | dvr.bincheck <info> Checking binary versions...
26.09.2023
11:24:38
2023-09-26T09:24:38.751Z | helper.execSimple <info> Process 50 for 'about binary check' exited with code 0
26.09.2023
11:24:38
2023-09-26T09:24:38.753Z | dvr.checkBinaryVersions <info> Pip package streamlink version: 6.1.0
26.09.2023
11:24:38
2023-09-26T09:24:38.753Z | dvr.init <success> Loading config stuff done.
26.09.2023
11:24:38
2023-09-26T09:24:38.760Z | clientBroker.attach <info> Attaching WebSocket server to broker...
26.09.2023
11:24:38
🥞 LiveStreamDVR listening on port 8080, mode undefined. Base path: / 🥞
26.09.2023
11:24:38
Local: http://localhost:8080
26.09.2023
11:24:38
Public: undefined
26.09.2023
11:24:38
Type: Compiled JavaScript
26.09.2023
11:24:38
Build date: 9/5/2023, 1:44:48 PM (server.js)
26.09.2023
11:24:38
Version: 1.6.2 running on node v19.9.0 linux 🦄
26.09.2023
11:24:38
Debug: false
26.09.2023
11:24:38
Build: Local
26.09.2023
11:24:38
2023-09-26T09:24:38.763Z | clientBroker.attach <info> Client broker now attached to websocket.
MrBrax commented 9 months ago

the fact that it says 502 means there's a reply from somewhere, i'm not sure if i ever used that code myself. is it a reverse proxy?

Serph91P commented 9 months ago

the fact that it says 502 means there's a reply from somewhere, i'm not sure if i ever used that code myself. is it a reverse proxy?

it came directly from the application you now a popup. Fixed it I guess except it does not read the config in the config folder :D

Used the stock compose file you provided in the readme.

Serph91P commented 9 months ago

the fact that it says 502 means there's a reply from somewhere, i'm not sure if i ever used that code myself. is it a reverse proxy?

Iam stupid. I renamed the config file to test if it was the config.

Serph91P commented 9 months ago

the fact that it says 502 means there's a reply from somewhere, i'm not sure if i ever used that code myself. is it a reverse proxy?

ok now the error came back :D
AxiosError: Request failed with status code 502

Serph91P commented 9 months ago

the fact that it says 502 means there's a reply from somewhere, i'm not sure if i ever used that code myself. is it a reverse proxy?

ok now the error came back :D AxiosError: Request failed with status code 502

after waiting quite some time I could login.