Giter VIP home page Giter VIP logo

Comments (14)

shusheng-zilan avatar shusheng-zilan commented on August 15, 2024

@jackycute can you help me?

from codimd.

jackycute avatar jackycute commented on August 15, 2024

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?

from codimd.

shusheng-zilan avatar shusheng-zilan commented on August 15, 2024

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.

from codimd.

jackycute avatar jackycute commented on August 15, 2024

Please take a screenshot of the browser on visiting your instance.

from codimd.

shusheng-zilan avatar shusheng-zilan commented on August 15, 2024

U) F31HO@5N9THJ4OVC7`2Y

from codimd.

shusheng-zilan avatar shusheng-zilan commented on August 15, 2024

@jackycute

from codimd.

jackycute avatar jackycute commented on August 15, 2024

Please also share your dockerfile

from codimd.

shusheng-zilan avatar shusheng-zilan commented on August 15, 2024

docker-compose.zip

from codimd.

shusheng-zilan avatar shusheng-zilan commented on August 15, 2024

@jackycute

from codimd.

jackycute avatar jackycute commented on August 15, 2024

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.

from codimd.

shusheng-zilan avatar shusheng-zilan commented on August 15, 2024

I have been using it normally until this log appeared at 21.
image

from codimd.

shusheng-zilan avatar shusheng-zilan commented on August 15, 2024

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.

from codimd.

jackycute avatar jackycute commented on August 15, 2024

I have been using it normally until this log appeared at 21. image

those logs will always show up when you start the instance, it looks normal.

from codimd.

jackycute avatar jackycute commented on August 15, 2024

Are you sure you're using the IP that server lives in? maybe the server IP changed and you didn't find out.

from codimd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.