xtrime-ru / TelegramApiServer

Fast, simple, async php telegram api server: MadelineProto + Amp HTTP Server
https://tg.i-c-a.su
MIT License
529 stars 116 forks source link

[ISSUE/BUG] Docker-Container: Permission denied #130

Closed 0n1cOn3 closed 11 months ago

0n1cOn3 commented 1 year ago

Environment

Docker: Docker version 20.10.23, build %{shortcommit_cli}

Docker-Compose: docker-compose version 1.29.2, build unknown

System

Fedora Server 38

Image Version

xtrime/telegram-api-server:latest

Describe the problem

I followed the Authorization guide until step 3 came in. I get from the container this issue shown:

[Folder:] TelegramApiServer$ sudo docker-compose run --rm api Starting telegramapiserver_mysql_1 ... done Creating telegramapiserver_api_run ... done [FATAL tini (7)] exec ./entrypoint.sh failed: Permission denied ERROR: 126

Additional info

None

xtrime-ru commented 1 year ago

Hi! Who is owner of TelegramApiServer folder and its contents? Whats are permissions? Run ls -la

if there is not enough execution permission try this: https://stackoverflow.com/questions/56301576/permission-denied-docker-entrypoint-sh