-
Released pimatic@0.9.43
This post is deleted! -
+1
Did not have time to reinstall Pimatic yet.
Error : can not read property trx of undefined.What is best solution, reinstall new or downgrade?
-
sudo npm install
-
@michbeck100 said in Released pimatic@0.9.43:
In the node-modules/pimatic directory
In the node-modules/pimatic directory@michbeck100 said in Released pimatic@0.9.43:
After the update I did
$ sudo npm install
In the node-modules/pimatic directory. I think this solved it without reinstalling
-
Is the update fixed?
-
@s-o
Thanks,
Will try that before reinstall Pimatic -
@s-o that worked for me. Thanks
-
@michbeck100 - thx, sudo npm install in the node-modules/pimatic directory solved the upgrade problem.
-
After I do this, I have a problem.
The result of updatecheck is:
Could not get plugin info for from update server, request info from npm
First I make a mistake. I forgot to change the folder. So I do this
sudo npm install
in the home-folder of the user pi. The result was some error messages.
Later I do this
cd pimatic-app/node_modules/pimatic
sudo npm install
The installation ends without errors.
What can I do to solve the problem?
-
Sudo npn install trows me an error, can somebody help?
/pimatic-app/node_modules/pimatic $ sudo npm install module.js:85 throw e; ^ SyntaxError: Error parsing /usr/local/lib/node_modules/npm/node_modules/inherits /package.json: Unexpected token n at Object.parse (native) at readPackage (module.js:81:52) at tryPackage (module.js:91:13) at Function.Module._findPath (module.js:153:20) at Function.Module._resolveFilename (module.js:323:25) at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/readable -stream/lib/_stream_readable.js:41:17) at Module._compile (module.js:409:26)
-
@syrisara said in Released pimatic@0.9.43:
Sudo npn install trows me an error, can somebody help?
Which Node.js version do you have installed?
node --version
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
It’s version v4.8.4
-
What’s about my problem? Can someone help me?
My node version is v4.6.2
-
Is the update fixed or still buggy?
-
@miss-erfolg My update check also show this message.
Could not get plugin info from update server, request info from npm
Follow my domotica project on http://maredana.nl
-
Today it works.
Did the update server have a problem with the last few days?
-
@stokstaart said in Released pimatic@0.9.43:
@mwittig said in Released pimatic@0.9.43:
@elektronaut Thanks for reporting. I am glad it worked for you and this may also help other users to overcome the issues
Does this mean this is no longer under investigation?
I cannot start my Docker container anymore so unless somebody is able to solve this by altering the configfile i have lost all my historical data, not too happy with that…For future references, and perhaps other users, I would advise the following options when running Pimatic in a docker:
- Mail the config.json to your personal mail once a week with a rule
- Configure the docker container to forward a local config.json file to pimatic-app/config.json inside the folder
- Configure the docker container to forward a local pimatic-database.sqlite file to pimatic-app/pimatic-database.sqlite inside the folder or :
- Configre pimatic to use MySQL as database outside the docker, so you an easily backup and restore your historical data
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
@koffienl said in Released pimatic@0.9.43:
For future references, and perhaps other users, I would advise the following options when running Pimatic in a docker:
- Mail the config.json to your personal mail once a week with a rule
- Configure the docker container to forward a local config.json file to pimatic-app/config.json inside the folder
- Configure the docker container to forward a local pimatic-database.sqlite file to pimatic-app/pimatic-database.sqlite inside the folder or :
- Configre pimatic to use MySQL as database outside the docker, so you an easily backup and restore your historical data
Good tips. Additionally i would suggest to not use pimatic.js directly as ENTRYPOINT. If Pimatic crashes, the docker container is stopped too. So there‘s no chance to exec a bash shell into the running container and investigate the problem. I‘m using a wrapper script instead, which runs pimatic.js daemonized in the background. This allows me also to restart Pimatic in the webinterface.
-
what I find kind of “funny”:
the last post here is 19 days ago, and still I was able to f*** up my installation today.
is there no way to disable the 9.0.43 update that no other users run into this problem? -
I had this issue at the day the update was pushed out. Since then I have done several other updates to 0.9.43 but always manual from command line:
npm update pimatic
without any problemsLike my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm