TelegramApiServer icon indicating copy to clipboard operation
TelegramApiServer copied to clipboard

The first step is to set the session

Open lambq opened this issue 1 year ago • 2 comments

Warning: file_put_contents(sessions/users/(.settings.json): Failed to open stream: No such file or directory in /app-host-link/src/Files.php on line 77

http://:9503/system/saveSessionSettings?session=users/&settings[app_info][app_id]=&settings[app_info][app_hash]=

lambq avatar Jan 20 '24 02:01 lambq

Please provide settings in .env.docker file. If you need multiple accounts, then i recommend to create multiple containers via docker-compose.override.yml. You will need to provide different session names and ports. Optionally you can provide different path to .env.docker in arguments "command". Check README for additional info.

xtrime-ru avatar Jan 20 '24 14:01 xtrime-ru

Also you can manually put settings.json in session folder, but its schema can be complicated and its easy to make mistake.

xtrime-ru avatar Jan 20 '24 14:01 xtrime-ru