Closed seriaati closed 1 month ago
看日志是你的 redis 挂了
redis 應該是 mx-space core 的 docker 裡負責設置的吧? 我對這些東西不太熟,但看起來容器有啟動,日誌:
1:C 11 Jul 2024 11:46:01.840 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
1:C 11 Jul 2024 11:46:01.841 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 11 Jul 2024 11:46:01.841 * Redis version=7.2.5, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 11 Jul 2024 11:46:01.841 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
1:M 11 Jul 2024 11:46:01.841 * monotonic clock: POSIX clock_gettime
1:M 11 Jul 2024 11:46:01.842 * Running mode=standalone, port=6379.
1:M 11 Jul 2024 11:46:01.842 * Server initialized
1:M 11 Jul 2024 11:46:01.842 * Loading RDB produced by version 7.2.5
1:M 11 Jul 2024 11:46:01.842 * RDB age 0 seconds
1:M 11 Jul 2024 11:46:01.843 * RDB memory usage when created 0.84 Mb
1:M 11 Jul 2024 11:46:01.843 * Done loading RDB, keys loaded: 10, keys expired: 0.
1:M 11 Jul 2024 11:46:01.843 * DB loaded from disk: 0.000 seconds
1:M 11 Jul 2024 11:46:01.843 * Ready to accept connections tcp
root@vultr:~# ps aux | grep redis
999 3759488 0.2 0.3 131364 14964 ? Ssl 19:46 0:00 redis-server *:6379
root 3761716 0.0 0.0 6408 1964 pts/0 S+ 19:47 0:00 grep redis
能幫我看一下怎麼回事嗎,弄了半天還是沒能成功 redis 很明顯是有啟動在 6479 端口了,但是 mx-server 就是連不上他,我不知道為什麼 問了 chatgpt 說也許是在不同 docker network 的問題
有辦法從文件夾裡將文章導出嗎?
docker compose 里面的 redis url 要填写 docker redis 的 hostname
沒有在 mx-space/core/docker-compose.yml
裡看到 redis url
的選項
我把 mx-space/core/docker-compose.yml
刪除後,用 wget https://fastly.jsdelivr.net/gh/mx-space/core@master/docker-compose.yml
重新拉了新的鏡像,用 docker compose up -d
啟動容器後就能成功進入 mix space 了。
進去後之前寫的文章都沒了…
備份裡居然有資料,回滾後就有之前的文章了
应该是你 docker compose 两次不是同一个 mongo 实例导致的
Describe the bug
更新到 v6.0.1 後,沒辦法連接到 api 導致前端也死去: https://seria.vercel.app/
mx space 也死去
日誌: mx-server-20240711114322.log
Reproduction
執行了 docker compose pull && docker compose up -d
System Info
Validations