Jump to content

war1000

Members
  • Posts

    24
  • Joined

  • Last visited

Posts posted by war1000

  1. For those who got f**ked just like I did after updating, please go edit your container and put "akaunting/akaunting:2.1" in your repository section. This will role it back to the last image before v3 which causes all sorts of issues.

     

    I found this video to be helpful.

     

     

    It is now working for me again. I was scared that I lost 2 years worth of tracking in this software.

  2. Can someone kindly help me with this? Even time I restart the docker container for akaunting, it creates a new admin use with the email set in the docker settings. Now I have 79 users when I go into my Admin users view. 

     

    image.thumb.png.8029d9e0188f6b964f769344e9473888.png

     

    If I set the following settings to false, it does not connect to the db I think anymore.

     

    image.png.62bebe81580c6031da080d9949419449.png

  3. Can someone please help out a noob :)

     

    I was using asus router before with a port forwarded to nginx and akaunting worked fine behind the nginx proxy manager. I recently have switched to pfsense, HAproxy, and ACME.

     

    I got all my dockers to work except for akaunting. Would someone please help me with this on how to get this to work with HAproxy? I also posted my issue in more details here. HAProxy issue.

     

    Thanks for your help.

  4. I was able to find a GTX 1050 Ti and a GTX 950 around my area for $80. I see these are supported for transcoding. Would my current CPU be able to keep up if I install one of these cards instead? Just trying to get some clarity before going and investing another $1000. Thanks again for your help.

  5. Hi Everyone, first of all thank you for reading....and replying. (I have been reading in this forum for recommendation but I feel I am going down a more expensive path than I need to be)

     

    This is my use case:

    - Server hosts Home Assistant VM (1 of 2 primary function)

    - Runs Plex Server (1 of 2 primary function). Currently does not transcodes but this has become a necessity as I can't figure out how to get my Plex client on Roku Stick+ and Nvidia Shield to play direct stream of any 4k HRD content. So I need to have 1-2 4k transcoding 

    - Runs 1-2 VMs occasionally

    - Hosts about 3TB of video files

     

    This is my current setup (built from my old pc):

    - Gigabyte F2A85XM-D3H motherboard

    - AMD A8-5600K APU 

    - 16GB of DDR3

    - 4 HDD

    - 1 Cache

    - I also have plex pass

     

    I want to upgrade this server. I want to be able to support the above use cases as I am getting more 4k content now that I have a 4k TV and soon hoping to get a 4k projector.

     

    What do you guys recommend that will allow me to do the above? I have checked out a few people's signatures and they feel overkill for my needs.

     

    Thank you again for all your help.

     

    This is what I was thinking... https://newegg.io/7b7a91f

     

    I can also get a i5-11400 for $20 more instead of the i5-10400

  6. sorry to ask a stupid question...how do I run this docker?

     

    docker exec -it webgrabplus webgrabplus

     

    This says:

     

    OCI runtime exec failed: exec failed: container_linux.go:346: starting container process caused "exec: \"webgrabplus\": executable file not found in $PATH": unknown

     

    Can someone kindly help? Thanks!

  7. This works! Thank you! On a different note, when I go to my site without putting "www" in the www.example.com, I get to the following site instead.

     

    image.thumb.png.7a94284255afb46db6ca523ed7c4a188.png

     

    My cloudflare for the A record is as follows:

     

    image.thumb.png.42fa33796f12e907a6a79db4dbc3de6e.png

     

    I do not know where this A record points to. Since I do not have a permanet IP, I can't really change this A record IP (unless there is a way). Cloudflare only allows a static IP in there. 

     

    Is the A record causing this or is there something I can do in the nginx config?

  8. Hi Everyone, I want to host a simple site on Wordpress on my unraid server. I have setup Letsencrypt, Wordpress, MariaDB, Phpmyadmin. My Letsencrypt routing works but I didn't find a proxy-confs file for Wordpress in nginx\proxy-confs directory. I tried to use the adgurd.subdomain.conf (renamed) configs, but the Wordpress site doesn't render properly.

     

    Now I know that the Letsencrypt docker has a webserver build in it and if I put the site in the letsencrypt\www directory, the site works. However, I the process of editing the site is not as straightforward as editing the site from the Wordpress Admin. 

     

    Is there a way to point the Wordpress (Docker) site to save directly into the letsencrypt\www directory? 

     

    What would be the recommended solution to this?

     

    Thanks for your help.

  9. On 10/24/2019 at 4:40 PM, war1000 said:

    Thank you for all your research and response. I will go with the host file. I do have a archer c2600 that is serving as an extender that i could flash with wrt but I need to take a break for a few days before I do that lol. I found the instrcutions here for the host file: 

    so basically add the two hosts with the same ip in the file?

     

    Ok I added using the user script. But it didn't work...:(

    So just to kind of conclude on this, my friend who is in IT Infrastructure had been dissing me for a while for not getting an ASUS router. So I finally pulled the trigger and got one today. Configured everything almost the same as my Trendnet router....and now I can access the sites from within my network....so I supposed all it required was money!!! lol...I don't know how else to explain it.

  10. 2 hours ago, Marshalleq said:

    I've been poking all round your emulator trying to find a loopback / multi-homed thing or perhaps even a DNS rebind and not found anything.  I've also looked in the software for custom DNS records which is also not available.

     

    Someone else may have better luck than me, but to be honest this is not uncommon with consumer routers.  Which is why DD-WRT was born - you can flash your router with firmware that does have these kinds of features.  The router compatibility list is here: https://wiki.dd-wrt.com/wiki/index.php/Supported_Devices#TRENDnet

     

    It appears your router is still a work in progress, but perhaps you can have a poke around there - they may have a working beta or something.

     

    So for you, the best thing will be to put the settings manually into the hosts files of your internal computers.  Or get a different router firewall.  If you want to go the whole hog you can get your own firewall like opnsense.  Or take your luck with another consumer router.

     

    Sorry to be the bearer of bad news.

    Thank you for all your research and response. I will go with the host file. I do have a archer c2600 that is serving as an extender that i could flash with wrt but I need to take a break for a few days before I do that lol. I found the instrcutions here for the host file: 

    so basically add the two hosts with the same ip in the file?

     

    Ok I added using the user script. But it didn't work...:(

  11. 8 minutes ago, war1000 said:

    Thank you for the reply!

     

    How do I create a static dns record? I have done the following in the UnRaid server. 

    image.thumb.png.6fde6ee0b6112891f7b9b1a5a7ec060a.png

     

    Then in the router I have done the following through the DHCP List:

    image.png.22c2c3c55e38d9082420a745fc9b5e89.png

     

    So:

    1. Unraid needs to have the correct IP for the domain ---> I think this has been done.
    2. Cloudflare needs to have the correct IP for the domain ---> This is done using the DNS pointing to irisnet.
    3. The proxy setting in cloudflare should be off ---> Done
    4. You need to give it time for the new cloudflare setting to propagate to the DNS servers on the internet (which will include the DNS server at whatever phone provider you are using AND the DNS server that your home router is using) ---> so far 24 hours. so I think this is done now.
    5. Internal devices either need the internal DNS updated or some router trickery which you may or may not have, which is why I suggest adding this manually for now ---> This one I am not sure if I am doing this right or not. Because I thought this was done with the Virtual server rules, which I did.

    @aptalca, hahahaha....how did you know I love my little ponny?!!! good one! Ok so if you were able to access it, did you use the sonarr.irisnet.ga? or some other way? I enabled the auth now. Would you also mind trying nextcloud.irisnet.ga? I am going to read up on the nat loopback.

     

    Thanks a lot for your help guys! even if I can't get it right, I am still learning new things! That is progress!

     

    Ok I just confirmed this by using the phone that I can now reach both sonarr and nextcloud....so it must be the nat loopback issue because i can't connect from inside the network.

  12. 15 hours ago, Marshalleq said:

    For within your network, it's likely best to create a static DNS record, with the same domain name you're using and point that at your INTERNAL nextcloud / unraid address.

     

    Thank you for the reply!

     

    How do I create a static dns record? I have done the following in the UnRaid server. 

    image.thumb.png.6fde6ee0b6112891f7b9b1a5a7ec060a.png

     

    Then in the router I have done the following through the DHCP List:

    image.png.22c2c3c55e38d9082420a745fc9b5e89.png

     

    So:

    1. Unraid needs to have the correct IP for the domain ---> I think this has been done.
    2. Cloudflare needs to have the correct IP for the domain ---> This is done using the DNS pointing to irisnet.
    3. The proxy setting in cloudflare should be off ---> Done
    4. You need to give it time for the new cloudflare setting to propagate to the DNS servers on the internet (which will include the DNS server at whatever phone provider you are using AND the DNS server that your home router is using) ---> so far 24 hours. so I think this is done now.
    5. Internal devices either need the internal DNS updated or some router trickery which you may or may not have, which is why I suggest adding this manually for now ---> This one I am not sure if I am doing this right or not. Because I thought this was done with the Virtual server rules, which I did.

    @aptalca, hahahaha....how did you know I love my little ponny?!!! good one! Ok so if you were able to access it, did you use the sonarr.irisnet.ga? or some other way? I enabled the auth now. Would you also mind trying nextcloud.irisnet.ga? I am going to read up on the nat loopback.

     

    Thanks a lot for your help guys! even if I can't get it right, I am still learning new things! That is progress!

     

  13. 32 minutes ago, Marshalleq said:

    With this I found I had to be carefeul - just because it's returning the right address on one machine, doesn't mean it's returning the right address in all cases, and if it's not, it won't work.  Cloudflare is pretty good with speedy DNS updates, but I found I had to wait for this particular change.  Are you pinging from the server or the client?

     

    Also, I assume you're testing via some external internet connection such as tethering through your phone?  If so, checking that IP address pings correctly is important.  At this point I'd suggest looking at the active logs of both the letsencrypt docker and the particular app you're going to e.g. nextcloud wihtin the appdata directory or equivalent.  I found I could see issues in there fairly easily.  Also the logs in the GUI of the docker container on the docker page in unraid.

    Thanks for the reply. No I am testing from within my network. I will test it via the phone tonight. 

     

    My network setup is pretty standard, 5 computers behind the router. 3 plugged into the router and 2 laptops (there are also phones). 1 server (UnRaid), 1 pc (Windows 10), 1 raspberry pi (Hassio), 2 laptops (Windows 10). I have a laptop that I can use to tether with the phone. Before I do this, I have disconnected hassio so it doesn't ping out when I test. I am also going to redo the nextcloud configs to make it match the spaceinvader setup. I will post the setting here for review.

  14. 10 minutes ago, war1000 said:

    Thank you very much for your reply. I am going to try your recommendation. The made the following change to keep things clean.

    Cloudflare:

    image.thumb.png.b86f0adf952b6a29f34dd2228c6fceb8.png

     

    DuckDNS:

    image.thumb.png.e028fe48939e7b88c177fa65b83369a0.png

     

    I am not sure about the enabling strict https setting but I will research. I think you are right about the proxy part. Because the DuckDNS on the hassio works as it goes to duckdns only and not through cloudflare.

     

    I will keep monitoring and report back tonight. Thank you for the direction here.

    Ok setting the cloudflare to dns more returns the right ip if I ping sonarr.irisnet.ga for example. I am pretty sure something is not converting at the router. Since I have my port 443 redirected to the UnRaid server port 1443, is there anyway I could test if a service is available on port 443 directly from the internet? i.e. If I turn off Letsencrypt, then change the port for Sonarr to 443? I am just want to confirm that I can access a service directly on the port. Right now when Letsencrypt is running, I can see the port open using and online port checker. 

  15. 16 minutes ago, Marshalleq said:

    Hey, I don't use duckdns because I have a fixed IP, but I have got Nextcloud running.  I had this issue at the beginning too.

     

    Also, the LuaJIT / restycore error at the end of your letsencrypt log is apparently perfectly normal (I think it's just a docker issue and I have it too), so don't worry about that.

     

    What I suggest you do is turn off the 'cloudflare proxy' setting for any non-working cname.  I'm not actually sure how duckdns works, but to start with I'd suggest you also turn of any cloudflare proxy setting to do with duckdns set up as well.  You can gradually turn them on later to test which ones work.  I found some apps are OK, others are not.

     

    I found I got a 'too many redirects' error with this turned on - and if you're using duckdns it's probably going to be even more redirects.  Also, I found I had to wait quite some time (up to a day maybe) after turning this off for it to take effect.

     

    The proxy feature hides the IP address of the real host by providing a cloudflare one, then redirecting it.

     

    I've read that enabling strict HTTPS can help this issue, (as normally it only occurs when using https, which everyone either does or should now).  I suspect this will get you working, then if you ever manage to move that forward more so that you can get the proxy enabled as well, please let me know cause I haven't managed to yet!

     

    Also, don't worry about turning off the proxy setting too much - this is the way most people run their DNS - it's a great feature but not absolutely necessary.  You'd be better spent ensuring you have a real firewall installed like OPNsense or similar.

     

    Let me know if you need any more help and good luck!!

     

    Thanks,

     

    Marshalleq

    Thank you very much for your reply. I am going to try your recommendation. The made the following change to keep things clean.

    Cloudflare:

    image.thumb.png.b86f0adf952b6a29f34dd2228c6fceb8.png

     

    DuckDNS:

    image.thumb.png.e028fe48939e7b88c177fa65b83369a0.png

     

    I am not sure about the enabling strict https setting but I will research. I think you are right about the proxy part. Because the DuckDNS on the hassio works as it goes to duckdns only and not through cloudflare.

     

    I will keep monitoring and report back tonight. Thank you for the direction here.

  16. Hi Everyone, I have tried to fix this myself for a few days and I have failed. So looking for some guidance. If this is not the right forum, please let me know and I will go to the UnRaid forum and ask there.

    1. So I use UnRaid 6.7.2 and I installed the Letsencrypt docker app. I also installed nextcloud and sonarr.

    2. I bought a domain irisnet.ga and I have put two CNAME in there. sonarr.irisnet.ga and nextcloud.irisnet.ga

    3. I used dns certificate method in the Letsencrypt to generate the certificate and it generates for the two subdomains. http method doesn't work as the challenge fails. My port 80 might be blocked. Not sure about this one.

    4. I followed spaceinvaders youtube videos to setup the reverse proxy for both of the nextcloud and sonarr. However, seems like in cloudflare is not able to reach my server when I type in https://nextcloud.irisnet.ga for example. I get a 522 error.

     

    Router Setup

    image.png.a21700d4cc5b234e6964a61a3aa0104f.png

    Cloudflare Setup

    image.thumb.png.46dbfab99364bb3207e518ff8721f0ab.png

    Docker Setup

    image.png.48110aecfb1f22a55ab10d58d93a2126.png

    Letsencrypt Output
    [s6-init] making user provided files available at /var/run/s6/etc…exited 0.
    [s6-init] ensuring user provided files have correct perms…exited 0.
    [fix-attrs.d] applying ownership & permissions fixes…
    [fix-attrs.d] done.
    [cont-init.d] executing container initialization scripts…
    [cont-init.d] 10-adduser: executing…
    
    _ ()
    | | ___ _ __
    | | / | | | /
    | | _ \ | | | () |
    || |/ || __/
    
    Brought to you by linuxserver.io
    We gratefully accept donations at:
    https://www.linuxserver.io/donate/
    GID/UID
    User uid: 99
    User gid: 100
    [cont-init.d] 10-adduser: exited 0.
    [cont-init.d] 20-config: executing…
    [cont-init.d] 20-config: exited 0.
    [cont-init.d] 30-keygen: executing…
    using keys found in /config/keys
    [cont-init.d] 30-keygen: exited 0.
    [cont-init.d] 50-config: executing…
    Variables set:
    PUID=99
    PGID=100
    TZ=America/New_York
    URL=irisnet.ga
    SUBDOMAINS=sonarr,nextcloud
    EXTRA_DOMAINS=
    ONLY_SUBDOMAINS=true
    DHLEVEL=2048
    VALIDATION=dns
    DNSPLUGIN=cloudflare
    [email protected]
    STAGING=
    
    2048 bit DH parameters present
    SUBDOMAINS entered, processing
    SUBDOMAINS entered, processing
    Only subdomains, no URL in cert
    Sub-domains processed are: -d sonarr.irisnet.ga -d nextcloud.irisnet.ga
    E-mail address entered: @.com
    dns validation via cloudflare plugin is selected
    Certificate exists; parameters unchanged; starting nginx
    [cont-init.d] 50-config: exited 0.
    [cont-init.d] 99-custom-files: executing…
    [custom-init] no custom files found exiting…
    [cont-init.d] 99-custom-files: exited 0.
    [cont-init.d] done.
    [services.d] starting services
    [services.d] done.
    nginx: [alert] detected a LuaJIT version which is not OpenResty’s; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty’s LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)
    
    nginx: [error] lua_load_resty_core failed to load the resty.core module from https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from https://openresty.org/en/download.html (rc: 2, reason: module ‘resty.core’ not found:
    
    no field package.preload[‘resty.core’]
    no file ‘./resty/core.lua’
    no file ‘/usr/share/luajit-2.1.0-beta3/resty/core.lua’
    no file ‘/usr/local/share/lua/5.1/resty/core.lua’
    no file ‘/usr/local/share/lua/5.1/resty/core/init.lua’
    no file ‘/usr/share/lua/5.1/resty/core.lua’
    no file ‘/usr/share/lua/5.1/resty/core/init.lua’
    no file ‘/usr/share/lua/common/resty/core.lua’
    no file ‘/usr/share/lua/common/resty/core/init.lua’
    no file ‘./resty/core.so’
    no file ‘/usr/local/lib/lua/5.1/resty/core.so’
    no file ‘/usr/lib/lua/5.1/resty/core.so’
    no file ‘/usr/local/lib/lua/5.1/loadall.so’
    no file ‘./resty.so’
    no file ‘/usr/local/lib/lua/5.1/resty.so’
    no file ‘/usr/lib/lua/5.1/resty.so’
    no file ‘/usr/local/lib/lua/5.1/loadall.so’)
    Server ready
    
    =====================================================

    I am a bit lost at this point. Would anyone please point me in the right direction? Thank you!

    Update: I requested help on the Letsencrypt forum and confirmed that the certificates are getting generated. Cloudflare not able to reach my ip. or I am not able to get past my router. Because for example if I type in http://192.168.1.145:8989/ i can hit sonarr. But if I type in https://irisnet.duckdns.org:8989 or https://sonarr.irisnet.ga or https://sonarr.irisnet.ga:8989 it doesn’t go anywhere.

    Same with the nextcloud. I can reach with the internal ip. So if the certificates are working, the issue is either the router port is not redirecting traffic on 443 to 1443 or Letsencrypt is not forwarding to the right docker. If anyone has any troubleshooting tips, please let me know.

    On another note, the virgil (hassio on raspberry pi) when I tried DuckDNS with Letsencrypt, I am able to reach it using https://irisnet.duckdns.org:8123

×
×
  • Create New...