question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot update from 1.6.0 to 1.7.0

See original GitHub issue

Is it a duplicate question? No

Problem Cannot update to 1.7.0

Info Uptime Kuma Version: 1.6.0 --> 1.7.0 Using Docker?: No

Node.js Version (Without Docker only): v14.17.6 OS: Ubuntu Server 20.04.3

Error message 78 packages are looking for funding run npm fund` for details

found 0 vulnerabilities

uptime-kuma@1.7.0 build /opt/uptime-kuma vite build

vite v2.5.10 building for production… ✓ 768 modules transformed.

<— Last few GCs —>

[4633:0x626bb80] 252087 ms: Mark-sweep 477.8 (491.7) -> 473.8 (491.7) MB, 5090.1 / 0.0 ms (average mu = 0.226, current mu = 0.105) allocation failure scavenge might not succeed [4633:0x626bb80] 256194 ms: Mark-sweep 477.8 (491.7) -> 473.8 (491.7) MB, 3896.3 / 0.0 ms (average mu = 0.156, current mu = 0.051) allocation failure scavenge might not succeed

<— JS stacktrace —>

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 0xa25510 node::Abort() [node] 2: 0x9664d3 node::FatalError(char const*, char const*) [node] 3: 0xb9a8be v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node] 4: 0xb9ac37 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node] 5: 0xd56ca5 [node] 6: 0xd5782f [node] 7: 0xd6566b v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node] 8: 0xd6922c v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node] 9: 0xd3790b v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node] 10: 0x107fbef v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node] 11: 0x1426919 [node] Aborted (core dumped) npm ERR! code ELIFECYCLE npm ERR! errno 134 npm ERR! uptime-kuma@1.7.0 build: vite build npm ERR! Exit status 134 npm ERR! npm ERR! Failed at the uptime-kuma@1.7.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. `

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
Panja0commented, Sep 24, 2021

I got the problem fixed. Update Kuma is running on an Oracle Cloud vm (free tier) with 1GB ram. I think the 1GB ram is the problem.

To fix the problem I created a swap file: sudo dd if=/dev/zero of=/swapfile bs=128M count=32 (128M * 32 = 4096M) sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile sudo swapon -s

After that I edited the file /etc/fstab and added the following line to the end of the file: /swapfile swap swap defaults 0 0 Saved the file and rebooted the server.

Once the server was rebooted I ran the command: export NODE_OPTIONS=--max_old_space_size=4096

After that the problem was fixed!

2reactions
louislamcommented, Sep 29, 2021

It seems that it is a vite.js issue. https://github.com/mutoe/vue3-realworld-example-app/issues/41

Would try to prepare prebuilt files in the future release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot update from 1.6.1 to 1.7.0 - OctoPrint Community Forum
The software update plugin gives an error when trying to update from 1.6.1 to 1.7.0. This happens on both of my two octoprints...
Read more >
Unable to update to OctoPrint 1.7.2: 'The update did not finish ...
I'm trying to update OctoPrint from 1.6.1 to 1.7.2 using the Software Update feature. After pressing the [Update] button using the Stable ...
Read more >
can't update to 1.7.X : r/octoprint - Reddit
I have been trying to update Octoprint but it keeps failing. It tells me to look in the both the octoprint log and...
Read more >
cannot install the best update candidate for package
I'm having this issue upgrading my lab server from 8.5 to 8.6. I removed three of the packages it was complaining about but...
Read more >
Changelog — conan 1.56.0 documentation
Fix: CONAN_SYSREQUIRES_MODE=Disabled now doesn't try to update the system packages registry. Bugfix: Fixed SCM origin path of windows folder (with backslashes).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found