Open shusheng-zilan opened 4 months ago
@jackycute can you help me?
Hi @shusheng-zilan, You need to provide more information for your issue, I don't know what happened to your deployment and why you can't access it. Do you have screenshot or error logs from server?
Hi @jackycute
I'm sorry, but due to some things that happened yesterday, I'm only getting to address this issue again today. Below are the error logs. Could you please help me identify the problem and provide a relatively simple solution? My technical expertise is not very high, so I would greatly appreciate it. I'm also very sorry for bothering you.
2024/02/21 05:15:35 portchecker.go:56: dial tcp database:5432: connect: connection success
2024-02-21T05:15:36.578Z warn: Neither 'domain' nor 'CMD_DOMAIN' is configured. This can cause issues with various components.
Hint: Make sure 'protocolUseSSL' and 'urlAddPort' or 'CMD_PROTOCOL_USESSL' and 'CMD_URL_ADDPORT' are configured properly.
2024-02-21T05:15:36.586Z warn: Session secret not set. Using random generated one. Please set sessionSecret
in your config.js file. All users will be logged out.
Sequelize CLI [Node: 10.24.1, CLI: 5.5.1, ORM: 5.21.3]
Parsed url postgres://codimd:*****@database/codimd
No migrations were executed, database schema was already up to date.
2024-02-21T05:15:38.662Z warn: Neither 'domain' nor 'CMD_DOMAIN' is configured. This can cause issues with various components.
Hint: Make sure 'protocolUseSSL' and 'urlAddPort' or 'CMD_PROTOCOL_USESSL' and 'CMD_URL_ADDPORT' are configured properly.
2024-02-21T05:15:38.665Z warn: Session secret not set. Using random generated one. Please set sessionSecret
in your config.js file. All users will be logged out.
Wed, 21 Feb 2024 05:15:39 GMT hsts deprecated The "includeSubdomains" parameter is deprecated. Use "includeSubDomains" (with a capital D) instead. at app.js:94:18
(sequelize) Warning: PostgreSQL does not support TEXT with options. Plain TEXT
will be used instead.
Check: http://www.postgresql.org/docs/9.4/static/datatype.html 2024-02-21T05:15:40.775Z info: HTTP Server listening at 0.0.0.0:3000 2024-02-21T05:15:41.808Z info: Your CodiMD version is out of date! The latest version is 2.5.3. Please see what's new on https://hackmd.io/@codimd/release-notes/%2F%40codimd%2Fv2_5_3.
Please take a screenshot of the browser on visiting your instance.
@jackycute
Please also share your dockerfile
@jackycute
There should appear access logs when you hit the server, so it seems like you are visiting wrong IP or the firewall rule blocks the connection. It's nothing to do with the server itself according to the information you provided.
I have been using it normally until this log appeared at 21.
Hi @jackycute Or could you tell me how to update without losing the previous data? It seems that the version in the YAML file is different from what is currently on the website. Thank you very much.
I have been using it normally until this log appeared at 21.
those logs will always show up when you start the instance, it looks normal.
Are you sure you're using the IP that server lives in? maybe the server IP changed and you didn't find out.
Hello, I'm a Chinese college student. I once deployed CodiMD using Docker, but today I suddenly can't access it anymore. However, I can still connect to port 22 on the server. I wonder if there is a way to directly extract the completed MD files from the server. This is very important to me. Thank you.