This article was last revised 310 days ago, and some of the information may be outdated.If you need to update urgently, please leave a message in the comment area below.
Please note that!This article is outdated and is only for deployment reference.It is only applicable to the deployment introduction of AutoBangumi 2.6 and earlier versions, and will not be updated.
The following is YiquhuiDSM 7.1-42661 Update 1For example, the system uses the Docker suite to install AutoBangumi.
Install qBittorrent
To facilitate debugging and subsequent use, it is recommended to install a separate qBittorrent for AutoBangumi.
Search "johngong/qbittorrent" in the "registry" to download the latestlatestedition.
After downloading the image, double-click the image to install it.
Select "bridge" for network settings, or select "Use the same network as the Docker Host", so that the defaulteight thousand nine hundred and eighty-ninePort.
Rename the container name, such as "qb";Check "Enable automatic restart" to automatically start qb after restarting the nas;Check "Use high permissions", which will enable the container to have DSM root identity permissions and all functions in the execution phase, so as to avoid the failure to download.
Then click Advanced Settings
If you want toCustom Port, need to be modified hereQB_WEBUI_PORTThe value of is consistent with the port number you want.IfUnable to download(no read/write permission), you canUIDandGIDAll changed tozero。
Others can be left as default.
Only one port can be reservedeight thousand nine hundred and eighty-nine, just expose the web UI.
In storage space setting, mapping is requiredconfigandDownloadsfolder.The former stores the qBittorent configuration information, and the latter is the download folder.Remember to map the downloaded folder, or the downloaded file will not be found.
Follow up to configure theAB_DOWNLOAD_PATHFor one item,valuePlease fill in the form ofMount Path。
Then enable it.Then test the connection. The address is: ip: 8989
Installing AutoBangumi
The installation steps are basically the same as those in the previous section.
Search the Registry for "estrellaxd/auto_bangumi". If you can't find it, you can try to use "estrellaxd" or "auto_bangumi" instead,Do not copy and paste directly, manually enter the search instead.
Download the latestlatestVersion, which will be enabled after downloading.Select "bridge" for network settings, check "Enable automatic restart", and then click "Advanced settings".
Click the Add button to fill in new variables in turn,Please choose according to the actual situation。
variable
value
AB_DOWNLOADER_HOST
Please fill in your own qbit torrent link, such as 192.168.123.1:8989
AB_DOWNLOADER_USERNAME
Your qbittorrent user name, such as admin
AB_DOWNLOADER_PASSWORD
Your qbittorrent password, such as adminadmin
AB_INTERVAL_TIME
one thousand and eight hundred
AB_METHOD
Advance
AB_GROUP_TAG
True
AB_NOT_CONTAIN
seven hundred and twenty
AB_DOWNLOAD_PATH
Please fill in the download path you set, such as/Downloads/Bangumi, or/Downloads
AB_RSS
Fill in your mandarin RSS subscription link
AB_DEBUG_MODE
False
AB_WEBUI_PORT
seven thousand eight hundred and ninety-two
AB_EP_COMPLETE
True
AB_RENAME
True
AB_ENABLE_TMDB
True
AB_LANGUAGE
zh
AB_HTTP_PROXY
such as127.0.0.1:2333Please don't fill in this line if you don't know what it is
For the storage space setting, refer to the steps in the previous section qBittorrent, mapping/configfolder.
Note that the loading path should not be written incorrectly/autobangumi。
Then enable it. If all goes well, select the AutoBangumi container and click Details.
Click Log, and the following log output should be available:
If you want to test,environmentUnder the item, each environment variable should not be left blank, and unused variables should be deleted completely.In general, it means deleting a whole line,=The following cannot be empty.
Take a chestnut, if you don't want to use itAB_NOT_CONTAIN, you can add one at the beginning#notesoneDrop this line.
AutoBangumi:image: estrellaxd/auto_bangumi:latest- TZ=Asia/ShanghaiOmit here#- AB_NOT_CONTAIN=720 | Traditional | CHT | JPTC | Traditional | BIG5restart: unless-stopped
Update qBittorrent/AutoBangumi
If the container image is updated, first download the latestlatestedition.
Stop ContainerRight click the container → Operation → Reset → Select Yes. After resetting, start the container again to complete the update.
Installing with Docker Cli
If you want to reinstall so many environment variables, it is a troublesome process to fill in them repeatedly. So you can try to use Docker Cli to install them.
First, you need to open thesshFunction, settingrootUsers.Please search and learn by yourself. I won't repeat it here.
Open Windows terminal, use ssh to connect to nas, and entersudo -iSwitch torootUser, fill in the following command:
initial --name=ABIs the container name, please setABChange it to the name you want
-eIs the environment variable, and the following\It means line break. This character is required for every line except the last line.Please ensure\Space between and variable name
AB_NOT_CONTAINA result of|The symbol cannot be used. You need to add a backslash before it\, i.e\|
-vTo mount a directory, please create a folder to mount to nas in advance,/volume1/docker/ABIt is a folder in the nas, which can be set at will;/configIt is a folder in the ab container and cannot be customized
Please choose the specific environment variables by yourself. If you need to add other variables, you can modify them by referring to the existing variables.
How do I "map" paths/folders?
For students who are not clear about Docker, "mapping" is a rather obscure thing.
Here is a brief explanation based on my own understanding. It may not be 100% correct, but I'm sure I can understand it.
Because each Docker container is an independent virtual machine, and virtual machines cannot access each other.Therefore, if you want the Docker container to accessExternal data, you need to set the external folder or filemount Into the container.
If two containers need to access a folder that has been mounted locally, the environment variable should also be filled inInside the containerThe file path of.You can put the local/Media/AnimeMounted inside the container/Downloads/Bangumi, or any other name.
Take a gravel.
In the glow, on the leftFiles/Foldersrefer toLocal path, rightMount Pathrefer toPath inside the container。
Therefore, the path filled in AutoBangumi should beInside the containerOf/Downloads/Bangumi。
Webui cannot be used
Only older users of earlier versions may experience this problem.
Recently AutoBangumi added an API function for bug testing, which needs to be releasedseven thousand eight hundred and ninety-twoPort.But I can't use it.Execute the test command on the computer terminal according to the instructions of the official wikicurl hostip:7892/api/v1/log, such as:
curl http://192.168.0.46:7892/api/v1/log
Normally, the following contents should be returned:
$ curl http://192.168.0.46:7892/api/v1/logcurl: (7) Failed to connect to 192.168.0.46 port 7892 after 2041 ms: Connection refused
At first, I thought that the port was not released, and even tried to scan the port.Finally, it is found that the author modified the AutoBangumi startup command
This is an overview of AutoBangumi in the early Qunhui container:
The solution is simple:Delete the container completely and recreate it。Remember to add relevant configurations in the environment variables and release the corresponding ports.
use
For details, please refer to the official wiki "environment variable"Section is no longer available here.
Deployment related
AB_DOWNLOADER_HOST: You need to fill in the webui link of qBittorent.Fill in if it is on the intranetLocalhost: portor127.0.0.1: portIf there is an Internet/public network, you can bind the domain name and fill in the domain name address directly
AB_DOWNLOADER_USERNAME: is the webui user name of qBittorrent. The default isadmin
AB_DOWNLOADER_PASSWORDIt is the webui password of qBittorrent. The default isadminadmin
If there is a need to change the qBittorrent user name and password, the AutoBangumi settings must be modified at the same time after modification
AB_DOWNLOAD_PATH: You need to fill in the path in qBittorent, not the real path.as/Downloadsor/Downloads/Bangumi
AB_RSS: You need to fill in your own mandarin plan RSS subscription link
AB_NOT_CONTAIN: This is an option to set the qBittorrent subscription rules. It supports the use of regular rules.I won't be regular, but|It means "and".If advanced subscription is not enabled in the mandarin planAB_NOT_CONTAIN=720 | Traditional | CHT | JPTC | TraditionalIt can basically eliminate most traditional subtitles.
AB_GROUP_TAG: Whether to add the group name in the download rule for easy viewing.The RSS subscription rule is[Group Name] Rule Name, closed[Rule Name]
The series number does not correspond to the TMDB
For example, this July's new "Rented Girlfriend 2" is officially named after the previous season, but TMDB distinguishes it from the first season - which is true.In a word, the problem that the 13th statement corresponds to the 1st statement in the second quarter arises.
This is also the problem for Gu Jian, a classmate of last quarter.
Then, before the formal solution is introduced by ab, here is a laborious temporary solution: modify the seed name directly.
Because the ab renaming file is to read the seed file name, you can start in this area.
Right click the seed and select RenamethirteenChange to01OK.
Do the same for others. Don't rename them incorrectly.Then wait for ab to rename the file for you.
Copyright notice:Unless otherwise stated, all articles are my own creation. Please contact the author for reprinting and quotation, and indicate the source (author, original link, etc.).
• Please fill in the real email when commenting so that you can receive the reply reminder. • Initial comments need to be reviewed, and comments irrelevant to the article should be posted on the message page.