jowi

Members
  • Posts

    1192
  • Joined

  • Last visited

Everything posted by jowi

  1. I'm waiting for 6.9, i'm not very keen on the issue with VM's and Docker containers using static IP addresses both running on the same host network interface that is in (all?) versions after 6.5. But at least now i know why i can't find the plugin anymore.
  2. I've looked again and again, but... WHERE is it? It doesnt show up anywhere in the Apps section? If i search for it, it doesn't show up? Has it been removed?
  3. From the 6.8 release: "Linux kernel We started 6.8 development and initial testing using Linux 5.x kernel. However there remains an issue when VM's and Docker containers using static IP addresses are both running on the same host network interface. This issue does not occur with the 4.19 kernel. We are still studying this issue and plan to address it in the Unraid 6.9 release." Is this (or will this be) solved in this release?
  4. I think i'm gonna reuse my original code (it was ported from c# to python) and create an asp.net core (blazor) docker for this, and run this on unraid. I don't like python anyway. Language is nice but it is always complaining about tabs and spaces and indentation, what a joke.
  5. I've been running a python daemon based upon: https://gist.github.com/dcai/1075904/6f7be00f7f411d5c2e7cd1691dcbb68efacb789c for some years (!) now, but since i've relocated (and rebooted) my unraid machine, the daemon won't start anymore? The calling code (look at demo code) calls daemon.start() and then should start self.run() where the actual code loop lives, but it looks like it doesn't get that far. Also no exceptions or anything. The pid is created, and i get back to the prompt... and when i stop the daemon (python democode.py stop) it does remove the pid file... but if i add print comments in daemon.start() etc it does not get executed... i'm running unraid 6.5.3, ever since it came out, and also the daemon ran without issues. Literally for years, also with previous versions. Also, if i rebooted, the go file just started the daemon as well without any issues, for years on end, but now... something is broken. I have no clue. Or does it have anything to do with python 2 becoming obsolete? (The actual daemon checks my Pioneer Kuro for some settings and power modes)
  6. Thanks. Script throws a few permission denied errors but basically gives a good idea. Script location: /tmp/user.scripts/tmpScripts/docker image size/script Note that closing this window will abort the execution of this script binhex-sabnzbdvpn Size: 843M Logs: 3.1kB binhex-sonarr Size: 967M Logs: 2.7kB mariadb Size: 355M Logs: 1.3kB openvpn-as Size: 325M Logs: 3.3kB pihole Size: 300M Logs: 6.5kB du: cannot read directory '/etc/ssl/private': Permission denied du: cannot read directory '/root': Permission denied du: cannot read directory '/var/cache/apt/archives/partial': Permission denied du: cannot read directory '/var/cache/ldconfig': Permission denied SQLServer Size: 1.4G Logs: 8.9kB unifi-controller Size: 513M Logs: 1.1kB RoonServer Size: 485M Logs: 301.0B Collabora Size: 1.4G Logs: 190.6kB letsencrypt Size: 291M Logs: 3.1kB nextcloud Size: 322M Logs: 1.5kB
  7. Mmmm... can't find that button. But running 'docker image' gives a table with size of each docker in the image, correct? Just adding all those together shows the actual usage? (so in my case just under 10GB) root@UNRAID:/mnt/disk9# docker images REPOSITORY TAG IMAGE ID CREATED SIZE linuxserver/mariadb latest 89cbf8bab79b 18 hours ago 350MB linuxserver/unifi-controller latest 4c5c990a93e1 19 hours ago 537MB linuxserver/openvpn-as latest 4c41233e16d6 3 days ago 359MB linuxserver/nextcloud latest f620513ee3dd 3 days ago 319MB linuxserver/letsencrypt latest 8eb7c8bcd33c 4 days ago 271MB collabora/code latest 801fe8cc1513 8 days ago 1.54GB dlandon/logitechmediaserver latest f2b6215facab 5 weeks ago 1.09GB mcr.microsoft.com/mssql/server latest ba266fae5320 5 weeks ago 1.57GB binhex/arch-sabnzbdvpn latest 8d045ac54092 7 weeks ago 822MB pihole/pihole latest 14a0e4dc477d 2 months ago 304MB binhex/arch-sonarr latest 4e0220652ddd 3 months ago 994MB linuxserver/sickrage latest 641996612c98 6 months ago 286MB steefdebruijn/docker-roonserver latest 0c039b9bbc13 8 months ago 488MB bizmodeller/mymediaforalexa latest 1e19ddafd74b 9 months ago 111MB root@UNRAID:/mnt/disk9#
  8. Related question; i panicked a bit yesterday and increased the docker.img from 20 to 40GB, but now, the day after, i don’t think that is neccesary and way too large. Now i know how to shrink (stop docker, delete, recreate with a smaller size and reinstall from CA) but how do i know what a good docker.img size is? Is there a docker command that shows the actual usage of the docker.img?
  9. Looks like i'm back in business thanks guys! 👍
  10. I am missing a network config 'proxynet', i guess have to rewatch spaceinvaderone's video's on letsencrypt, nextcloud etc. to see how that was done.
  11. Ok, a docker crisis was not my idea of a relaxed saturday night but i stopped docker, had it delete the image, made a new one, and indeed, in CA all of the dockers showed up, and i could just sit back, relax, and re-install... fantastic!!! 😎 As far as i can see everything is running, will test everything now just to be sure.
  12. So am i correct in thinking that if i delete the docker.img, then all of my 13 dockers will show up in 'previous apps'? Because at the moment previous apps only show 2 dockers that are NOT installed.... roon, and the non-vpn version of sabnzbd...
  13. If i go to CA -> previous apps, i only see 2 of my dockers, not all current 13?
  14. But arent those templates the same ones that are show in the docker tab dropdown list when you want to add a new docker? I used that last week to add a docker i removed before, and it installed it with all previous settings as well.
  15. Thanks! So, stop docker, delete the image, and reinstall from CA... are you sure it will use all my settings? That would be perfect... reinstalling everything from scratch is a lot of work... Could you also select the dockers from the docker template dropdownlist in the docker tab to reinstall them? Or is CA the only way?
  16. My dockers are behaving strangely all of a sudden. Some won't start? My roon docker is even gone missing... I can see errors in the syslog: Dec 7 19:31:58 UNRAID kernel: CPU: 5 PID: 7990 Comm: btrfs-cleaner Not tainted 4.14.49-unRAID #1 Dec 7 19:31:58 UNRAID kernel: Call Trace: Dec 7 19:31:58 UNRAID kernel: BTRFS error (device loop2): unable to find ref byte nr 17375232 parent 0 root 1187 owner 5369 offset 0 Dec 7 19:31:58 UNRAID kernel: BTRFS: Transaction aborted (error -2) Dec 7 19:31:58 UNRAID kernel: CPU: 5 PID: 7990 Comm: btrfs-cleaner Tainted: G W 4.14.49-unRAID #1 Dec 7 19:31:58 UNRAID kernel: Call Trace: Dec 7 19:31:58 UNRAID kernel: BTRFS: error (device loop2) in __btrfs_free_extent:7081: errno=-2 No such entry Dec 7 19:31:58 UNRAID kernel: BTRFS: error (device loop2) in btrfs_run_delayed_refs:3089: errno=-2 No such entry Dec 7 19:31:58 UNRAID kernel: BTRFS error (device loop2): pending csums is 4096 Dec 7 19:33:02 UNRAID root: error: /webGui/include/Notify.php: wrong csrf_token attached diagnostics as well... what is wrong? My dockers etc are all running from my ssd (cache) disk. Is it corrupt? Can it be fixed without re-installing and configuring everything? What is going on? unraid-diagnostics-20191207-1942.zip
  17. Ok... did not realize this was a stupid question. I leave it as is then.
  18. What is needed to add a container like this to the main page of Community Applications?
  19. Try stopping and restartng it, the logo might show up after all. I had the icon in the dockerman/images folder at first, but it could not find it... now i point to some online icon. Will try changing that as well, don’t want to point to an online icon. But i’m glad the docker is working
  20. After removing the docker and re-installing it, all seems to be ok. Path is now also showing, so i think i'm good. For completeness and for others, here are the settings and the xml. <?xml version="1.0"?> <Container version="2"> <Name>SQLServer</Name> <Repository>mcr.microsoft.com/mssql/server</Repository> <Registry>https://hub.docker.com/_/microsoft-mssql-server</Registry> <Network>bridge</Network> <MyIP/> <Privileged>false</Privileged> <Support>https://hub.docker.com/_/microsoft-mssql-server</Support> <Project/> <Overview>The official MSSQL container from the new mcr.microsoft.com repository. Converted By Community Applications Always verify this template (and values) against the dockerhub support page for the container</Overview> <Category/> <WebUI/> <TemplateURL/> <Icon>http://www.xydata.co.uk/wp-content/uploads/2016/02/SQL-Server-250x250.jpg</Icon> <ExtraParams/> <PostArgs/> <DateInstalled>1575384584</DateInstalled> <DonateText/> <DonateLink/> <Description>The official MSSQL container from the new mcr.microsoft.com repository. Converted By Community Applications Always verify this template (and values) against the dockerhub support page for the container</Description> <Networking> <Mode>bridge</Mode> <Publish> <Port> <HostPort>1433</HostPort> <ContainerPort>1433</ContainerPort> <Protocol>tcp</Protocol> </Port> </Publish> </Networking> <Data> <Volume> <HostDir>/mnt/cache/appdata/SqlServer/database/</HostDir> <ContainerDir>/var/opt/mssql/data</ContainerDir> <Mode>rw</Mode> </Volume> </Data> <Environment> <Variable> <Value>P@ssw0rd</Value> <Name>SA_PASSWORD</Name> <Mode/> </Variable> <Variable> <Value>Y</Value> <Name>ACCEPT_EULA</Name> <Mode/> </Variable> </Environment> <Labels/> <Config Name="TCP_1433" Target="1433" Default="" Mode="tcp" Description="TCP port for SQL Communication" Type="Port" Display="always" Required="false" Mask="false">1433</Config> <Config Name="SA_PASSWORD" Target="SA_PASSWORD" Default="" Mode="" Description="Container Variable: SA_PASSWORD" Type="Variable" Display="always" Required="false" Mask="false">P@ssw0rd</Config> <Config Name="ACCEPT_EULA" Target="ACCEPT_EULA" Default="" Mode="" Description="Container Variable: ACCEPT_EULA" Type="Variable" Display="always" Required="false" Mask="false">Y</Config> <Config Name="PersistentStorage" Target="/var/opt/mssql/data" Default="" Mode="rw" Description="Storage location of SQL Server persistent database files" Type="Path" Display="always" Required="false" Mask="false">/mnt/cache/appdata/SqlServer/database/</Config> </Container>
  21. Thanks, will do that later today.
  22. What i did not realize was that if you map an external folder to an existing 'internal' container folder, the internal folder gets replaced by the external one... until now i've just added external folders to containers so they became available in the container as an additional folder, like /music for /mnt/disk1/music etc. The added/mapped folder no longer shows up, also not when moving the slider to advanced or 'show more settings'. It does however is stored in the dockerman xml file, and if i stop/restart the container it is still mapped and used.
  23. I don't think mapping is enough? If i map it, the docker has access to it; but i need to tell sql server that it actually has to use the mapped path in stead of the (internal) /var/opt/mssql/data. By the looks of it, this can be done by adding some other environment variable which will be used by startup of mssql, that is something i have to check and figure out. *edit* i did not think just mapping e.g. /appdate/sqlserver to the container's /var/opt/mssql/data would work but it does i thought with adding paths this way you would just 'create' access to an external path, but in fact it replaces the path inside the container? So my /mnt/cache/appdata/sqlserver is actually replacing the container's '/var/opt/mssql/data'? Anyway, this works, but... for some reason, if you restart the docker, the path i just added in dockerman, is no longer in the settings? Environment paramters like SA_PASSWORD and ACCEPT_EULA are still there but the path is gone... SQL Server is still using /cache/appdata so that is ok...
  24. Will try that later today or in the next couple of days, i will report back