![]() RUN chown www-data.www-data -R /var/log/aria2c /var/local/aria2c RUN apt-get install -y aria2 curl php-curl python-pip ![]() It looks like this FROM ownyourbits/nextcloudpi-armhf:latest ![]() What I’ve tried is to create a Dockerfile which includes aria2c but that does not work. 02:00:01.205429 IPv6 RPC: failed to bind TCP port 6800Įxception: errorCode=1 Failed to bind a socket, cause: Name or service not known It is extremely recommended to specify -rpc-secret with the adequate secrecy or now deprecated -rpc-user and -rpc-passwd. Make sure the Neither -rpc-secret nor a combination of -rpc-user and -rpc-passwd is set. Inside the script adjust your LOG file locationĪfter re-reading the post I will add some more LOOKOUTSĭo not run aria2c as ROOT user if you ever do remove any file made by aria2c or it cannot write to the necessary files when you try to run is as USER or www-data in my case. Inside the directory /etc/aria2/ the script is aria-daemon.sh owner/group = root:owner/group www-data:www-data permission 640 The script is saved in /etc/aria2/ owner/group = root:www-data permission 770 Aria2c WebGUI requires port 6800 to be open for WorldWideAccess Aria2c Nextcloud only runs localy no password l ' #!/bin/bash filesource: /etc/aria2/aria-daemon.sh Run Aria2c as WebGUI or as Nextcloud Daemon. I am not very skilled but to make myself simple I made a bash script for testing. Sudo -u -save-session=/etc/aria2/ssion -save-session-interval=2 -input-file=/etc/aria2/ssion -rpc-save-upload-metadata=true -force-save=true 23:41: 59.492392 exception DetectedĮxception: errorCode=1 failed to configure the RPC server.įor the OCDownloader to work I run the following after creating the directory /etc/aria2 For Nextcloud copy this 23:41: 59.491942 IPv4 RPC: could not bind TCP port 6800Įxception: errorCode=1 socket initialization Error, cause: address is already in use It is highly recommended that you specify -rpc-secret with sufficient secrecy or it is now obsolete -RPC-user and -RPC-passwd. 23:41: 59.490833 neither -RPC-secret nor combination -rpc-user and -RPC-passwd are installed. How to disable ROOT and enable in the ADMIN do not understand. An error occurs when starting from the ADMIN user. ![]() Run it using “sudo-u I need ADMIN rights on the files. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |