rcjk

Members
  • Posts

    18
  • Joined

  • Last visited

Everything posted by rcjk

  1. Well as it turns out I just have no idea what I am doing Slowly learning... executed docker exec -it nextcloud bash followed by occ files:scan -all Now files I drag into the folder show up.
  2. Hello, I am having issues running the OCC commands and not sure where to go from here. I am using mariadb. The first command I ran: php occ files:scan -all error states: An unhandled exception has been thrown: Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver in /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/DB/Connection.php:139 Stack trace below Stack trace: #0 /mnt/user/appdata/nextcloud/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\DB\Connection->connect() #1 /mnt/user/appdata/nextcloud/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\DBAL\Connection->getWrappedConnection() #2 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/DB/Connection.php(261): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM `...', Array, Array, NULL) #3 /mnt/user/appdata/nextcloud/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\DB\Connection->executeQuery('SELECT * FROM `...', Array, Array) #4 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(281): Doctrine\DBAL\Query\QueryBuilder->execute() #5 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppConfig.php(411): OC\DB\QueryBuilder\QueryBuilder->execute() #6 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppConfig.php(176): OC\AppConfig->loadConfigValues() #7 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppConfig.php(367): OC\AppConfig->getApps() #8 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/legacy/OC_App.php(983): OC\AppConfig->getValues(false, 'installed_versi...') #9 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/Server.php(713): OC_App::getAppVersions() #10 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\Server->OC\{closure}(Object(OC\Server)) #11 /mnt/user/appdata/nextcloud/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container)) #12 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\Container->offsetGet('OC\\Memcache\\Fac...') #13 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query('OC\\Memcache\\Fac...', false) #14 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\ServerContainer->query('OC\\Memcache\\Fac...') #15 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(184): OC\AppFramework\Utility\SimpleContainer->get('OC\\Memcache\\Fac...') #16 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server)) #17 /mnt/user/appdata/nextcloud/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container)) #18 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\Container->offsetGet('OCP\\ICacheFacto...') #19 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query('OCP\\ICacheFacto...', false) #20 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\ServerContainer->query('OCP\\ICacheFacto...') #21 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/Server.php(1105): OC\AppFramework\Utility\SimpleContainer->get('OCP\\ICacheFacto...') #22 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\Server->OC\{closure}(Object(OC\Server)) #23 /mnt/user/appdata/nextcloud/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container)) #24 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\Container->offsetGet('OCP\\Lock\\ILocki...') #25 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query('OCP\\Lock\\ILocki...', false) #26 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\ServerContainer->query('OCP\\Lock\\ILocki...') #27 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/Server.php(2082): OC\AppFramework\Utility\SimpleContainer->get('OCP\\Lock\\ILocki...') #28 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/Files/View.php(122): OC\Server->getLockingProvider() #29 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/Server.php(454): OC\Files\View->__construct() #30 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\Server->OC\{closure}(Object(OC\Server)) #31 /mnt/user/appdata/nextcloud/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container)) #32 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\Container->offsetGet('OC\\Files\\Node\\H...') #33 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query('OC\\Files\\Node\\H...', false) #34 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\ServerContainer->query('OC\\Files\\Node\\H...') #35 /mnt/user/appdata/nextcloud/www/nextcloud/lib/private/Server.php(1445): OC\AppFramework\Utility\SimpleContainer->get('OC\\Files\\Node\\H...') #36 /mnt/user/appdata/nextcloud/www/nextcloud/lib/base.php(602): OC\Server->boot() #37 /mnt/user/appdata/nextcloud/www/nextcloud/lib/base.php(1104): OC::init() #38 /mnt/user/appdata/nextcloud/www/nextcloud/console.php(48): require_once('/mnt/user/appda...') #39 /mnt/user/appdata/nextcloud/www/nextcloud/occ(11): require_once('/mnt/user/appda...') I tried running updater.phar but get same error as above. php -m returns as follows. From reading nextcloud documentation I need pdo_mysql which I think I have? [PHP Modules] bz2 Core ctype curl date dba dom fileinfo filter gmp hash json libvirt libxml mbstring openssl pcntl pcre PDO posix Reflection session SimpleXML sockets SPL sqlite3 standard zlib Not sure where to go from here, any guidance is appreciated!
  3. I may be wrong but I think you need to use commands to create a bucket. From what I understand you have an organization and then within the org you create buckets to where you store your data. Also from what I can see on their documentation, all commands need to start with influx, For instance on mine I have a org called HavenFarm to which I created a bucket called weather. I then am using telegraf to dump my data into the bucket called weather. I think first you will have to set up authorization first https://docs.influxdata.com/influxdb/v2.2/reference/cli/influx/#provide-required-authentication-credentials I just tried the command line fine I am using the gui rather then command for it is easier to set up buckets and such. https://docs.influxdata.com/influxdb/v2.2/reference/cli/influx/
  4. Hi Mikey, I am pretty new as well but can try to help. I am not sure on the port 8083, I tried 8038 which yielded same results. Monitoring traffic on wireshark, my PC sends the request to server + port and the server replies back with a RST (reset) flag. I have influx running on a custom network so there may be an issue on the custom network port 8083 that port 8038 forwards to. I probably won't dive deeper, time is limited between work and farm and port 8068 works for now I just downloaded Grafana today so I can start playing around with it. I have Telegraf and Influx working. Have you been able to get into influx with the second port?
  5. After playing around for a bit I found this to work. container path = /mnt host path = /mnt/ default value = /mnt/ I can now access files fine.
  6. Hello, I am using the atribe's Telgraf docker and am struggling with making connections to files. I have only had success for HTTP scrapping so far. I plan to use my weather api with the HTTP plugin to get daily weather from my station. I made a quick python script to download the last 2 years historical data which are currently saved as .JSONs. My next steps are I want to use starlark to change json to inline format but I am unable to find any files getting this error: Error in plugin: could not find file: weather/20200830.json What I have done so far is put all my JSONs in this folder: /mnt/user/Python/weather_data/ I then added the path as below to telegraf Then on my telgraf.conf, I have typed: [[inputs.file]] files = ["/weather/20200830.json"] data_format = "value" data_type = "string" Any guidance is appreciated, I am not 100% confident if I understand the file structure or how dockers "see" folders. From reading online it seems the dockers do not see unraid and you have to point it to the folder location which is what I attempted above.
  7. Hello, I am unable to log on to InfluxDB on port 8083 as well but my second host port I set up which is 8068 works fine. I am not sure why I don't see a conflict with 8083 or know if it is used by something else.
  8. So I tried that forwarding to port 444 in NPM, tired HTTP only then HTTPS (all without certificate) and the server just sends RST every time. So I went ahead and swapped the ISP router with my personal linksys router and I now can access valutwarden through my domain! I tried nextcloud, had some issues but I need to re-configure it back to square 1 but I am out of time and need to leave for work. It appears that the ISP router was blocking or re-routing? If I can get it all to work I will probably return their router and just use mine. update: I saw one thing I messed up, now nextcloud is working by accessing on my domain. All in all this was a router issue/settings that I am not familiar with. I really appreciate the help and hanging in there with me!
  9. I may have, I have tried many things over the last 4 months on and off. I followed the instructions but when I query for cloud.duckdns.org or just duckdns.org nothing came up. I went ahead and inputted both in the delete anyway. Normally I use brave but I tried the could.duckdns.org:8080 on konqueror and got the same result. I changed in my hosts file from cloud.duckdns.org to testing.home and inputted testing.home:8080 and get Congratulations! You've successfully started the Nginx Proxy Manager. If you're seeing this site then you're trying to access a host that isn't set up yet. Log in to the Admin panel to get started. So it seems something is redirecting that specific domain to unraid login and saves it? The difference between vaultwarden and nextcloud is http verse https; should I still have no issues in network using https?
  10. Yes like this 192.168.7.5 vault.duckdns.org cloud.duckdns.org When I ping could.duckdns.org, it returns from vault.duckdns.org (192.168.7.5) The port disappears and the new url looks like this: https://cloud.duckdns.org/login (line through https)
  11. I tried again with both nextcloud and vaultwarden domain added to my hosts file, here are the results: Valutwarden: vault.duckdns.org - Unraid login screen vault.duckdns.org:8080 Valutwarden login screen Nextcloud: cloud.duckdns.org - Unraid login screen cloud.duckdns.org:8080 Unraid login screen cloud.duckdns.org:4443 Unraid login screen cloud.duckdns.org:444 Nextcloud login screen It appears that if I try to go through NPM, I am re-directed to the Unraid login screen
  12. I tried both mydomain.duckdns.org and mydomain.duckdns.org:8080 if that syntax is right, do not understand why that is. If I revert back to IP address with port then it works fine. Yes I am sure it is a public IP, it is in the 200's. I think it is safe to say that NPM is working as expected and it is an issue with the ISP or how they set up the router. I turned on a VPN this morning and was able to access all sites fine from the same PC I have been using. I think I will have to look into that direction now.
  13. Thanks for the reply Mgutt, This error is valid for anything connected to my network including the smartphone. If I disconnect WIFI and use the T-Mobile connection and IP address, I can access all domains fine without issue. I think I found another clue that is now leading me to my ISP. My mother-in-law, who lives next door has same company for internet but a different public IP then mine. Interestingly when I connect to her WIFI with my smart phone, I get the hang up error. If I switch back to T-Mobile, I can access the domains fine. I also called my friend in a different state who was able to access both nextcloud and bitwarden fine with the domain names. For the pings following your steps: 1. First ping (from computer on my network) returns public IP 2. I assumed it was the host IP I needed to add to my hosts file on my computer (not UNRAID server) which I added as your notation. 3. I pinged domain and get 192.168.7.5 4. When I open the domain in my browser, it takes me to the login for UNRAID server not nextcloud I am leaning towards my ISP and may have to research if there is something in the router (they gave me the password for it) set up wrong/not set up or call them directly. Does this sound like the cause, my ISP/their router?
  14. Hello all, I have an ongoing issue for sometime and hoping I can get some help to see if NPM is the source of the issue or if I should look else where. I set up a reverse proxy for Nextcloud and Vaultwarden, following all the steps with port forwarding, hairpin NAT enabled etc. When I access the domain names via my cell phone network (outside server network), I can connect to both applications with the domain name perfectly fine. My issue comes to when I try to connect inside my network via these domain names, it will hang up and give this site can not be reach, took to long to respond. I can connect to the two applications if I type the IP address of the server with port into my browser not using https. While I am not versed in networking, I used wireshark to see if I can get a clue to what exactly is going on. Port 4443 is what I use for NPM and what my router forwards 443 to. Reading this in RST error image, it appears the request is sent to my public IP which my router then sends back to 192.168.7.5:4443. The source IP (192.168.7.5) replies back with the reset flag raised. I wonder if this is related to NPM due to the port being 4443, is that a correct assumption? I took a look at the logs for NPM and saw the error attached although I am not sure what it means and if this is root cause to my issue. Any help in isolating issue to NPM or eliminating NPM as source is appreciated, thanks!
  15. Nice, right now I don't need wifi from the linksys but will keep that in mind if I ever do. I went ahead and took your advice on replacing the second router with a switch and it appears the ports are now open fine. Thanks for all the help!
  16. Thanks Ford Perfect! That makes a lot of sense. I know at the time just to get internet up, I used what I had laying around. Literally last weekend I found two 3COM switches at thrift store for $2 a piece! I only need one to power my security cameras so I will use the other one to replace the router. Thanks for the idea, not sure why I thought I had to have a second router haha. I'll give it a go and see if that works
  17. Thanks for the tip, I will have to play around tonight after work. Just so I understand, the host IP address in the first router DMZ settings; is it the 2nd routers LAN IP or the WAN IP that connects to the first modem through the ubquiti bridges? I am thinking the latter. I am guessing there is still a firewall with my second router, I am virtually placing it outside of the first router if I understand DMZ correctly.
  18. Hello, I am currently trying to set up a reverse proxy for nextcloud and am struggling with my current setup being that I am no networking expert. I am attempting to forward the HTTP and HTTPS port 80 and 443 respectively. My internet provider is a broadband wireless company which lead me to putting the antenna and router SMART/RG SR400ac in my shop (House is surrounded by trees). I wanted a wired network inside the house so here is what the installation looks like: Shop Router connected RJ-45 to ubiquti loco M2 which shoots the signal to the house where another ubiquti loco M2 is. This is then connected via RJ-45 to my Linksys WRT54GS router which my computer and UNRAID server are connected to the LAN ports. I don't know if I exactly set myself up for success on the configuration of the network. It took me about a good week of trial and error, youtube and persistence to get everything working. Some information on devices: loco 2M at shop Network mode: Bridge Wireless mode: Station WDS Firewall: disabled loco 2M at house Network mode: Bridge Wireless mode: Access Point WDS Firewall: disabled My router in the shop, loco 2Ms and the Linksys VLAN are all in same IP range say 192.168.5.XXX while the computer and server are connected via br0 with a different set of ip address say 192.168.3.XXX. When I forward the ports on the shop router I can select the destination to be the linksys router via the WAN/VLAN IP. Before forwarding the ports on the shop router, SWAG was throwing an error related to the firewalls. Once the ports were forwarded on the shop router, SWAG is starting with no errors which I thought I was home free. I am wondering if the bridge I have for the wired network in house is causing issues, the way I am forwarding ports or something I am not even aware of? From the tutorials I watched, I changed the ports on SWAG to 180 and 1443. Using the terminology per router it looks like the following for port 80: Shop Router: Direction: WAN to WAN Destination IP: IP of WAN/VLAN (Linksys) Protocol: TCP Local Port: 180 Public Port: 80 Linksys Router: Proto: TCP Ext Ports: 180 Int Address: IP address of Unraid server I have tried so many combinations trying to wrap my head around the flow of data. Such like leaving both public/local to 80 and trying 80 external and 180 internal on other router. I also tried some WAN to LAN combos with no luck. I didn't write down everything I did so it is very possible I just missed something in the hours spent already. Any help is appreciated! -respectfully rcjk