BrunoVic

Members
  • Posts

    104
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

BrunoVic's Achievements

Apprentice

Apprentice (3/14)

1

Reputation

  1. Yeah this is all confusing. I follow all these instructions and now I keep getting this and my nextcloud doesn't work. root@unraid:~# docker exec -it nextcloud occ maintenance:mode --off An unhandled exception has been thrown: Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2006] MySQL server has gone away in /config/www/nextcloud/lib/private/DB/Connection.php:139 Stack trace: #0 /config/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\DB\Connection->connect() #1 /config/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\DBAL\Connection->getWrappedConnection() #2 /config/www/nextcloud/lib/private/DB/Connection.php(261): Doctrine\DBAL\Connection->executeQuery() #3 /config/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\DB\Connection->executeQuery() #4 /config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(281): Doctrine\DBAL\Query\QueryBuilder->execute() #5 /config/www/nextcloud/lib/private/AppConfig.php(419): OC\DB\QueryBuilder\QueryBuilder->execute() #6 /config/www/nextcloud/lib/private/AppConfig.php(184): OC\AppConfig->loadConfigValues() #7 /config/www/nextcloud/lib/private/AppConfig.php(375): OC\AppConfig->getApps() #8 /config/www/nextcloud/lib/private/legacy/OC_App.php(967): OC\AppConfig->getValues() #9 /config/www/nextcloud/lib/private/Server.php(725): OC_App::getAppVersions() #10 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(163): OC\Server->OC\{closure}() #11 /config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}() #12 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(130): Pimple\Container->offsetGet() #13 /config/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query() #14 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\ServerContainer->query() #15 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(185): OC\AppFramework\Utility\SimpleContainer->get() #16 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(163): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}() #17 /config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}() #18 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(130): Pimple\Container->offsetGet() #19 /config/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query() #20 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\ServerContainer->query() #21 /config/www/nextcloud/lib/private/Server.php(1121): OC\AppFramework\Utility\SimpleContainer->get() #22 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(163): OC\Server->OC\{closure}() #23 /config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}() #24 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(130): Pimple\Container->offsetGet() #25 /config/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query() #26 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\ServerContainer->query() #27 /config/www/nextcloud/lib/private/Server.php(2072): OC\AppFramework\Utility\SimpleContainer->get() #28 /config/www/nextcloud/lib/private/Files/View.php(117): OC\Server->getLockingProvider() #29 /config/www/nextcloud/lib/private/Server.php(462): OC\Files\View->__construct() #30 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(163): OC\Server->OC\{closure}() #31 /config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}() #32 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(130): Pimple\Container->offsetGet() #33 /config/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query() #34 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\ServerContainer->query() #35 /config/www/nextcloud/lib/private/Server.php(1474): OC\AppFramework\Utility\SimpleContainer->get() #36 /config/www/nextcloud/lib/base.php(617): OC\Server->boot() #37 /config/www/nextcloud/lib/base.php(1145): OC::init() #38 /config/www/nextcloud/console.php(48): require_once('...') #39 /config/www/nextcloud/occ(11): require_once('...') #40 {main}root@unraid:~#
  2. I also came here with the same problem. I install it for the first time and everything works fine. Then I restart the container and next thing I know it nothing is working. The container just stops and this is what I get in the logs. Authenticate | 2023-06-03 21:15:12 | [debug] Saving cookies to: cookiejar.json Authenticate | 2023-06-03 21:15:12 | [info] Requesting CSRF tokens from https://foundryvtt.com Authenticate | 2023-06-03 21:15:12 | [debug] Fetching: https://foundryvtt.com Authenticate | 2023-06-03 21:15:13 | [info] Logging in as: omit Authenticate | 2023-06-03 21:15:13 | [debug] Fetching: https://foundryvtt.com/auth/login/ Authenticate | 2023-06-03 21:15:13 | [debug] Community URL: /community/omit Authenticate | 2023-06-03 21:15:13 | [info] Successfully logged in as: omit Entrypoint | 2023-06-03 21:15:10 | [warn] The container may not function properly with this version mismatch. Entrypoint | 2023-06-03 21:15:10 | [info] Foundry Virtual Tabletop 11.300 is installed. Entrypoint | 2023-06-03 21:15:10 | [info] Requested version () from FOUNDRY_VERSION differs. Entrypoint | 2023-06-03 21:15:10 | [info] Uninstalling version 11.300. Entrypoint | 2023-06-03 21:15:11 | [info] Using FOUNDRY_RELEASE_URL to download release. Entrypoint | 2023-06-03 21:15:11 | [info] Using FOUNDRY_USERNAME and FOUNDRY_PASSWORD to authenticate. Entrypoint | 2023-06-03 21:15:13 | [info] Using CONTAINER_CACHE: /data/container_cache Entrypoint | 2023-06-03 21:15:13 | [info] Downloading Foundry Virtual Tabletop release. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 52.218.168.243:443... * Connected to foundryvtt.s3.amazonaws.com (52.218.168.243) port 443 (#0) * ALPN: offers h2,http/1.1 } [5 bytes data] * TLSv1.3 (OUT), TLS handshake, Client hello (1): } [512 bytes data] * CAfile: /etc/ssl/certs/ca-certificates.crt * CApath: none { [5 bytes data] * TLSv1.3 (IN), TLS handshake, Server hello (2): { [110 bytes data] * TLSv1.2 (IN), TLS handshake, Certificate (11): { [4970 bytes data] * TLSv1.2 (IN), TLS handshake, Server key exchange (12): { [333 bytes data] * TLSv1.2 (IN), TLS handshake, Server finished (14): { [4 bytes data] * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): } [70 bytes data] * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): } [1 bytes data] * TLSv1.2 (OUT), TLS handshake, Finished (20): } [16 bytes data] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* TLSv1.2 (IN), TLS handshake, Finished (20): { [16 bytes data] * SSL connection using TLSv1.2 / omit * ALPN: server accepted http/1.1 * Server certificate: * subject: CN=*.s3.amazonaws.com * start date: Mar 21 00:00:00 2023 GMT * expire date: Dec 19 23:59:59 2023 GMT * subjectAltName: host "foundryvtt.s3.amazonaws.com" matched cert's "*.s3.amazonaws.com" * issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01 * SSL certificate verify ok. * using HTTP/1.1 } [5 bytes data] > GET /releases/11.300/FoundryVTT-11.300.zip?AWSAccessKeyId=omit&Signature=omit&Expires=omit HTTP/1.1 > Host: foundryvtt.s3.amazonaws.com > User-Agent: curl/8.1.1 (felddy/foundryvtt:11.299.0) > Accept: */* > If-Modified-Since: Sun, 04 Jun 2023 01:12:17 GMT > { [5 bytes data] < HTTP/1.1 403 Forbidden < x-amz-request-id: omit < x-amz-id-2: omit < Content-Type: application/xml < Transfer-Encoding: chunked < Date: Sun, 04 Jun 2023 01:15:14 GMT < Server: AmazonS3 * The requested URL returned error: 403 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 * Closing connection 0 { [5 bytes data] * TLSv1.2 (OUT), TLS alert, close notify (256): } [2 bytes data] curl: (22) The requested URL returned error: 403
  3. I needed it on the array because something was maxing out my cache drive and those where the only things using the cache drive at the time. Seeing how the docker containers are in the appdata folder and one of my docker containers went crazy writing 5.1TB of logs this would explains why when appdata was on the cache drive it was maxing out.
  4. I've identified the problem. So once I stopped using my cache drive all together my array just maxed out 5.1TB. After doing more research I narrowed it down to a docker container (unifi) that stored 5.1TB of logs. That's what cause the cache drive to max out and since it was smaller than the array it maxed out quicker than the array itself.
  5. Yes I see those in the data folder under unifi. Can I just delete those files? How can I back things up?
  6. Ok my raid is completely maxed out. This docker container is taking up 5.1 TB of space and I don't know how to get rid of it. Because my drives are maxed out this docker container won't load anymore and I get a 404 error so I cannot make any changes like “override inform host” as someone suggested above. How do I free up space in this docker container?
  7. What in the world? Why is the unifi-controller eating up 5.1TB of space?
  8. root@unraid:/mnt/user/appdata# du -hs ./unifi-controller/ 5.1T ./unifi-controller/
  9. Something tells me this is the culprit! How in the world is my appdata maxing out at 5 TB? root@unraid:/mnt/user# du -hs ./appdata/ 5.1T ./appdata/
  10. My hard drives keep maxing out for no reason and it is turning my NAS into a brick. Once it maxes out I cannot access shares to delete anything and free up space. I've even disabled docker containers and after freeing up space it still maxes out. I have no idea what's going on. unraid-diagnostics-20220831-1955.zip
  11. Ok I'll look into an SSD option. Thank you.
  12. That worked but what caused this in the first place? How can I avoid this?
  13. Well ok then I disabled docker and now the cache driver is clearing up. Why am I running into this problem in the first place though? If I re-enable docker will the cache drive fill up again? How can I avoid this?
  14. I didn't disable docker before the mover. I should do that?