wazabees

Members
  • Posts

    25
  • Joined

  • Last visited

Everything posted by wazabees

  1. This worked perfectly - thank you!
  2. Nice, thanks for the tip @Newbie. I haven't had a need to downgrade a docker before.
  3. Hello there! There has been a large update to Wallabag and now the docker appears to not work any more. https://github.com/wallabag/wallabag/releases/tag/2.4.0 I get the following errors: Starting provisioner... [WARNING]: Found both group and host with same name: localhost [WARNING]: Platform linux on host localhost is using the discovered Python interpreter at /usr/bin/python3, but future installation of another Python interpreter could change this. See https://docs.ansible.com/ansible/2.9/referen ce_appendices/interpreter_discovery.html for more information. Provisioner finished. 192.168.1.1 - - [11/Dec/2020:00:46:21 +0100] "GET /api/entries/exists.json?url=http://192.168.1.12:8282/plugins/dynamix.docker.manager/include/Events.php?action=log&container=f5ee5fb51b0d&title=Log%20for:%20wallabag HTTP/1.1" 500 83 "-" "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0" 192.168.1.1 - - [11/Dec/2020:00:46:27 +0100] "GET /api/entries/exists.json?url=http://192.168.1.12:6500/ HTTP/1.1" 500 83 "-" "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0" 192.168.1.1 - - [11/Dec/2020:00:46:31 +0100] "GET /api/entries/exists.json?url=http://192.168.1.12:6500/ HTTP/1.1" 500 83 "-" "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0" 192.168.1.1 - - [11/Dec/2020:00:46:31 +0100] "GET /api/entries/exists.json?url=https://www.google.com/search?q=wala&btnK HTTP/1.1" 500 83 "-" "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0" 192.168.1.1 - - [11/Dec/2020:00:46:32 +0100] "GET /api/entries/exists.json?url=https://www.google.com/search?q=wala&btnK HTTP/1.1" 500 83 "-" "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0" 192.168.1.1 - - [11/Dec/2020:00:46:34 +0100] "GET /api/entries/exists.json?url=https://www.google.com/search?q=wala&btnK HTTP/1.1" 500 83 "-" "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0" 192.168.1.1 - - [11/Dec/2020:00:46:34 +0100] "GET / HTTP/1.1" 302 213 "-" "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0" 2020/12/11 00:46:34 [error] 266#266: *25 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1 no such table: wallabag_internal_setting in /var/www/wallabag/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:67 Stack trace: #0 /var/www/wallabag/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(67): PDO->prepare('SELECT t0.value...', Array) #1 /var/www/wallabag/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(903): Doctrine\DBAL\Driver\PDOConnection->prepare('SELECT t0.value...') #2 /var/www/wallabag/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(726): Doctrine\DBAL\Connection->executeQuery('SELECT t0.value...', Array, Array) #3 /var/www/wallabag/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(193): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(Array, NULL, NULL, Array, NULL, 1, NULL) #4 /var/www/wallabag/vendor/craue/config-bundle/Util/Config.php(73): Doctrine\ORM\EntityRepository->findOneBy(Array) #5 /var/www/wallabag" while reading response header from upstream, client: 192.168.1.1, server: _, request: "GET /login HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "removed url" 192.168.1.1 - - [11/Dec/2020:00:46:34 +0100] "GET /login HTTP/1.1" 500 31 "-" "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0" 192.168.1.1 - - [11/Dec/2020:00:46:34 +0100] "GET /favicon.ico HTTP/1.1" 200 34494 "https://removed url/login" "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0" 192.168.1.1 - - [11/Dec/2020:00:46:46 +0100] "GET /api/entries/exists.json?url=http://192.168.1.12:8282/plugins/dynamix.docker.manager/include/Events.php?action=log&container=f5ee5fb51b0d&title=Log%20for:%20wallabag HTTP/1.1" 500 83 "-" "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0" 2020/12/11 00:46:58 [error] 266#266: *53 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1 no such table: wallabag_internal_setting in /var/www/wallabag/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:67
  4. Issue has already been fixed and the docker updated. All is well.
  5. Brilliant, thanks! I'll keep my eye on the issue.
  6. It seems the latest update of the golinks docker failed for me. Is it possible for me to revert to the previous version of the docker? /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='golinks' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -p '8000:8000/tcp' 'prologic/golinks:latest' 266d22bc8926dbf457ba011dad3cdc4948733182ca677081804a3c4c41f40905 /usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: "/start.sh": permission denied": unknown.
  7. Hm, probably because I had no idea that I could! Thanks, that's a great tip! Yeah, sometimes I'll go for the easier route, when I just want things to work. Is this the best solution though? Or does a reverse proxy make more sense? I could just assign a unique IP address for NginxProxyManager and let that handle the rest, which would make it a bit easier for me to go back to exposing dockers to the internet in the future, should I want to do that (I'd need to know more about intrusion detection and prevention first..). I must admit that I enjoy poking at stuff for edutainment, but sometimes my other half just want things to work.
  8. Hello! I hope I'm posting in the right place - maybe this is a pfSense question. I am currently trying to assign FQDN to my docker containers running on my Unraid server. The reason is that I want to switch from exposing my dockers to the internet and instead connect to my LAN through OpenVPN for increased security. I have a pfSense router running my OpenVPN server. On my pfSense router I have rules to forward HTTP and HTTPS traffic to the NginxProxyManager on Unraid, and it's working as intended with certificates from LetsEncrypt. I have e.g. nextcloud.mydomain.com, piwigo.mydomain.com, freshrss.mydomain.com working perfectly. However, now that I want to switch to using OpenVPN and removing the pfSense rules to forward HTTP and HTTPS, I still want easy-to-remember FQDN on my dockers. For instance nextcloud.lan, piwigo.lan and freshrss.lan. I use the DNS resolver on pfSense and I know that DNS does not understand ports. I can easily add a host override and create unraid.lan that points to my Unraid server IP, but I can't wrap my brain around how to create the LAN hostnames/FQDN I want to use, as the dockers are running on various ports on the same IP. Am I making sense, by the way? I figured maybe NginxProxyManager could solve this for me, but I have no clue how to get started. My Google-fu has failed me and I mainly find information about how to setup a reverse proxy exposing docker containers to the internet. Any suggestions would be most helpful! Disclaimer: I am a networking noob. Unraid 6.8.3 pfSense 2.4.5-p1
  9. Can you please add gcp (Goffi's cp)? https://code.lm7.fr/mcy/gcp Thanks!
  10. Could you please update to the latest version of ncdu? Current version 1.12 that I can see is from August 2016, and 1.13 adds the nice --color flag option for dark terminal windows. Thanks!
  11. That's a great little addon! Thanks for the suggestion, it works for me. Some more user customization would be fantastic. I don't know if it's feasible though? Usage of ./golinks: -bind="0.0.0.0:8000": [int]:<port> to bind to -config="": config file -dbpath="search.db": database path -fqdn="localhost:8000": FQDN for public access -suggest="https://suggestqueries.google.com/complete/search?client=firefox&q=%s": default URL to retrieve search suggestions from -title="Search": OpenSearch title -url="https://www.google.com/search?q=%s&btnK": default URL to redirect to -v=false: display version information The ability to set the -url option to something else would be nice. Some people, myself included, try to avoid Google. So the ability to change the default -url from Google to something like DuckDuckGo (https://duckduckgo.com/?q=%s) would be most welcome.
  12. Question about the Golinks docker From what I can see, the run command is golinks -bind 127.0.0.1:8000 -fqdn localhost:8000 Firefox on my local computer uses the FQDN address set to localhost:8000 which obviously won't work as Golinks is running on my Unraid server. Chrome used the IP address and worked as it should. Is it possible to have the FQDN configurable so I can use "unraidbox:8000"? Or use IP only? Thanks!
  13. Nice! No rush to add it to your repo if you don't feel it's ready. The ArchiveBox project is likely to progress slowly due to the author not having too much time. It's an interesting project though! On the subject of bookmark managers/read it later tools, did you consider Shaarli as well? It's not very pretty, but it does look interesting, and development is somewhat active. https://github.com/shaarli/Shaarli https://shaarli.readthedocs.io/en/master/docker/docker-101/
  14. Your Shiori and Wallabag containers are great! If you're looking for another project, here's a tip - mainly because I'm curious about it! Archivebox: https://archivebox.io/ Docker info: https://github.com/pirate/ArchiveBox/wiki/Docker
  15. Hey! Thanks so much for the Wallabag docker. It works perfectly for me and no problems with NPM. I see that new user registration is enabled by default which may not be ideal for everyone. I added the variable SYMFONY__ENV__FOSUSER_REGISTRATION and set it to false which removes the option to self-register.
  16. Running into an issue with getting this docker started up. Have I missed anything obvious? root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='codimd' --net='bridge' --log-opt max-size='50m' --log-opt max-file='1' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e 'DB_HOST'='192.168.1.12' -e 'DB_PORT'='3306' -e 'DB_NAME'='codidb' -e 'DB_USER'='codimd' -e 'DB_PASS'='password' -e 'PUID'='99' -e 'PGID'='100' -p '3000:3000/tcp' -v '/mnt/user/appdata/codimd':'/config':'rw' 'linuxserver/codimd' da6074975cab5107f72c0f6849c8b746711ed65bcd9b49524160984f8a7f5ae5 The command finished successfully! The log shows this error, and the error is just repeated endlessly. [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] 01-envfile: executing... [cont-init.d] 01-envfile: exited 0. [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] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 99-custom-scripts: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-scripts: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [4mSequelize CLI [Node: 10.18.1, CLI: 5.5.0, ORM: 5.8.12][24m Loaded configuration file "../../config/config.json". [31mERROR:[39m getaddrinfo ENOTFOUND codimd codimd:3306 [4mSequelize CLI [Node: 10.18.1, CLI: 5.5.0, ORM: 5.8.12][24m Loaded configuration file "../../config/config.json". [31mERROR:[39m getaddrinfo ENOTFOUND codimd codimd:3306 [4mSequelize CLI [Node: 10.18.1, CLI: 5.5.0, ORM: 5.8.12][24m Loaded configuration file "../../config/config.json". [31mERROR:[39m getaddrinfo ENOTFOUND codimd codimd:3306 Thanks for a nice looking docker!
  17. That solved it, thanks! If others are missing libffi, it showed up for me after using "check for updates" in the nerdpack settings.
  18. Setuptools grabbed and a new error appears. Traceback (most recent call last): File "/usr/lib64/python3.8/site-packages/borg/archiver.py", line 41, in <module> from .archive import Archive, ArchiveChecker, ArchiveRecreater, Statistics, is_special File "/usr/lib64/python3.8/site-packages/borg/archive.py", line 20, in <module> from . import xattr File "/usr/lib64/python3.8/site-packages/borg/xattr.py", line 9, in <module> from ctypes import CDLL, create_string_buffer, c_ssize_t, c_size_t, c_char_p, c_int, c_uint32, get_errno File "/usr/lib64/python3.8/ctypes/__init__.py", line 7, in <module> from _ctypes import Union, Structure, Array ImportError: libffi.so.7: cannot open shared object file: No such file or directory
  19. Something happened - no idea what. Any suggestions? Traceback (most recent call last): File "/usr/bin/borg", line 6, in <module> from pkg_resources import load_entry_point ModuleNotFoundError: No module named 'pkg_resources'
  20. Being a noob with a fear of breaking things, I was wondering if anyone would be interested in creating a Shaarli docker for unraid? Information about Shaarli Shaarli docker documentation I'm looking for an easy to use, self-hosted solution to manage my bookmarks and this seems to fit the bill. Found on the "awesome self-hosted" list on Github.
  21. I'm just a home user, but I use borg backup to back up locally and then sync my local backup off-site using rclone. I'm using a modified version of this script to achieve what I want. You could also check out restic which can backup to a minio server or use rclone as backup target for other services. I have not tried or tested restic myself so your mileage may vary. In the pruning part of the script, you can see that 7 daily, 4 weekly and 6 monthly backups are kept. If I experienced a ransomware attack and needed to restore a file I would mount my borg backup archive, search for the filename of the affected file and see when it was changed/overwritten by comparing modification date and/or file size. Borg backup uses deduplication to save on storage space so there would be multiple instances of the same file in the different repositories.
  22. Traceback (most recent call last): File "/usr/bin/borg", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3017, in <module> @_call_aside File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside f(*args, **kwargs) File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3030, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 659, in _build_master ws.require(__requires__) File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 967, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 853, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'borgbackup==1.1.10' distribution was not found and is required by the application It didn't work so I reverted back to 1.1.4. Error message above.
  23. You're absolutely correct. I'm on 6.6.7 and I'll hold back on upgrading until the sqlite database corruption that showed up in 6.7.2 is figured out. Thanks for the link, I'll read through the borg changelog properly and upgrade.
  24. I'm wondering if it's possible to get the latest version of Borg backup in Nerd Tools? I'm seeing borgbackup-1.1.4-x86_64-2.txz. Earlier in this thread it says Borg was updated to version 1.1.10 but I'm still seeing 1.1.4. Thanks!
  25. Application directory: /system SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc) at SQLitePCL.pretty.StatementImpl.MoveNext() at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItem(IDatabaseConnection db, BaseItem item, Int64 topParentId, Int64 userDataKeyId, IStatement insertItemStatement, IStatement updateItemStatement) at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItemsInTranscation(IDatabaseConnection db, List`1 tuples) at Emby.Server.Implementations.Data.SqliteItemRepository.GetNewItemByName[T](IDatabaseConnection db, String name, Dictionary`2 providerIds, String imageUrl) at Emby.Server.Implementations.Data.SqliteItemRepository.CreateItemByNameId[T](IDatabaseConnection db, String name, Dictionary`2 providerIds, String imageUrl) at Emby.Server.Implementations.Data.SqliteItemRepository.MigrateTags(IDatabaseConnection db) at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, IUserManager userManager) at Emby.Server.Implementations.ApplicationHost.InitDatabases() at Emby.Server.Implementations.ApplicationHost.Init() at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken) Source: SQLitePCL.pretty TargetSite: Void CheckOk(SQLitePCL.sqlite3, Int32) Info Main: Shutdown complete [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting. Any idea what might cause the above errors? Thanks!