AceBurn90 Posted September 23, 2023 Share Posted September 23, 2023 (edited) Hello my dear Unraid friends, I am in the process of creating the settings of a Docker container based on frosty5689's template. Template: https://hub.docker.com/r/frosty5689/hath My knowledge level: I am working in IT but am not a developer and have little experience with Docker. I have only used templates and at best adjusted some values and created shares. Actual state: - Repository: frosty5689/hath:latest - Network Type: Bridge - Nothing is entered in Extra Parameters & Post Arguments - The share is created: mnt/user/hath - The folders are created in the share: data, cache, download, log, temp - Port TCP 443 is enabled in the firewall (the tool currently works on a Windows machine) If I have forgotten something important, please notify me. My question: 1a. How exactly do I enter the values correctly, which I have specified in the given URL? 1b. How wrongly/correctly have I made the indications which are to be seen in the screenshot? 2. what else do I need to do to make the container work? 3. can you give me good tutorials that will gradually introduce me to Docker? Gladly videos but texts are also welcome. Thank you for your help Screenshots: Spoiler Edited September 23, 2023 by AceBurn90 Quote Link to comment
Squid Posted September 23, 2023 Share Posted September 23, 2023 You don't need the "-e " in any of those variables. It's implied already since you're creating a variable and what you're do is creating a variable named "-e variablename" instead of "variablename" Unless you're running the container on its own dedicated IP address (network: br0) then the host port you've specified of 443 is already in use Quote Link to comment
AceBurn90 Posted September 23, 2023 Author Share Posted September 23, 2023 (edited) 3 hours ago, Squid said: You don't need the "-e " in any of those variables. It's implied already since you're creating a variable and what you're do is creating a variable named "-e variablename" instead of "variablename" Unless you're running the container on its own dedicated IP address (network: br0) then the host port you've specified of 443 is already in use Thanks. I have changed this part. But what do I have to enter in the timezone (TZ) variable so that it gives my correct time? Is this the correct format? -> Europe/Berlin Edited September 23, 2023 by AceBurn90 Quote Link to comment
Mainfrezzer Posted September 23, 2023 Share Posted September 23, 2023 32 minutes ago, AceBurn90 said: Thanks. I have changed this part. But what do I have to enter in the timezone (TZ) variable so that it gives my correct time? Is this the correct format? -> Europe/Berlin no, unraid by default will pass unraids time zone as variable to the container. Quote Link to comment
AceBurn90 Posted September 26, 2023 Author Share Posted September 26, 2023 Now I have saved my files (took 2.5 days). After that I could start the Docker Container for the first time but I got this error: Quote 2023-09-23T07:50:27Z [info] Hentai@Home 1.6.2 (Build 160) starting up 2023-09-23T07:50:27Z [info] Copyright (c) 2008-2023, E-Hentai.org - all rights reserved. 2023-09-23T07:50:27Z [info] This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v3 license. 2023-09-23T07:50:27Z [WARN] Encountered error when reading client_login: java.lang.NumberFormatException: For input string: "" 2023-09-23T07:50:27Z [info] Before you can use this client, you will have to register it at https://e-hentai.org/hentaiathome.php 2023-09-23T07:50:27Z [info] IMPORTANT: YOU NEED A SEPARATE IDENT FOR EACH CLIENT YOU WANT TO RUN. 2023-09-23T07:50:27Z [info] DO NOT ENTER AN IDENT THAT WAS ASSIGNED FOR A DIFFERENT CLIENT UNLESS IT HAS BEEN RETIRED. 2023-09-23T07:50:27Z [info] After registering, enter your ID and Key below to start your client. 2023-09-23T07:50:27Z [info] (You will only have to do this once.) Enter Client ID: Interrupted2023-09-23T07:50:27Z [info] Shutting down... 2023-09-23T07:50:27Z [info] Your business is appreciated 2023-09-23T07:50:27Z [info] Logging ended. Quote Link to comment
Mainfrezzer Posted September 26, 2023 Share Posted September 26, 2023 (edited) youre missing the enviroment variables and then youre also missing the key value, as in my case (since java expects a number, not letters) Edited September 26, 2023 by Mainfrezzer Quote Link to comment
AceBurn90 Posted September 26, 2023 Author Share Posted September 26, 2023 (edited) 25 minutes ago, Mainfrezzer said: youre missing the enviroment variables and then youre also missing the key value, as in my case (since java expects a number, not letters) What do you mean by "youre missing the enviroment variables"? The HATH_CLIENT_KEY consists of 5 numbers which I have entered. The HATH_CLIENT_ID consists of capital and small letters and numbers, which I have also entered. HATH_CLIENT_KEY - 12345 (not my key) HATH_CLIENT_ID - abCdeF123gHiJk456789 (not my ID) In "/mnt/user/hath/data/" there is a file "client_login". In this file is the following text -> Note the dash after 12345 (adjusted): 12345-abCdeF123gHiJk456789 And while we're at it, in the second screenshot here, is the file location correct like this? Edited September 26, 2023 by AceBurn90 Quote Link to comment
Mainfrezzer Posted September 26, 2023 Share Posted September 26, 2023 (edited) I found the issue, for some reason its not really doing what its supposed to do. the container creates a file, which i can only assume, is supposed to hold that info. But it seems borked. So you would to modify following file, in my case now "/mnt/cache/hath/data/" there is a file called "client_login" there you have to set the content like "123456789-YOUR_HATH_CLIENT_KEY" 8 minutes ago, AceBurn90 said: HATH_CLIENT_KEY - 12345 (not my key) HATH_CLIENT_ID - abCdeF123gHiJk456789 (not my ID) In "/mnt/user/hath/data/" there is a file "client_login". In this file is the following text -> Note the dash after 12345 (adjusted): 12345-abCdeF123gHiJk456789 juding by my output. You need to flip it, ID first, then key Edited September 26, 2023 by Mainfrezzer Quote Link to comment
AceBurn90 Posted September 26, 2023 Author Share Posted September 26, 2023 (edited) I have swapped ID and KEY in the Text. In the Screenshot you can see that I have it right side up. Since the file was generated automatically by the program on my old Windows desktop "server" three years ago. This means that there must be some other problem. I also just noticed that there is nothing in my appdata folder in the hath folder. Edited September 26, 2023 by AceBurn90 Quote Link to comment
Mainfrezzer Posted September 26, 2023 Share Posted September 26, 2023 (edited) 26 minutes ago, AceBurn90 said: I have swapped ID and KEY in the Text. In the Screenshot you can see that I have it right side up. Since the file was generated automatically by the program on my old Windows desktop "server" three years ago. This means that there must be some other problem. In the file. the file content has to be flipped by hand. The client_login has to be ID-KEY The stupid file only gets created once but never edited. So its absolutely pointless to even set the enviroment variables in the first place Edit: I just noticed. Your text and image is confusing. Quote HATH_CLIENT_KEY - 12345 (not my key) HATH_CLIENT_ID - abCdeF123gHiJk456789 (not my ID) But the screenshots shows the other way around 12345-abCdeF123gHiJk456789 if thats what you currently have and the key is 12345, it would need to be flipped. Thats what confused me. Since i dont have an account, this is as far as i can get with this file i would say, thats enough on my part. no more errors. For any account related inquiries on a varity of website im no help^^ Heres the template ive set up, in case somebody at some point is looking for that particular container aswell my-hath.xml Edited September 26, 2023 by Mainfrezzer Quote Link to comment
AceBurn90 Posted September 26, 2023 Author Share Posted September 26, 2023 (edited) 10 minutes ago, Mainfrezzer said: In the file. the file content has to be flipped by hand. The client_login has to be ID-KEY The stupid file only gets created once but never edited. So its absolutely pointless to even set the enviroment variables in the first place I have already written several times that the file is correctly saved and the content is also correct, because it has already worked like this for 3 years. Can you took a screenshot auf your appdata/hath folder and what it looks like? Edited September 26, 2023 by AceBurn90 Quote Link to comment
AceBurn90 Posted September 26, 2023 Author Share Posted September 26, 2023 1 hour ago, Mainfrezzer said: In the file. the file content has to be flipped by hand. The client_login has to be ID-KEY The stupid file only gets created once but never edited. So its absolutely pointless to even set the enviroment variables in the first place Edit: I just noticed. Your text and image is confusing. But the screenshots shows the other way around 12345-abCdeF123gHiJk456789 if thats what you currently have and the key is 12345, it would need to be flipped. Thats what confused me. Since i dont have an account, this is as far as i can get with this file i would say, thats enough on my part. no more errors. For any account related inquiries on a varity of website im no help^^ Heres the template ive set up, in case somebody at some point is looking for that particular container aswell my-hath.xml I am now using you modifyed XML and it works. I can not tell exactly why. I have added the Registry URL: https://registry.hub.docker.com/r/frosty5689/hath And changed Network Type to Host Then I changed my file path from: cache - /mnt/user/hath/cache/ Data - /mnt/user/hath/data Downloads - /mnt/user//hath/download Logs - /mnt/user/hath/log Tmp - /mnt/user/hath/tmp to (see "appdata" changes) cache - /mnt/user/hath/cache/ Data - /mnt/user/appdata/hath/data Downloads - /mnt/user/appdata/hath/download Logs - /mnt/user/appdata/hath/log Tmp - /mnt/user/appdata/hath/tmp After that, it worked. Thanks for your effort 1 Quote Link to comment
Mainfrezzer Posted September 26, 2023 Share Posted September 26, 2023 6 minutes ago, AceBurn90 said: I am now using you modifyed XML and it works. I can not tell exactly why. I have added the Registry URL: https://registry.hub.docker.com/r/frosty5689/hath And changed Network Type to Host Then I changed my file path from: cache - /mnt/user/hath/cache/ Data - /mnt/user/hath/data Downloads - /mnt/user//hath/download Logs - /mnt/user/hath/log Tmp - /mnt/user/hath/tmp to (see "appdata" changes) cache - /mnt/user/hath/cache/ Data - /mnt/user/appdata/hath/data Downloads - /mnt/user/appdata/hath/download Logs - /mnt/user/appdata/hath/log Tmp - /mnt/user/appdata/hath/tmp After that, it worked. Thanks for your effort Thats good, glad i could help. The host mode certainly fixes the need to figure out which port is needed since i had no clue what to map there :D Quote Link to comment
frosty5689 Posted May 26 Share Posted May 26 (edited) I know this post is old... I'm the author of thst docker image. I have a repo with some Unraid templates that I've created. There is one for H@H. https://github.com/frosty5689/docker-templates/tree/master It might be out of date and needs to be updated a bit. Unraid doesn't make it easy for maintainers of templates and it needs to be manually modified Edited May 26 by frosty5689 1 Quote Link to comment
AceBurn90 Posted August 17 Author Share Posted August 17 On 5/27/2024 at 1:46 AM, frosty5689 said: I know this post is old... I'm the author of thst docker image. I have a repo with some Unraid templates that I've created. There is one for H@H. https://github.com/frosty5689/docker-templates/tree/master It might be out of date and needs to be updated a bit. Unraid doesn't make it easy for maintainers of templates and it needs to be manually modified Hello frosty5689, thank you for reaching out to me. I have another problem that I need to ask you about. First of all, I changed and anonymized my configuration (CLIENT_KEY & ID) and saved it in the attachment. This configuration is not yet in operation as I wanted to discuss it with the community first. I have correctly stored my storage locations including upper and lower case. Unfortunately I have not been able to use the new configuration because my cache data was previously stored in the wrong place and I have to move it before I can use it. The reason for this is that the cache data is wildly distributed in the directory: “cache>system>docker>installed>btrfs> subvolumes > {several folders with number & letter combinations}" Like this: I now need to adjust the location and move the cache data all to the designated place and at the same time keep the downtime as short as possible. But now I don't know how to find the right cache data from all the folders and move it to the correct cache folder. Do you or anyone here on the board know what the best way to do this is? Best regards Ace my-hath.xml Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.