-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
Comments
Hi @mobilelifeful , because you have mounted your own configurations via |
app/conf/aria2.conf is not found. but /root/.config/rclone has rclone config file there. 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) |
Please feel free to raise any PRs to make this project better
…On Wed, 27 Sep 2023 at 9:26 pm, mobilelifeful ***@***.***> wrote:
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)
—
Reply to this email directly, view it on GitHub
<#240 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGMHYGSG66JM5TJRYLQD53X4QEOZANCNFSM6AAAAAA5HMI7DQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hello, To add to this issue more context, this error is raised only when you set RPC_SECRET. After a bit more digging, looks like the RPC_SECRET needs to not be too long, it fails with the conf not found error if it's too long. |
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
The text was updated successfully, but these errors were encountered: