Description
I switched to the next channel via
sudo snap switch rocketchat-server --channel=7.x/stable
and tried to refresh
sudo snap refresh rocketchat-server
The process got stuck with the following messages:
error: cannot perform the following tasks:
- Run pre-refresh hook of “rocketchat-server” snap if present (run hook “pre-refresh”:
:92}}}
1 : syntax error: operand expected (error token is “{“t”:{”$date":“2025-04-02T08:42:54.552Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 “)
/snap/rocketchat-server/1634/helpers/mongo.sh: line 50: ((: {“t”:{”$date":“2025-04-02T08:42:55.640Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 : syntax error: operand expected (error token is “{“t”:{”$date":“2025-04-02T08:42:55.640Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 “)
/snap/rocketchat-server/1634/helpers/mongo.sh: line 50: ((: {“t”:{”$date":“2025-04-02T08:42:56.736Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 : syntax error: operand expected (error token is “{“t”:{”$date":“2025-04-02T08:42:56.736Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 “)
/snap/rocketchat-server/1634/helpers/mongo.sh: line 50: ((: {“t”:{”$date":“2025-04-02T08:42:57.835Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 : syntax error: operand expected (error token is “{“t”:{”$date":“2025-04-02T08:42:57.835Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 “)
/snap/rocketchat-server/1634/helpers/mongo.sh: line 50: ((: {“t”:{”$date":“2025-04-02T08:42:58.915Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 : syntax error: operand expected (error token is “{“t”:{”$date":“2025-04-02T08:42:58.915Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 “)
/snap/rocketchat-server/1634/helpers/mongo.sh: line 50: ((: {“t”:{”$date":“2025-04-02T08:43:00.001Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 : syntax error: operand expected (error token is “{“t”:{”$date":“2025-04-02T08:43:00.001Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 “)
/snap/rocketchat-server/1634/helpers/mongo.sh: line 50: ((: {“t”:{”$date":“2025-04-02T08:43:01.100Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 : syntax error: operand expected (error token is “{“t”:{”$date":“2025-04-02T08:43:01.100Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 “)
/snap/rocketchat-server/1634/helpers/mongo.sh: line 50: ((: {“t”:{”$date":“2025-04-02T08:43:02.226Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 : syntax error: operand expected (error token is “{“t”:{”$date":“2025-04-02T08:43:02.226Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 “)
/snap/rocketchat-server/1634/helpers/mongo.sh: line 50: ((: {“t”:{”$date":“2025-04-02T08:43:03.316Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 : syntax error: operand expected (error token is “{“t”:{”$date":“2025-04-02T08:43:03.316Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 “)
/snap/rocketchat-server/1634/helpers/mongo.sh: line 50: ((: {“t”:{”$date":“2025-04-02T08:43:04.407Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 : syntax error: operand expected (error token is “{“t”:{”$date":“2025-04-02T08:43:04.407Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 “)
/snap/rocketchat-server/1634/helpers/mongo.sh: line 50: ((: {“t”:{”$date":“2025-04-02T08:43:05.499Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 : syntax error: operand expected (error token is “{“t”:{”$date":“2025-04-02T08:43:05.499Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 “)
/snap/rocketchat-server/1634/helpers/mongo.sh: line 50: ((: {“t”:{”$date":“2025-04-02T08:43:06.580Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 : syntax error: operand expected (error token is “{“t”:{”$date":“2025-04-02T08:43:06.580Z”},“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”:30,“data”:“01 00 00 00”},“error”:{“what”:“set_option: Protocol not available”,“message”:“Protocol not available”,“category”:“asio.system”,“value”:92}}}
1 ")
[ERROR] mongod server start wait timed out
[ERROR] pre refresh migration script /snap/rocketchat-server/1634/migrations/pre_refresh/feature_compatibity/00-adopt_version.sh
-----)
Any suggestions how to proceed?
Server Setup Information
- Version of Rocket.Chat Server: 6.13.0 (community version)
- Operating System: Ubuntu 22.04
- Deployment Method: snap
- Number of Running Instances:
- DB Replicaset Oplog:
- NodeJS Version: How to find on snap?
- MongoDB Version: How to find on snap?
- Proxy: nginx/caddy
- Firewalls involved: ufw