# HELP Lost everything

**URL:** <https://discourse.nodered.org/t/help-lost-everything/64827>\
**Category:** General\
**Created:** [8 July 2022 10:47 UTC](https://discourse.nodered.org/t/help-lost-everything/64827 "2022-07-08T10:47:48Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Post date:** [8 July 2022 10:47 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/1 "2022-07-08T10:47:48Z")

</div>

Lost everything. Was trying to update the cronplus to the latest version but somehow managed to scr... it. Lost everything. I then imorted my backup from latest night as I do send backup to dropbox. But when I import the project and deploy it, most seems fine but nothing works. If I push on a injectnode I get the message: Error Node not deployed. And i also get the message tha chronplus is missing even if the latest version now is installed. What to do?

Best regards  
Freddy

---

<div class="post-metadata">

**Author:** ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Post date:** [8 July 2022 10:51 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/2 "2022-07-08T10:51:03Z")

</div>

It also tells me: Flows stopped due to missing node types.

- cronplus

Close

and in the debug windows i read: stopped modified nodes waiting for missing types to be registered. info cronplus

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [8 July 2022 10:54 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/3 "2022-07-08T10:54:38Z")

</div>

Simply install node-red-contrib-cron-plus from the palette manger.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/2/a2d2eeb933594bc90fb870b9ec202c093f36eb44.png)

As for "losing everything" - if you had asked on the forum we could have told you where to look (there is a single local backup of your flows, updated with each deploy - this will now be lost due to your actions)

---

<div class="post-metadata">

**Author:** ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Post date:** [8 July 2022 10:59 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/4 "2022-07-08T10:59:08Z")

</div>

Ok, but it all is in the backup from last night. So I think that will be fine if I can get things up running again. I have installed the cronplus again, but get some errors.  
Last version of cronplus was 1.5.5

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/a/aaad5ac128c3c74940519af9c3f09d2e3f4c8fa7.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/c/9c8121e9c6de64cbd7a7c73d5be6a47a2896f0fc.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [8 July 2022 11:10 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/5 "2022-07-08T11:10:05Z")

</div>

The "cannot get description from node-red" suggests that node red not actually running. Have you checked to see if node red is still running?? How do you launch node red from a command line? Are there any errors at the end?

---

<div class="post-metadata">

**Author:** ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Post date:** [8 July 2022 11:16 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/6 "2022-07-08T11:16:50Z")

</div>

removed the cronplus nodes as there is only a few of them, then everything except from cronplus is running. Removed cronplus and tried a reinstall, but then get this:

## ´

2022-07-08T11:13:01.796Z Install : node-red-contrib-cron-plus 1.5.7

2022-07-08T11:13:02.766Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-cron-plus@1.5.7  
2022-07-08T11:13:06.617Z [err] npm  
2022-07-08T11:13:06.617Z [err] WARN registry Unexpected warning for [https://registry.npmjs.org/:](https://registry.npmjs.org/:) Miscellaneous Warning EINTEGRITY: sha512-xqCmwfG8KVNzlFfdkdNQE2zaXxcHFM31/yLNW+AsV5qsrqAcBAGIyeZ8YxrKOF94mlN66YO8bTGmgEZJJT73OQ== integrity checksum failed when using sha512: wanted sha512-xqCmwfG8KVNzlFfdkdNQE2zaXxcHFM31/yLNW+AsV5qsrqAcBAGIyeZ8YxrKOF94mlN66YO8bTGmgEZJJT73OQ== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)  
2022-07-08T11:13:06.617Z [err] npm  
2022-07-08T11:13:06.617Z [err] WARN registry  
2022-07-08T11:13:06.617Z [err] Using stale data from [https://registry.npmjs.org/](https://registry.npmjs.org/) due to a request error during revalidation.  
2022-07-08T11:13:06.698Z [err] npm  
2022-07-08T11:13:06.698Z [err] ERR! code EINTEGRITY  
2022-07-08T11:13:06.698Z [err] npm ERR!  
2022-07-08T11:13:06.698Z [err] errno EINTEGRITY  
2022-07-08T11:13:06.747Z [err] npm  
2022-07-08T11:13:06.747Z [err] ERR! Invalid response body while trying to fetch [https://registry.npmjs.org/node-red-contrib-cron-plus:](https://registry.npmjs.org/node-red-contrib-cron-plus:) Integrity verification failed for sha512-xqCmwfG8KVNzlFfdkdNQE2zaXxcHFM31/yLNW+AsV5qsrqAcBAGIyeZ8YxrKOF94mlN66YO8bTGmgEZJJT73OQ== (/home/pi/.npm/\_cacache/content-v2/sha512/c6/a0/a6c1f1bc2953739457dd91d350136cda5f170714cdf5ff22cd5be02c579aacaea01c040188c9e67c631aca385f789a537ae983bc6d31a6804649253ef739)  
2022-07-08T11:13:06.929Z [err]  
2022-07-08T11:13:06.929Z [err] npm ERR! A complete log of this run can be found in:  
2022-07-08T11:13:06.929Z [err] npm  
2022-07-08T11:13:06.929Z [err] ERR! /home/pi/.npm/\_logs/2022-07-08T11\_13\_06\_748Z-debug.log  
2022-07-08T11:13:06.943Z rc=1

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [8 July 2022 11:23 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/7 "2022-07-08T11:23:56Z")

</div>

You have an issue with your package.json-lock file (this is easy to understand if you search

> [@FSHelgeland](#):
>
> integrity checksum failed when using sha512: wanted sha512

In your `.node-red` folder,  
Delete the package-lock.json file then run `npm install` and then `npm install node-red-contrib-cron-plus`

---

<div class="post-metadata">

**Author:** ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Post date:** [8 July 2022 12:12 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/8 "2022-07-08T12:12:30Z")

</div>

can not find that file in the folder. Thes files are my backup-files can i import them all?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/d/8d56ba176daeccd405a59371a2377c91e93e1d7d.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [8 July 2022 12:14 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/9 "2022-07-08T12:14:29Z")

</div>

No. That's possibly why you have an issue.

Do what I said...

> [@Steve-Mcl](#):
>
> In your `.node-red` folder,  
> Delete the package-lock.json file then run `npm install` and then `npm install node-red-contrib-cron-plus`

---

<div class="post-metadata">

**Author:** ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Post date:** [8 July 2022 12:15 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/10 "2022-07-08T12:15:26Z")

</div>

can i run the npm install from the debug window on my pi?

(finally understand the feelings my students must have when i ask them, why did you do that, wait for help...)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [8 July 2022 12:18 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/11 "2022-07-08T12:18:03Z")

</div>

> [@FSHelgeland](#):
>
> can i run the npm install from the debug window on my pi

What is a debug window? Do you mean an S SH terminal? Where is node-red installed?

---

<div class="post-metadata">

**Author:** ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Post date:** [8 July 2022 12:28 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/12 "2022-07-08T12:28:25Z")

</div>

the node red is on a Raspberry pi. So I wondered if I coud do it from the pi, but i can ssh it.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [8 July 2022 12:30 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/13 "2022-07-08T12:30:10Z")

</div>

Change your file viewer to show file extensions, that will make life easier.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [8 July 2022 12:30 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/14 "2022-07-08T12:30:45Z")

</div>

> [@FSHelgeland](#):
>
> I wondered if I coud do it from the pi, but i can ssh it.

If you are not doing it via ssh then how are you doing it?

---

<div class="post-metadata">

**Author:** ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Post date:** [8 July 2022 17:51 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/15 "2022-07-08T17:51:44Z")

</div>

used the commandwindow on the raspberry pi itself. Works, but my card crashed so I am now on a new install and importing my backup. Had to reinstall a lot to the pallette but encounter a new problem.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/b/0b1a95269b8e2dd5cb2b4157fbb1f718aa43bc94.png)

Guess it has to do with my Home Assistant. Tried three different installs in the pallette but still the same.

---

<div class="post-metadata">

**Author:** ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Post date:** [8 July 2022 23:18 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/16 "2022-07-08T23:18:16Z")

</div>

Did I learn something? Hopefully! But I am extremely happy that I do have automatic backup to dropbox every night. Took a clean install, installed all missing contrib nodes, and then imported the flow. A little bit work with access keys but now everything is up running again. Note to self, make a note listing all contrib nodes in use. Thanks to everyone who replied in here.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [9 July 2022 10:15 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/17 "2022-07-09T10:15:37Z")

</div>

> [@FSHelgeland](#):
>
> Note to self, make a note listing all contrib nodes in use.

If you backup everything in the .node-red directory except the node-modules folder, then to restore you just need to restore that directory, then go into the directory and run  
`npm install`  
and it will install all the contrib nodes you had before.

---

<div class="post-metadata">

**Author:** ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Post date:** [9 July 2022 13:43 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/18 "2022-07-09T13:43:54Z")

</div>

Thank you 🙂 I guess I did it difficult for myself yesterday, but somehow I managed to pull it together. Learned a lot but still a lot to learn.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 July 2022 13:44 UTC](https://discourse.nodered.org/t/help-lost-everything/64827/19 "2022-07-23T13:44:00Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
