GithubHelp home page GithubHelp logo

service and cnfig files about sydent HOT 4 CLOSED

matrix-org avatar matrix-org commented on July 21, 2024
service and cnfig files

from sydent.

Comments (4)

Unsourire avatar Unsourire commented on July 21, 2024

Hello,
i run all the sql command for creating the db and after i run the command : python -m sydent.sydent.
is working fine i think .

2018-07-17 23:13:38,235 - main - 116 - INFO - Starting Sydent server
2018-07-17 23:13:38,236 - sydent.db.sqlitedb - 29 - INFO - Using DB file sydent.db
2018-07-17 23:13:38,237 - sydent.http.httpcommon - 33 - WARNING - No HTTPS private key / cert found: not starting replication server or doing replication pushes
2018-07-17 23:13:38,237 - sydent.http.httpserver - 96 - INFO - Starting Client API HTTP server on port 8090
2018-07-17 23:13:38,238 - twisted - 154 - INFO - Site starting on 8090
2018-07-17 23:13:38,238 - twisted - 154 - INFO - Starting factory <twisted.web.server.Site instance at 0x7fac22e33c68>

But i have two issues,
the first one is where is located the db file and config file?
the second one is how can i run the sydent permanently because when i close my ssh command, the service stop?

what do you think about the HTTPS private key / cert?

Thank in advance

from sydent.

Unsourire avatar Unsourire commented on July 21, 2024

with the the sql request i got a problem with the following line on the threepid_associations.sql

CREATE INDEX IF NOT EXISTS medium_lower_address on global_threepid_associations (medium, lower(address));

i had to replace lower(address) by address

next on the sqlitedb.py file :

cur.execute(
"CREATE INDEX global_threepid_medium_lower_address on "
"global_threepid_associations (medium, lower(address))"
)

where i had to replace lower(address) by address

is it normal? did i miss something?
thank you

from sydent.

hghorbani avatar hghorbani commented on July 21, 2024

lowe(address) on older sqlite
in sqllite 3 and later you shoud type (medium, address)

from sydent.

richvdh avatar richvdh commented on July 21, 2024

Where are located the config file?

where the readme says it is

from sydent.

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.