-
Describe the bug | 问题描述按照官方Zeabur部署教程:https://waline.js.org/guide/deploy/zeabur.html一步步进行部署,到最后生成自己的域名后进行访问。网站能够成功进入,但是评论无法发布、用户无法登录,出现500: Not initialized报错。 官方也并没有给出如何修复此问题的解决方案。 Website URL | 问题网站https://greyflowers-waline.zeabur.app/ Where your waline deploy? | 服务部署在哪里?Zeabur Where your comment data store? | 数据存储在哪里?MongoDB Describe the bug | Problem descriptionFollow the official Zeabur deployment tutorial: https://waline.js.org/guide/deploy/zeabur.html to deploy step by step, go to Finally, generate your own domain name and access it. The website can be accessed successfully, but comments cannot be posted, users cannot log in, and a 500: Not initialized error message appears. There is no official solution on how to fix this problem. Website URL | Problem websitehttps://greyflowers-waline.zeabur.app/ Where your waline deploy? | Where is the service deployed?Zeabur Where your comment data store? | Where is the data stored?MongoDB |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
这个是没有环境变量的问题,看下 MONGODB_URI 这个环境变量是否有,zeabur 应该会默认创建的。 This is a problem because there is no environment variable. Check whether the MONGODB_URI environment variable exists. Zeabur should create it by default. |
Beta Was this translation helpful? Give feedback.
-
I am facing an issue where the MONGODB_URI environment variable is missing, even though MONGO_URI is present. What steps should I take, and where can I define the MONGODB_URI environment variable? @lizheming |
Beta Was this translation helpful? Give feedback.
这个是没有环境变量的问题,看下 MONGODB_URI 这个环境变量是否有,zeabur 应该会默认创建的。
This is a problem because there is no environment variable. Check whether the MONGODB_URI environment variable exists. Zeabur should create it by default.