# Can't upgrade from v6.13.0 to v7.0.0

**URL:** <https://forums.rocket.chat/t/cant-upgrade-from-v6-13-0-to-v7-0-0/21910>\
**Category:** Community Support\
**Tags:** snap\
**Created:** [April 2, 2025, 8:57am UTC](https://forums.rocket.chat/t/cant-upgrade-from-v6-13-0-to-v7-0-0/21910 "2025-04-02T08:57:34Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![malou](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/malou/32/5916_2.png) [@malou](https://forums.rocket.chat/u/malou)\
**Post date:** [April 26, 2025, 5:32pm UTC](https://forums.rocket.chat/t/cant-upgrade-from-v6-13-0-to-v7-0-0/21910/16 "2025-04-26T17:32:55Z")

</div>

See this. Upgrading the OS to a newer version solve the issue.

> [@Can't upgrade to 7 from 6](https://forums.rocket.chat/t/cant-upgrade-to-7-from-6/21103/31):
>
> I got same error, and got it down to faulty mongo\_eval function in mongo.sh: mongo --quiet --eval "${1?}" mongo returns extra line which mongo\_eval returns (instead of just 1) when called for ping: rocketchat-server.mongo --quiet --eval 'db.adminCommand({ ping: 1 }).ok' {"t":{"$date":"2025-04-14T11:15:41.330Z"},"s":"I", "c":"NETWORK", "id":5693100, "ctx":"js","msg":"Asio socket.set\_option failed with std::system\_error","attr":{"note":"connect (sync) TCP fast open","option":{"level":6,"name"…

---

_[View the full topic](https://forums.rocket.chat/t/cant-upgrade-from-v6-13-0-to-v7-0-0/21910)._
