§2024-11-30

¶ Upgrade to mongoDB database v8.0.3

  1. RocketChatDragonfly28-v8.0.3.service
[Unit]
Description=The Rocket.Chat 7.0.0  Drangonfly28 server Using YS replicaSet=ys20241107. mongodb v8.0.3
After=network.target remote-fs.target nss-lookup.target nginx.service mongod.service
[Service]
ExecStart= /home/alexlai/.local/share/fnm/node-versions/v20.17.0/installation/bin/node  /opt/Rocket.Chat-7.0.0/main.js
# ExecStart=/home/alexlai/.local/share/fnm/node-versions/v14.21.3/installation/bin/node /opt/Rocket.Chat-6.13.0/main.js
# ExecStart=/bin/bash -c 'printenv; /home/alexlai/.local/share/fnm/node-versions/v14.21.3/installation/bin/node /opt/Rocket.Chat.Dragonfly28/main.js'
# ExecStart=/bin/bash -c 'printenv; /home/alexlai/.local/share/fnm/node-versions/v14.21.3/installation/bin/node /opt/Rocket.Chat.Dragonfly28.old/main.js'
#  >> /opt/Rocket.Chat.Dragonfly28/RocketchatDragonfly28.log 2>&1'
# StandardOutput=syslog # By default, systemd sends output to the journal, so you don't need to specify these unless you have specific requirements. 
# StandardError=syslog
SyslogIdentifier=RocketChatDragonfly28New
User=rocketchat

# Environment="MONGO_URL=mongodb://siteRootAdmin:b23258585@x8664Arch.yushei.com.tw:27017,n2Bookworm.yushei.com.tw:27017,n2Jammy.yushei.com.tw:27017/Dragonfly28-01?replicaSet=odroid01&authSource=admin"
# Environment="MONGO_OPLOG_URL=mongodb://siteRootAdmin:b23258585@x8664Arch.yushei.com.tw:27017,n2Bookworm.yushei.com.tw:27017,n2Jammy.yushei.com.tw:27017/Dragonfly28-01?replicaSet=odroid01&authSource=admin"

# Environment="MONGO_URL=mongodb://siteRootAdmin:b23258585@redisMongo03.yushei.com.tw:27017,redisMongo04.yushei.com.tw:27017,redisMongo05.yushei.com.tw:27017/Dragonfly28?replicaSet=ys20220318&authSource=admin"
# Environment="MONGO_OPLOG_URL=mongodb://siteRootAdmin:b23258585@redisMongo03.yushei.com.tw:27017,redisMongo04.yushei.com.tw:27017,redisMongo05.yushei.com.tw:27017/Dragonfly28?replicaSet=ys20220318&authSource=admin"

# Environment="MONGO_URL=mongodb://siteRootAdmin:b23258585@ysmongov701.yushei.com.tw:27017,ysmongov702.yushei.com.tw:27017,ysmongov703.yushei.com.tw:27017/Dragonfly28?replicaSet=ys2024v2&authSource=admin"
# Environment="MONGO_OPLOG_URL=mongodb://siteRootAdmin:b23258585@ysmongov701.yushei.com.tw:27017,ysmongov702.yushei.com.tw:27017,ysmongov703.yushei.com.tw:27017/Dragonfly28?replicaSet=ys2024v2&authSource=admin"

Environment="MONGO_URL=mongodb://siteRootAdmin:b23258585@ysmongov801.yushei.com.tw:27017,ysmongov802.yushei.com.tw:27017,ysmongov803.yushei.com.tw:27017/Dragonfly28V803?replicaSet=ys20241107&authSource=admin"
Environment="MONGO_OPLOG_URL=mongodb://siteRootAdmin:b23258585@ysmongov801.yushei.com.tw:27017,ysmongov802.yushei.com.tw:27017,ysmongov803.yushei.com.tw:27017/Dragonfly28V803?replicaSet=ys20241107&authSource=admin"


Environment="ROOT_URL=https://munetaka.me:43883/"
Environment="PORT=43883"
# when dabase a new, then an admin will be cretaed according to ADMIN_USERNAME and ADMIN_PASS
Environment="ADMIN_USERNAME=DragonFly28Admin"
Environment="ADMIN_PASS=DragonFly28Admin#1765"
Environment="ADMIN_EMAIL=rai.sousuke@mac.com"
Environment="MAIL_URL=smtp://alexlai:alex1765@yushei.net:25/"
[Install]
WantedBy=multi-user.target
  1. First Start up
^[[A十一 30 06:05:01 h2Jammy RocketChatDragonfly28New[25257]: strict mode: use allowUnionTypes to allow union type keyword at "#/properties/count" (strictTypes)
十一 30 06:05:01 h2Jammy RocketChatDragonfly28New[25257]: strict mode: use allowUnionTypes to allow union type keyword at "#/properties/offset" (strictTypes)
十一 30 06:05:12 h2Jammy RocketChatDragonfly28New[25257]: (node:25257) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
十一 30 06:05:12 h2Jammy RocketChatDragonfly28New[25257]: Please migrate your code to use AWS SDK for JavaScript (v3).
十一 30 06:05:12 h2Jammy RocketChatDragonfly28New[25257]: For more information, check the migration guide at https://a.co/7PzMCcy
十一 30 06:05:12 h2Jammy RocketChatDragonfly28New[25257]: (Use `node --trace-warnings ...` to show where the warning was created)
十一 30 06:05:38 h2Jammy RocketChatDragonfly28New[25257]: (node:25257) [MONGODB DRIVER] Warning: cursor.count is deprecated and will be removed in the next major version, please use `collection.estimatedDocumentCount` or `collection.countDocuments` instead
十一 30 06:05:40 h2Jammy RocketChatDragonfly28New[25257]: LocalStore: store created at
十一 30 06:05:40 h2Jammy RocketChatDragonfly28New[25257]: LocalStore: store created at
十一 30 06:05:40 h2Jammy RocketChatDragonfly28New[25257]: LocalStore: store created at
十一 30 06:05:41 h2Jammy RocketChatDragonfly28New[25257]: {"level":40,"time":"2024-11-29T22:05:41.078Z","pid":25257,"hostname":"h2Jammy","name":"VoIPAsteriskService","msg":"Voip is not enabled. Cant start the service"}
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.813Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/BROKER: Moleculer v0.14.34 is starting...
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.814Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/BROKER: Namespace: <not defined>
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.815Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/BROKER: Node ID: 0c6e7270-5c57-423a-93d9-987bc8444866
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.819Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/REGISTRY: Strategy: RoundRobinStrategy
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.820Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/REGISTRY: Discoverer: LocalDiscoverer
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.825Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/BROKER: Serializer: EJSONSerializer
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.844Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/BROKER: Validator: FastestValidator
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.849Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/BROKER: Registered 13 middleware(s).
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.852Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/BROKER: Transporter: TcpTransporter
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: {"level":51,"time":"2024-11-29T22:06:01.897Z","pid":25257,"hostname":"h2Jammy","name":"DatabaseWatcher","msg":"Using change streams"}
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.902Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/TRANSIT: Connecting to the transporter...
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.917Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/TRANSPORTER: TCP server is listening on port 37209
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.918Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/TRANSPORTER: UDP Discovery is disabled.
十一 30 06:06:01 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:01.918Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/TRANSPORTER: TCP Transporter started.
十一 30 06:06:02 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:02.454Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/REGISTRY: '$node' service is registered.
十一 30 06:06:02 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:02.457Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/REGISTRY: 'matrix' service is registered.
十一 30 06:06:02 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:02.459Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/$NODE: Service '$node' started.
十一 30 06:06:02 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:02.459Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/MATRIX: Service 'matrix' started.
十一 30 06:06:02 h2Jammy RocketChatDragonfly28New[25257]: [2024-11-29T22:06:02.461Z] INFO  0c6e7270-5c57-423a-93d9-987bc8444866/BROKER: ✔ ServiceBroker with 2 service(s) started successfully in 575ms.
十一 30 06:06:04 h2Jammy RocketChatDragonfly28New[25257]: Name: Administrator
十一 30 06:06:04 h2Jammy RocketChatDragonfly28New[25257]: Email: rai.sousuke@mac.com
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: Username: DragonFly28Admin
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: Setting Setup Wizard to "in_progress" because, at least, one admin was found
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: +---------------------------------------------------+
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |                   SERVER RUNNING                  |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: +---------------------------------------------------+
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |                                                   |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |  Rocket.Chat Version: 7.0.0                       |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |       NodeJS Version: 20.17.0 - x64               |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |      MongoDB Version: 8.0.3                       |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |       MongoDB Engine: wiredTiger                  |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |             Platform: linux                       |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |         Process Port: 43883                       |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |             Site URL: https://munetaka.me:43883/  |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |     ReplicaSet OpLog: Enabled                     |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |          Commit Hash: dfc7e0e874                  |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |        Commit Branch: HEAD                        |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: |                                                   |
十一 30 06:06:05 h2Jammy RocketChatDragonfly28New[25257]: +---------------------------------------------------+