Adding new devices doesn't work

Free domotica! Forums How can I …? Synology NAS Adding new devices doesn't work

This topic contains 32 replies, has 3 voices, and was last updated by Miss Laura Miss Laura 1 year, 2 months ago.

Viewing 15 posts - 1 through 15 (of 33 total)
  • Author
    Posts
  • #3429

    teeltom
    Participant

    Hi
    i own a Synology DS216j and was fooling around with Pulsestation.
    I came pretty far until now:
    -1 Z Wave Usb Stick (attached as /dev/ttyACM0), working.
    At least i think so, because when i click on Controller commands -> Add device, it starts blinking
    -MariaDB installed, DB created

    What fuzzes me is, that when i click “Add device” on any service, (like Yahoo Weather, Virtual Devices….) this arrows keep rotating, but nothing happens. Same is when i click on add backup.
    I can see that something is happening in the background, because in the PulseStationDB’s table DEVICES_DATA there are now >1000 data sets, all named yfinance-1(2.3..) or yweather-1(1,2,3,4…..).
    I still dont own real zwave devices (except the controller stick) but at least playing around with virtual devices, or iffft services or the Yahoo weather or …. should work, shouldn’t it?
    What can i do about this?

    Tom

    #3430

    xcasamia
    Participant

    My this help…. (I’have got ds115j + aetotec gen5 + everspring msensor…. …. lot problem)

    1) Login to DSM as admin
    2) Go to configuration / Terminal and SNMP
    3) Tick the checkbox to enable SSH
    4) Press the OK (save button)
    5) If it asks to allow in the firewall, then allow connections to SSH

    Now on your computer, you can SSH connect to your synology.

    Mac
    To start Terminal, go to your Mac’s Applications folder => click on the Utilities folder => then click on Terminal.
    Inside terminal enter following command:
    ssh admin@your.synology.ip

    Windows
    Download putty or Bitvise SSH Client (my preference).
    Then enter your synology ip, login (admin) and password.

    Post Link: https://www.pulse-station.com/nl/forums/topic/synolog-nas-ver-6-0/#post-3295

    Thank you all

    #3433

    teeltom
    Participant

    I’m sorry i forgot:
    of course i did the DSM6 workaround successfully

    Tom

    #3434
    Miss Laura
    Miss Laura
    Moderator

    Can you check in your browser console whether any error’s appear?
    It sounds like it keeps spinning because of error’s somewhere.

    Also no special error’s in the core service log?

    Have fun,
    Laura

    #3437

    teeltom
    Participant

    Ah ok here we go:
    i get lots of errors like this in the console (seems one per second, batmobil is the fqdn of my nas):
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771232557 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771232557 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771232557 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771232557 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771232557 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771242558 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771242558 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771242558 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771242558 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771242558 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771242558 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771242558 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771242558 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464771242558 404 (Not Found)

    This comes when i click on a service
    Deprecated call to Blockly.updateToolbox, use workspace.updateToolbox instead.
    angular.js:12477 TypeError: Cannot read property ‘updateToolbox’ of null
    at Object.Blockly.updateToolbox (blockly_compressed.js:1305)
    at Object.d.removeToolbox (PulseStation-admin.min.js:1)
    at PulseStation-admin.min.js:1
    at n.$broadcast (angular.js:16311)
    at angular-route.js:619
    at angular.js:14745
    at n.$eval (angular.js:15989)
    at n.$digest (angular.js:15800)
    at n.$apply (angular.js:16097)
    at HTMLHtmlElement.<anonymous> (angular.js:12226)

    These are the last core serivices log entries:
    2016-06-01 10:54:00.385 vdevices : Message received – 1|vdevices|vdevices|CHECKPERIODIC|1464771240237|276fc2cdc7b02cc98f0ca387bcacbe78
    2016-06-01 10:54:00.443 vdevices : Message received – 1|vdevices|vdevices|CHECKPERIODIC|1464771240282|c211d8d1ebb4eae11e2aec48537d8832
    2016-06-01 10:54:00.814 scene : Message received – 1|scene|scene|CHECKSCENESPERIODIC|1464771240628|afbcac021c1b8962d8efae479d5074ca
    2016-06-01 10:54:00.914 vdevices : Message received – 1|vdevices|vdevices|CHECKPERIODIC|1464771240761|db894e752c6298b7be6e2836f135b8cd
    2016-06-01 10:54:01.024 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:54:01.039 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:54:01.402 Message In Core : 9|afbcac021c1b8962d8efae479d5074ca|3|scene|HUB|1|CHECKSCENEPERIODIC_OK
    2016-06-01 10:54:02.176 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:54:02.267 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:54:11.181 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:54:11.270 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:54:12.121 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:54:12.202 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:54:21.124 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:54:21.206 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:54:22.062 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:54:22.140 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:54:31.071 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:54:31.149 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:54:32.007 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:54:32.087 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:54:41.010 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:54:41.091 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:54:41.946 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:54:42.025 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:54:51.030 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:54:51.800 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:54:51.950 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:54:52.722 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:55:00.360 vdevices : Message received – 1|vdevices|vdevices|CHECKPERIODIC|1464771300218|15de4c67e74eaaf5455848896b6f0cc6
    2016-06-01 10:55:00.398 vdevices : Message received – 1|vdevices|vdevices|CHECKPERIODIC|1464771300218|15de4c67e74eaaf5455848896b6f0cc6
    2016-06-01 10:55:00.916 scene : Message received – 1|scene|scene|CHECKSCENESPERIODIC|1464771300644|c22d18dee215d1bb9ab49f48066a442d
    2016-06-01 10:55:01.068 vdevices : Message received – 1|vdevices|vdevices|CHECKPERIODIC|1464771300805|a06493296f5575bb22ba6ff34bd88f10
    2016-06-01 10:55:01.351 Message In Core : 9|c22d18dee215d1bb9ab49f48066a442d|3|scene|HUB|1|CHECKSCENEPERIODIC_OK
    2016-06-01 10:55:01.736 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:55:01.818 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:55:02.817 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:55:02.817 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:55:11.820 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:55:11.820 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:55:12.820 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:55:12.833 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:55:21.824 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:55:21.858 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:55:22.871 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:55:22.886 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:55:31.880 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:55:31.895 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:55:32.873 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:55:32.937 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:55:41.876 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:55:41.941 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:55:42.936 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:55:42.971 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:55:51.939 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:55:51.975 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:55:52.894 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:55:52.913 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:56:00.413 vdevices : Message received – 1|vdevices|vdevices|CHECKPERIODIC|1464771360242|57891530b45a2fdae7d5639b14a335d3
    2016-06-01 10:56:00.416 vdevices : Message received – 1|vdevices|vdevices|CHECKPERIODIC|1464771360245|95b07538c80ad45c61137f77d30d60de
    2016-06-01 10:56:00.844 scene : Message received – 1|scene|scene|CHECKSCENESPERIODIC|1464771360668|72bb15a17f8d4d91aec3494906acb5f3
    2016-06-01 10:56:01.011 vdevices : Message received – 1|vdevices|vdevices|CHECKPERIODIC|1464771360801|080cafd6fbc87df1789dd2d07e55756c
    2016-06-01 10:56:01.353 Message In Core : 9|72bb15a17f8d4d91aec3494906acb5f3|3|scene|HUB|1|CHECKSCENEPERIODIC_OK
    2016-06-01 10:56:01.917 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:56:01.933 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:56:02.864 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:56:02.888 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:56:11.868 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:56:11.892 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:56:12.806 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:56:12.837 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:56:21.809 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:56:21.841 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:56:22.748 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:56:22.771 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:56:31.756 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:56:31.780 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:56:32.700 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:56:32.714 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:56:41.706 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:56:41.717 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:56:42.652 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:56:42.659 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:56:51.655 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:56:51.662 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:56:52.588 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:56:52.595 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:57:00.443 vdevices : Message received – 1|vdevices|vdevices|CHECKPERIODIC|1464771420266|8363450f21d922c33ad4bae893105cb9
    2016-06-01 10:57:00.443 vdevices : Message received – 1|vdevices|vdevices|CHECKPERIODIC|1464771420265|ec6029503b7d98c272c9f65dc7706103
    2016-06-01 10:57:00.945 scene : Message received – 1|scene|scene|CHECKSCENESPERIODIC|1464771420709|95bcb468027cebf25bbffb46b1a974ed
    2016-06-01 10:57:01.051 vdevices : Message received – 1|vdevices|vdevices|CHECKPERIODIC|1464771420897|c05509fbed02815fc9dbc249b7277727
    2016-06-01 10:57:01.350 Message In Core : 9|95bcb468027cebf25bbffb46b1a974ed|3|scene|HUB|1|CHECKSCENEPERIODIC_OK
    2016-06-01 10:57:01.597 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:57:01.612 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:57:02.562 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:57:02.582 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:57:11.566 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:57:11.585 Forwarding message : 0|HUB|HUB|AUTORESTART
    2016-06-01 10:57:12.526 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
    2016-06-01 10:57:12.539 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)

    #3438

    teeltom
    Participant

    Here are the 404 errors again, but better readable. They are always the same

    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data//core.json?d=1464771802961 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097(anonymous function) @ angular.js:11292
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data//core.json?d=1464771812961 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097(anonymous function) @ angular.js:11292

    #3439
    Miss Laura
    Miss Laura
    Moderator

    Hi,

    Only your first error’s are real error’s, the 404 means a crucial file cannot be found.
    Can you check this identification.js file exists in the PulseStation/data folder?
    Can you try chmodding it to 777 so everybody can access it?

    Or are you using a different port to access your PulseStation and is that missing in the url?

    Have fun,
    Laura

    #3440

    teeltom
    Participant

    Hi Laura
    perhaps that is the cause: i have no identification.js in the PulseStation/data folder.
    I am using port 80
    Rights are as follows:

    admin@batmobil:/volume1/web/PulseStation$ ls -al
    total 100
    drwxrwxrwx 19 root root 4096 May 29 15:44 .
    drwxrwxrwx 8 root root 4096 Jun 1 07:28 ..
    drwxrwxrwx 11 root root 4096 May 29 15:44 administration
    drwxrwxrwx 3 root root 4096 May 29 15:44 blockly_src
    -rwxrwxrwx 1 root root 1592 May 29 15:44 .buildpath
    -rwxrwxrwx 1 root root 185 May 29 15:44 .classpath
    drwxrwxrwx 4 root root 4096 May 29 15:44 css
    drwxrwxrwx 4 root root 4096 May 30 15:55 data
    drwxrwxrwx 7 root root 4096 May 29 15:44 help
    drwxrwxrwx 2 root root 4096 May 29 15:44 images
    -rwxrwxrwx 1 root root 4094 May 29 15:44 index.html
    drwxrwxrwx 2 root root 4096 May 29 15:44 lang
    drwxrwxrwx 12 root root 4096 May 29 15:44 lib
    drwxrwxrwx 16 root root 4096 May 31 09:46 modules
    drwxrwxrwx 2 root root 4096 May 29 15:44 pages
    -rwxrwxrwx 1 root root 1100 May 29 15:44 .project
    drwxrwxrwx 10 root root 4096 May 31 09:33 services
    drwxrwxrwx 2 root root 4096 May 29 15:44 .settings
    drwxrwxrwx 2 root root 4096 May 31 16:03 setup
    drwxrwxrwx 2 root root 4096 May 29 15:44 static
    -rwxrwxrwx 1 root root 111 May 29 15:44 .tern-project
    drwxrwxrwx 2 root root 4096 May 31 09:46 tmp
    drwxrwxrwx 2 root root 4096 May 29 15:52 usr
    drwxrwxrwx 3 root root 4096 May 29 15:44 utils

    and inside the data directory:
    admin@batmobil:/volume1/web/PulseStation/data$ ls -al
    total 100
    drwxrwxrwx 4 root root 4096 Jun 1 11:25 .
    drwxrwxrwx 19 root root 4096 May 29 15:44 ..
    -rw-r–r– 1 http http 3128 Jun 1 10:49 backup.json
    -rw-r–r– 1 http http 3106 Jun 1 10:52 database.json
    -rw-r–r– 1 http http 2459 May 30 11:05 google.json
    -rw-r–r– 1 http http 1169 May 30 10:10 ifttt.json
    -rw-r–r– 1 http http 1591 May 30 10:33 pushover.json
    drwxrwxrwx 2 root root 4096 May 30 10:58 scenes
    -rw-r–r– 1 http http 1539 May 30 15:55 sonos.json
    drwxrwxrwx 2 root root 4096 May 30 15:56 templates
    -rw-r–r– 1 admin users 0 Jun 1 11:25 test
    -rw-r–r– 1 http http 4678 Jun 1 11:25 vdevices.json
    -rw-r–r– 1 http http 1603 May 30 15:55 yfinance.json
    -rw-r–r– 1 http http 22888 Jun 1 11:20 yweather.json
    -rwxrwxrwx 1 http http 2 May 31 13:21 zwave.json
    -rw-r–r– 1 http http 973 May 31 13:21 zwcfg_0xc61121bb.xml
    -rw-r–r– 1 http http 973 May 30 15:50 zwcfg_0xee5109ea.xml
    -rw-r–r– 1 http http 973 May 30 10:47 zwcfg_0xf392e017.xml
    -rw-r–r– 1 http http 972 May 30 12:01 zwcfg_0xf97f51a2.xml
    -rw-r–r– 1 http http 108 May 31 13:21 zwscene.xml

    #3441
    Miss Laura
    Miss Laura
    Moderator

    Your services are running as http, but the files are owned by root.
    Execute following command:
    chown -R http:http /volume1/web/PulseStation/*

    Have fun,
    Laura

    #3442

    teeltom
    Participant

    HI Laura
    thanks for yur quick response & help
    Did it but still no luck
    arrows keep spinning and now the error message is a little different :

    http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464774291373 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685
    angular.js:10722 GET http://batmobil.ddns.net/PulseStation/data/identification.json?d=1464774301373 404 (Not Found)(anonymous function) @ angular.js:10722p @ angular.js:10515g @ angular.js:10222(anonymous function) @ angular.js:14745n.$eval @ angular.js:15989n.$digest @ angular.js:15800n.$apply @ angular.js:16097h @ angular.js:10546K @ angular.js:10744z.onload @ angular.js:10685

    can i ad this identification.json by hand?

    #3443

    teeltom
    Participant

    Update:
    i did the following:
    touch /volume1/web/PulseStation/data/identification.json
    chown http:http /volume1/web/PulseStation/data/identification.json

    Et voila i can see now every device i created and can create new devices. So this seems to work.
    Thanks!
    But in console these errors remain (error occirs everytime a device is created):
    angular.js:12477 TypeError: Cannot read property ‘updateToolbox’ of null
    at Object.Blockly.updateToolbox (blockly_compressed.js:1305)
    at Object.d.removeToolbox (PulseStation-admin.min.js:1)
    at PulseStation-admin.min.js:1
    at n.$broadcast (angular.js:16311)
    at angular-route.js:619
    at angular.js:14745
    at n.$eval (angular.js:15989)
    at n.$digest (angular.js:15800)
    at n.$apply (angular.js:16097)
    at HTMLHtmlElement.<anonymous> (angular.js:12226)

    #3444

    teeltom
    Participant

    i am sorry another update:
    i can add devices, but the fields for “Name” and “Location” become empty again after entering a value

    #3446
    Miss Laura
    Miss Laura
    Moderator

    It’s super strange that you have to touch this file to create it.
    Normally, if access rights are ok, PulseStation should be able to create them automatically.

    Can you check the specific error you are getting when you are entering a name?
    Probably those are stored in a different file, that you would then also need to touch and chown.

    Worst case try doing a chmod 777 on the data folder temporarily.

    Have fun,
    Laura

    #3448

    teeltom
    Participant

    Hi Laura, this is the data directory (all 777 since your suggestion above:)
    admin@batmobil:/volume1/web/PulseStation/data$ ls -al
    total 76
    drwxrwxrwx 4 http http 4096 Jun 1 15:56 .
    drwxrwxrwx 19 root root 4096 May 29 15:44 ..
    -rw-r–r– 1 http http 2 Jun 1 12:13 backup.json
    -rw-r–r– 1 http http 3106 Jun 1 10:52 database.json
    -rw-r–r– 1 http http 2459 May 30 11:05 google.json
    -rw-r–r– 1 http http 0 Jun 1 15:56 identification.json
    -rw-r–r– 1 http http 1169 May 30 10:10 ifttt.json
    -rw-r–r– 1 http http 1591 May 30 10:33 pushover.json
    drwxrwxrwx 2 http http 4096 May 30 10:58 scenes
    -rw-r–r– 1 http http 1539 May 30 15:55 sonos.json
    drwxrwxrwx 2 http http 4096 May 30 15:56 templates
    -rw-r–r– 1 http http 2 Jun 1 15:57 vdevices.json
    -rw-r–r– 1 http http 1603 May 30 15:55 yfinance.json
    -rw-r–r– 1 http http 1218 Jun 1 15:57 yweather.json
    -rwxrwxrwx 1 http http 2 Jun 1 15:29 zwave.json
    -rw-r–r– 1 http http 973 Jun 1 15:29 zwcfg_0xc61121bb.xml
    -rw-r–r– 1 http http 973 May 30 15:50 zwcfg_0xee5109ea.xml
    -rw-r–r– 1 http http 973 May 30 10:47 zwcfg_0xf392e017.xml
    -rw-r–r– 1 http http 972 May 30 12:01 zwcfg_0xf97f51a2.xml
    -rw-r–r– 1 http http 108 Jun 1 15:29 zwscene.xml

    Now when i click on a certain service i get this:
    Deprecated call to Blockly.updateToolbox, use workspace.updateToolbox instead. blockly_compressed.js:1305
    angular.js:12477 TypeError: Cannot read property ‘updateToolbox’ of null
    at Object.Blockly.updateToolbox (blockly_compressed.js:1305)
    at Object.d.removeToolbox (PulseStation-admin.min.js:1)
    at PulseStation-admin.min.js:1
    at n.$broadcast (angular.js:16311)
    at angular-route.js:619
    at angular.js:14745
    at n.$eval (angular.js:15989)
    at n.$digest (angular.js:15800)
    at n.$apply (angular.js:16097)
    at HTMLHtmlElement.<anonymous> (angular.js:12226)

    #3450
    Miss Laura
    Miss Laura
    Moderator

    “Deprecated call”
    => This is not a problem, deprecated still works.

    Have fun,
    Laura

Viewing 15 posts - 1 through 15 (of 33 total)

You must be logged in to reply to this topic.