Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration file /app/conf/aria2.conf is not found. #240

Open
mobilelifeful opened this issue Sep 26, 2023 · 3 comments
Open

Configuration file /app/conf/aria2.conf is not found. #240

mobilelifeful opened this issue Sep 26, 2023 · 3 comments

Comments

@mobilelifeful
Copy link

Please try to use English to describe your question or issue.

root@localhost:/# docker run -d --name ariang -p 80:80 -p 443:443 -e PUID=1000 -e PGID=1000 -e ENABLE_AUTH=true -e RPC_SECRET=Hello -e DOMAIN=https://xxxxxxx.com -e ARIA2_SSL=false -e ARIA2_USER=user -e ARIA2_PWD=password -e ARIA2_EXTERNAL_PORT=443 -e CADDY_LOG_LEVEL=ERROR -v /yourdata:/data -v /app/.cache:/app/.cache -v /to_yoursslkeys/:/app/conf/key -v /root/.config/rclone:/app/conf wahyd4/aria2-ui
5ec979bcdc54c12d36421a08424cd7f031d33597f7758a6130f936a0c3502fa9
root@racknerd-1add90:/# docker logs ariang
[INFO] Update uid and gid to 1000:1000
usermod: no changes
[INFO] Run chown against app related folders and user 1000
[INFO] Give caddy permissions to use low ports
forego | starting caddy.1 on port 5000
forego | starting filebrowser.1 on port 5100
forego | starting aria2c.1 on port 5300
forego | starting rclone.1 on port 5600
forego | starting newer_version_checker.1 on port 6000
caddy.1 | [INFO] Run aria2c and ariaNG
caddy.1 | [INFO] Generate basic auth password for caddy
rclone.1 | [INFO] Start Rclone, please make sure you can connect to Github website. if not, please set docker env ENABLE_RCLONE=false
aria2c.1 | [INFO] Start aria2 with rpc-secret
filebrowser.1 | 2023/09/26 09:10:37 No config file used
aria2c.1 | Configuration file /app/conf/aria2.conf is not found.
aria2c.1 | Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
aria2c.1 | Printing options tagged with '#help'.
aria2c.1 | See 'aria2c -h#help' to know all available tags.
aria2c.1 | Options:
aria2c.1 | -h, --help[=TAG|KEYWORD] Print usage and exit.
aria2c.1 | The help messages are classified with tags. A tag
aria2c.1 | starts with "#". For example, type "--help=#http"
aria2c.1 | to get the usage for the options tagged with
aria2c.1 | "#http". If non-tag word is given, print the usage
aria2c.1 | for the options whose name includes that word.
aria2c.1 |
aria2c.1 | Possible Values: #basic, #advanced, #http, #https, #ftp, #metalink, #bittorrent, #cookie, #hook, #file, #rpc, #checksum, #experimental, #deprecated, #help, #all
aria2c.1 | Default: #basic
aria2c.1 | Tags: #basic, #help
aria2c.1 |
aria2c.1 | Refer to man page for more information.
forego | sending SIGTERM to caddy.1
forego | sending SIGTERM to newer_version_checker.1
forego | sending SIGTERM to rclone.1
forego | sending SIGTERM to filebrowser.1

@wahyd4
Copy link
Owner

wahyd4 commented Sep 27, 2023

Hi @mobilelifeful , because you have mounted your own configurations via -v /root/.config/rclone:/app/conf, which means you need to make sure those files exist in your folder /root/.config/rclone
please check here for more details

@mobilelifeful
Copy link
Author

app/conf/aria2.conf is not found. but /root/.config/rclone has rclone config file there.
but the command

docker run -d --name ariang -p 80:80 -p 443:443 -e PUID=1000 -e PGID=1000 -e ENABLE_AUTH=true -e RPC_SECRET=Hello -e DOMAIN=https://xxxxxxx.com/ -e ARIA2_SSL=false -e ARIA2_USER=user -e ARIA2_PWD=password -e ARIA2_EXTERNAL_PORT=443 -e CADDY_LOG_LEVEL=ERROR -v /yourdata:/data -v /app/.cache:/app/.cache -v /to_yoursslkeys/:/app/conf/key -v /root/.config/rclone:/app/conf wahyd4/aria2-ui

didn't ask/set to config aria2 config file (should have made the issue more clear)

@wahyd4
Copy link
Owner

wahyd4 commented Sep 27, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants