Zorb

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by Zorb

  1. For now I have it working this way: - installed borg with nerdtools plugin - installed ssh plugin - created a user per machine (e.g. macbookpro13) - create a share for this machine (could've used home folder come to think of it) - turn on ssh for this user, only giving access to before mentioned share) - generate seperate borg ssh id on client - ssh-copy-id with the borg ssh id - setup vorta ---- This works fine actually. But I do think it is a bit cumbersome, so wondering if there is indeed an easier way
  2. Hi there, My apologies if this has been answered many time. I tried some searches, but couldn't really find what I was looking for. I'm running vorta on different desktop clients (mostly mac) in my home. Want to add unraid as a remote backup repository. I'd like to have one ssh user with key authentication per client, with only read/write access to a subfolder so all backups are seperate. Is there an easy way to do this from unraid? (create ssh user, give it acces to only certain folder/share, and accept key that we use in borg) Thanks for your time !
  3. I'll dig deeper next time. But thanks for showing me what a friendly and helpful community this is. My trial was almost over and on the fence to buy or not. There are some caveats here and there (zfs support only when at least one normal array, turbo write things, custom plugins for ssd trimming etcetera) but there seems to be a solution for most of these things I came across either in the docs/forums/plugins and the forum users seem to be a helpful bunch of people! (long irrelevent story short; I'm buying.. it feels like a decent product with a nice community behind it. )
  4. Thank you! Worked perfectly. I feel I should've been able to figure this out myself. So thank you for taking the time to respond to my nooby question!
  5. Thanks! Will do that next time. For now added it in this reply. zorby-diagnostics-20210504-1532.zip
  6. Hi all; there are multiple topics on this subject, but I did not want to hijack a thread pointing to a different cause. After searching for multiple days I've found my postgress container is the one causing my first drive in the array (and parity) to not spin down anymore. Any idea what I might be able to do to fix this? Do I need to move the docker.img file somehow? or is it postgres specific? I really like the idea of consuming energy as much as possible by spinning down disks when I am not actively using my nas. Any help much appreciated.
  7. I had a similar issue with appdata for containers. this solved it for me, moved everything i was expecting. so THANK YOU! Does still seem to have an issue with .folderd (.icons in my case). Not an issue for me since those will be deleted anyway, but perhaps good to know. I see errors like: May 3 14:23:30 Zorby move: move: file /mnt/disk1/appdata/binhex-preclear/home/.icons/BLACK-Ice-Numix-FLAT/scalable/actions/reply-rtl-symbolic.svg May 3 14:23:30 Zorby move: move_object: /mnt/disk1/ Upon checking these files do actually exist.
  8. SUCCESSSSSS!!! 'serial' apparantly not being picked up correctly? removed it; which restarts/recreates the container, look in web interface: data immediatly! Thanks for your help! If you are going to change that setting let me know if you need me to test something
  9. Did an extra test from the console of DSMR; looks to be forwarded well also: > command: microcom /dev/ttyUSB0 > output: /ISK5\2M550T-1013 1-3:0.2.8(50) 0-0:1.0.0(210429180648S) 0-0:96.1.1(4530303534303037363738363237383230) 1-0:1.8.1(000725.696*kWh) 1-0:1.8.2(000729.424*kWh) 1-0:2.8.1(000000.000*kWh) 1-0:2.8.2(000000.000*kWh) 0-0:96.14.0(0002) 1-0:1.7.0(00.274*kW) 1-0:2.7.0(00.000*kW) 0-0:96.7.21(00005) 0-0:96.7.9(00002) 1-0:99.97.0() 1-0:32.32.0(00000) 1-0:52.32.0(00000) 1-0:72.32.0(00000) 1-0:32.36.0(00001) 1-0:52.36.0(00001) 1-0:72.36.0(00001) 0-0:96.13.0() 1-0:32.7.0(234.4*V) 1-0:52.7.0(234.8*V) 1-0:72.7.0(234.8*V) 1-0:31.7.0(000*A) 1-0:51.7.0(001*A) 1-0:71.7.0(000*A) 1-0:21.7.0(00.000*kW) 1-0:41.7.0(00.238*kW) 1-0:61.7.0(00.034*kW) 1-0:22.7.0(00.000*kW) 1-0:42.7.0(00.000*kW) 1-0:62.7.0(00.000*kW) 0-1:24.1.0(003) 0-1:96.1.0(4730303738353635353935353936383230) 0-1:24.2.1(210429180508S)(00739.963*m3) !55EA /ISK5\2M550T-1013 1-3:0.2.8(50) 0-0:1.0.0(210429180649S) 0-0:96.1.1(4530303534303037363738363237383230) 1-0:1.8.1(000725.696*kWh) 1-0:1.8.2(000729.424*kWh) 1-0:2.8.1(000000.000*kWh) 1-0:2.8.2(000000.000*kWh) 0-0:96.14.0(0002) 1-0:1.7.0(00.283*kW) 1-0:2.7.0(00.000*kW) 0-0:96.7.21(00005) 0-0:96.7.9(00002) 1-0:99.97.0() 1-0:32.32.0(00000) 1-0:52.32.0(00000) 1-0:72.32.0(00000) 1-0:32.36.0(00001) 1-0:52.36.0(00001) 1-0:72.36.0(00001) 0-0:96.13.0() 1-0:32.7.0(234.6*V) 1-0:52.7.0(235.0*V) 1-0:72.7.0(234.9*V) 1-0:31.7.0(000*A) 1-0:51.7.0(001*A) 1-0:71.7.0(000*A) 1-0:21.7.0(00.000*kW) 1-0:41.7.0(00.249*kW) 1-0:61.7.0(00.037*kW) 1-0:22.7.0(00.000*kW) 1-0:42.7.0(00.000*kW) 1-0:62.7.0(00.000*kW) 0-1:24.1.0(003) 0-1:96.1.0(4730303738353635353935353936383230) 0-1:24.2.1(210429180508S)(00739.963*m3) !96D9 /ISK5\2M550T-1013 1-3:0.2.8(50) 0-0:1.0.0(210429180650S) 0-0:96.1.1(4530303534303037363738363237383230) 1-0:1.8.1(000725.696*kWh) 1-0:1.8.2(000729.424*kWh) 1-0:2.8.1(000000.000*kWh) 1-0:2.8.2(000000.000*kWh) 0-0:96.14.0(0002) 1-0:1.7.0(00.275*kW) 1-0:2.7.0(00.000*kW) 0-0:96.7.21(00005) 0-0:96.7.9(00002) 1-0:99.97.0() 1-0:32.32.0(00000) 1-0:52.32.0(00000) 1-0:72.32.0(00000) 1-0:32.36.0(00001) 1-0:52.36.0(00001) 1-0:72.36.0(00001) 0-0:96.13.0() 1-0:32.7.0(234.8*V) 1-0:52.7.0(235.2*V) 1-0:72.7.0(235.0*V) 1-0:31.7.0(000*A) 1-0:51.7.0(001*A) 1-0:71.7.0(000*A) 1-0:21.7.0(00.000*kW) 1-0:41.7.0(00.241*kW) 1-0:61.7.0(00.034*kW) 1-0:22.7.0(00.000*kW) 1-0:42.7.0(00.000*kW) 1-0:62.7.0(00.000*kW) 0-1:24.1.0(003) 0-1:96.1.0(4730303738353635353935353936383230) 0-1:24.2.1(210429180508S)(00739.963*m3) !4C3E /ISK5\2M550T-1013 1-3:0.2.8(50) 0-0:1.0.0(210429180651S) 0-0:96.1.1(4530303534303037363738363237383230) 1-0:1.8.1(000725.696*kWh) 1-0:1.8.2(000729.424*kWh) 1-0:2.8.1(000000.000*kWh) 1-0:2.8.2(000000.000*kWh) 0-0:96.14.0(0002) 1-0:1.7.0(00.275*kW) 1-0:2.7.0(00.000*kW) 0-0:96.7.21(00005) 0-0:96.7.9(00002) 1-0:99.97.0() 1-0:32.32.0(00000) 1-0:52.32.0(00000) 1-0:72.32.0(00000) 1-0:32.36.0(00001) 1-0:52.36.0(00001) 1-0:72.36.0(00001) 0-0:96.13.0() 1-0:32.7.0(234.6*V) 1-0:52.7.0(235.0*V) 1-0:72.7.0(235.3*V) 1-0:31.7.0(000*A) 1-0:51.7.0(001*A) 1-0:71.7.0(000*A) 1-0:21.7.0(00.000*kW) 1-0:41.7.0(00.241*kW) 1-0:61.7.0(00.033*kW) 1-0:22.7.0(00.000*kW) 1-0:42.7.0(00.000*kW) 1-0:62.7.0(00.000*kW) 0-1:24.1.0(003) 0-1:96.1.0(4730303738353635353935353936383230) 0-1:24.2.1(210429180508S)(00739.963*m3) !25F4 /ISK5\2M550T-1013 1-3:0.2.8(50) 0-0:1.0.0(210429180652S) 0-0:96.1.1(4530303534303037363738363237383230) 1-0:1.8.1(000725.696*kWh) 1-0:1.8.2(000729.424*kWh) 1-0:2.8.1(000000.000*kWh) 1-0:2.8.2(000000.000*kWh) 0-0:96.14.0(0002) 1-0:1.7.0(00.275*kW) 1-0:2.7.0(00.000*kW) 0-0:96.7.21(00005) 0-0:96.7.9(00002) 1-0:99.97.0() 1-0:32.32.0(00000) 1-0:52.32.0(00000) 1-0:72.32.0(00000) 1-0:32.36.0(00001) 1-0:52.36.0(00001) 1-0:72.36.0(00001) 0-0:96.13.0() 1-0:32.7.0(234.6*V) 1-0:52.7.0(235.0*V) 1-0:72.7.0(235.1*V) 1-0:31.7.0(000*A) 1-0:51.7.0(001*A) 1-0:71.7.0(000*A) 1-0:21.7.0(00.000*kW) 1-0:41.7.0(00.240*kW) 1-0:61.7.0(00.034*kW) 1-0:22.7.0(00.000*kW) 1-0:42.7.0(00.000*kW) 1-0:62.7.0(00.000*kW) 0-1:24.1.0(003) 0-1:96.1.0(4730303738353635353935353936383230) 0-1:24.2.1(210429180508S)(00739.963*m3) !4EB0 /ISK5\2M550T-1013 1-3:0.2.8(50) 0-0:1.0.0(210429180653S) 0-0:96.1.1(4530303534303037363738363237383230) 1-0:1.8.1(000725.696*kWh) 1-0:1.8.2(000729.424*kWh) 1-0:2.8.1(000000.000*kWh) 1-0:2.8.2(000000.000*kWh) 0-0:96.14.0(0002) 1-0:1.7.0(00.270*kW) 1-0:2.7.0(00.000*kW) 0-0:96.7.21(00005) 0-0:96.7.9(00002) 1-0:99.97.0() 1-0:32.32.0(00000) 1-0:52.32.0(00000) 1-0:72.32.0(00000) 1-0:32.36.0(00001) 1-0:52.36.0(00001) 1-0:72.36.0(00001) 0-0:96.13.0() 1-0:32.7.0(234.5*V) 1-0:52.7.0(235.0*V) 1-0:72.7.0(235.0*V) 1-0:31.7.0(000*A) 1-0:51.7.0(001*A) 1-0:71.7.0(000*A) 1-0:21.7.0(00.000*kW) 1-0:41.7.0(00.242*kW) 1-0:61.7.0(00.032*kW) 1-0:22.7.0(00.000*kW) 1-0:42.7.0(00.000*kW) 1-0:62.7.0(00.000*kW) 0-1:24.1.0(003) 0-1:96.1.0(4730303738353635353935353936383230) 0-1:24.2.1(210429180508S)(00739.963*m3) !36C5 /ISK5\2M550T-1013
  10. A thousand percent; If I open up a bash shell on unraid I can do a ```screen /dev/ttyUSB0 115200``` and I actually see dsmr data scrolling by..
  11. Thanks for the 12.5 image!! The settings that come with it by default are the same I did earlier. Perhaps postgress 10 template had some issues. Anyways; Just to make sure I deleted al containers, added the 12.5 postgress from your repo, and after that added the dsmr one again (with a added custom device of /dev/ttyUSB0 ) Connection to postgress works perfectly now. And dsmrreader starts up with no errors. Yet still no data; do you know of a way to check what de dsmr deamon is doing?
  12. ps: DB name seems to be dsmrdb instead of dsmreaderDB
  13. Allright, I should've read more carefully. Sorry. I have a "iskra smr 5.0 am550-td2" -> SMR 5.0. I've tried with screen command on the unraid host on 115200 bauds and seems to work correctly. I can recheck with postgress 12 (or wait for your update in the repo ) Logs for dsmr stopping and starting: 2021-04-29 15:14:10,250 INFO exited: dsmr_datalogger (exit status 0; expected) 2021-04-29 15:14:10,737 INFO spawned: 'dsmr_datalogger' with pid 623 2021-04-29 15:14:12,343 INFO success: dsmr_datalogger entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-04-29 15:14:16,512 INFO exited: dsmr_datalogger (exit status 0; expected) 2021-04-29 15:14:17,515 INFO spawned: 'dsmr_datalogger' with pid 624 2021-04-29 15:14:18,580 INFO success: dsmr_datalogger entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-04-29 15:14:23,280 INFO exited: dsmr_datalogger (exit status 0; expected) 2021-04-29 15:14:24,282 INFO spawned: 'dsmr_datalogger' with pid 625 2021-04-29 15:14:25,944 INFO success: dsmr_datalogger entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-04-29 15:14:30,058 INFO exited: dsmr_datalogger (exit status 0; expected) 2021-04-29 15:14:30,381 INFO spawned: 'dsmr_datalogger' with pid 626 2021-04-29 15:14:32,045 INFO success: dsmr_datalogger entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-04-29 15:14:36,160 INFO exited: dsmr_datalogger (exit status 0; expected) 2021-04-29 15:14:36,472 INFO spawned: 'dsmr_datalogger' with pid 627 2021-04-29 15:14:38,136 INFO success: dsmr_datalogger entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-04-29 15:14:42,249 INFO exited: dsmr_datalogger (exit status 0; expected) 2021-04-29 15:14:42,464 INFO spawned: 'dsmr_datalogger' with pid 628 Operations to perform: Apply all migrations: admin, auth, contenttypes, dsmr_api, dsmr_backend, dsmr_backup, dsmr_consumption, dsmr_datalogger, dsmr_dropbox, dsmr_frontend, dsmr_influxdb, dsmr_mindergas, dsmr_mqtt, dsmr_notification, dsmr_pvoutput, dsmr_stats, dsmr_weather, sessions Running migrations: No migrations to apply. 0 static files copied to '/var/www/dsmrreader/static', 562 unmodified. Updating password of superuser "admin" Deactivating any other existing superusers 2021-04-29 15:16:07,061 INFO Set uid to user 0 succeeded 2021-04-29 15:16:07,367 INFO RPC interface 'supervisor' initialized 2021-04-29 15:16:07,367 INFO supervisord started with pid 16 2021-04-29 15:16:07,061 INFO Set uid to user 0 succeeded 2021-04-29 15:16:07,367 INFO RPC interface 'supervisor' initialized 2021-04-29 15:16:07,367 INFO supervisord started with pid 16 2021-04-29 15:16:08,369 INFO spawned: 'dsmr_backend' with pid 18 2021-04-29 15:16:08,371 INFO spawned: 'dsmr_datalogger' with pid 19 2021-04-29 15:16:08,373 INFO spawned: 'dsmr_webinterface' with pid 20 2021-04-29 15:16:08,375 INFO spawned: 'nginx' with pid 21 2021-04-29 15:16:10,236 INFO success: dsmr_backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-04-29 15:16:10,236 INFO success: dsmr_datalogger entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-04-29 15:16:10,236 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-04-29 15:16:12,238 INFO success: dsmr_webinterface entered RUNNING state, process has stayed up for > than 3 seconds (startsecs) 2021-04-29 15:16:14,355 INFO exited: dsmr_datalogger (exit status 0; expected) 2021-04-29 15:16:15,358 INFO spawned: 'dsmr_datalogger' with pid 27 2021-04-29 15:16:15,358 INFO spawned: 'dsmr_datalogger' with pid 27 2021-04-29 15:16:17,015 INFO success: dsmr_datalogger entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-04-29 15:16:17,015 INFO success: dsmr_datalogger entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-04-29 15:16:21,128 INFO exited: dsmr_datalogger (exit status 0; expected) 2021-04-29 15:16:21,128 INFO exited: dsmr_datalogger (exit status 0; expected) 2021-04-29 15:16:22,131 INFO spawned: 'dsmr_datalogger' with pid 28 2021-04-29 15:16:23,792 INFO success: dsmr_datalogger entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-04-29 15:16:27,916 INFO exited: dsmr_datalogger (exit status 0; expected) 2021-04-29 15:16:28,919 INFO spawned: 'dsmr_datalogger' with pid 29 2021-04-29 15:16:30,571 INFO success: dsmr_datalogger entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
  14. Even when I add device in the ui of unraid, still does not seem to do anything in DSMReader webui: See end command now adds the device: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='DSMRReader' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e 'DJANGO_DATABASE_HOST'='192.168.178.60' -e 'DSMRREADER_ADMIN_USER'='admin' -e 'DSMRREADER_ADMIN_PASSWORD'='dsmrreader' -e 'DATALOGGER_MODE'='standalone' -e 'DATALOGGER_INPUT_METHOD'='serial' -e 'DATALOGGER_SERIAL_PORT'='/dev/ttyUSB0' -e 'DATALOGGER_SERIAL_BAUDRATE'='115200' -e 'VIRTUAL_HOST'='localhost' -e 'DJANGO_DATABASE_PORT'='5432' -e 'DJANGO_DATABASE_NAME'='dsmrdb' -e 'DATALOGGER_SLEEP'='10' -e 'PUID'='99' -e 'PGID'='100' -e 'SD_USER'='nobody' -e 'SD_GROUP'='users' -p '7777:80/tcp' -v '/mnt/user/appdata/dsmr-reader/backups':'/home/dsmr/app/backups':'rw' --device='/dev/ttyUSB0' 'xirixiz/dsmr-reader-docker' 81968b755bf127210e7d0ccd2cbdd12e4c1af42bda4c33a93ee1b228135f8bd6 In the console of the DSMR container I can see that it now indeed has a /dev/ttyUSB0 .. but still no data. Has this been tested on serial, or are you doing networkbased yourself?
  15. @Flight777 when using serial device; shouldn;t the container be started with the --device flag to map my locak /dev/ttyUSB to the container device? root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker create --name='DSMRReader' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e 'DJANGO_DATABASE_HOST'='192.168.178.60' -e 'DSMRREADER_ADMIN_USER'='admin' -e 'DSMRREADER_ADMIN_PASSWORD'='dsmrreader' -e 'DATALOGGER_MODE'='standalone' -e 'DATALOGGER_INPUT_METHOD'='serial' -e 'DATALOGGER_SERIAL_PORT'='/dev/ttyUSB0' -e 'DATALOGGER_SERIAL_BAUDRATE'='115200' -e 'VIRTUAL_HOST'='localhost' -e 'DJANGO_DATABASE_PORT'='5432' -e 'DJANGO_DATABASE_NAME'='dsmrdb' -e 'DATALOGGER_SLEEP'='10' -e 'PUID'='99' -e 'PGID'='100' -e 'SD_USER'='nobody' -e 'SD_GROUP'='users' -p '7777:80/tcp' -v '/mnt/user/appdata/dsmr-reader/backups':'/home/dsmr/app/backups':'rw' 'xirixiz/dsmr-reader-docker' 8af852d990ea4bd6e8ffea19d27a99024afdefc6ef83e3aa786282d77f9e6170
  16. On Unraid the p1 seems to work; I get data if I screen on my unraid bash console: `root@Zorby:~# screen /dev/ttyUSB0 115200` -- snip -- 1-0:71.7.0(000*A) 1-0:21.7.0(00.000*kW) 1-0:41.7.0(00.240*kW) 1-0:61.7.0(00.082*kW) 1-0:22.7.0(00.000*kW) 1-0:42.7.0(00.000*kW) 1-0:62.7.0(00.000*kW) 0-1:224.2.1(210429133508S)(00737.535*m3) !5A1C 0-0:96.13.0() 1-0:32.7.0(233.4*V) 1-0:52.7.0(2/ISK5\2M550T-1013 1-3:0.2.8(50) 0-0:1.0.0(210429133948S) 0-0:96.1.1(4530303534303037363738363237383230) 1-0:1.8.1(000725.696*kWh) -- snip -- DSMR settings point to this USB with same baudrate: But does not seem to work. For completion btw this is my postgress setting now:
  17. Sure thing. I feel like a complete and utter noob in unraid though; When I switch from basic to advanced view i'd expect the XML to popup somewhere. It doesn't however. I'll digg through the filesystem to check where the xml's are stored (tips welcome )
  18. Thanks for responding so quickly! I've managed to get it working now - I deleted everything and started from scratch. - Left postgress (10) template on default settings in the template (postgres/postgres/postgres for user/pass/db - Used pgadmin4 to create a user 'dsmrreader' - Used pgadmin4 to create a db 'dsmrdb' Started dsmrreader container again and it works now. (I thought I could just fill out the postgress template to have dsmrreader etc; but perhaps this should've been the way all along)
  19. Seems to be something wrong with postgress docker; whatever I set in the template, user/pass will always remain to be postgres/postgres. So I'll try to go the manual create DB route.
  20. Thanks for these apps/docker templates. I tried setting up dsrmreader; but the user/pass/db mentioned in the text info is different from what I see in the xml in your github. apart from that i created a new postgress11 with different combinations in the user/pass/db fields for postgress but I continously get the following errors in postgress logs: 2021-04-29 11:40:24.177 CEST [77] DETAIL: Role "dsmrreader" does not exist. Connection matched pg_hba.conf line 95: "host all all all md5" 2021-04-29 11:40:25.941 CEST [78] FATAL: password authentication failed for user "dsmrreader" 2021-04-29 11:40:25.941 CEST [78] DETAIL: Role "dsmrreader" does not exist. can you do a quick write up how to configure these 2 to work together? would be much appreciated (do I need to manually add a db in postgress instead of setting the postgress template settings to above mentioned credentials?)
  21. Zorb

    Turbo write

    I have, just wanted to make sure the plugin is still needed, since this thread, and the part I quoted was from 2016 (!)
  22. Zorb

    Turbo write

    Am I correct in assuming this is still on the wishlist of things to implement? given the mention of a plugin in the last page of this thread?
  23. That looks good; have you played with it yet?