> > > Das heisst, eine glatte Neuinstallation ist jetzt so oder so nötig. > Ich fühle mich gerade total frustriert von den kursierenden Anleitungen, > denn sie funktionieren alle nicht oder sind unvollständig! > Mittlerweile habe ich drei virtuelle Maschinen mit Tryton-Installationen > nach verschiedenen Anleitungen, und keine läuft so, dass der Windows-Client > sich damit verbinden kann! > > Einmal mit pip versucht - Ergebnis: Die Datei trytond.conf fehlt völlig > im Verzeichnis /etc/ > > > das ist richtig - die musst Du per Hand anlegen, da sie nicht mehr > automatisch generiert wird. Wir sollten an diesem Versuch weiterarbeiten. > Die anderen VMs kannste wegwerfen :) > > Nächster Schritt: > > erstelle dir eine Config-Datei nach folgendem Schema: > > > http://doc.tryton.org/3.6/trytond/doc/topics/configuration.html#topics-configuration > > Kannst auch gern mal in den Chat kommen - da bekommste auch Live geholfen. > > Jan >
Ok, sehr gern, vielen Dank! Ich habe die Gist-Datei für trytond.conf von der Website heruntergeladen und so angepasst, dass sie mit der lokalen Datenbankinstanz von Postgresql laufen sollte. Sieht jetzt so aus: (die unkommentierten Einträge habe ich gelb hinterlegt) Muss man denn kein Passwort mehr für den User Tryton hier angeben? # /etc/tryton/trytond.conf - Configuration file for Tryton Server (trytond) # # This file contains the most common settings for trytond (Defaults # are commented). # For more information install the tryton-server-doc package and read # /usr/share/doc/tryton-server-doc/html/index.html # and accordingly # /usr/share/doc/tryton-server-doc/html/topics/configuration.html [database] # Database related settings # The URI to connect to the SQL database (following RFC-3986) # uri = database://username:password@host:port/ # (Internal default: sqlite:// (i.e. a local SQLite database)) # # PostgreSQL via Unix domain sockets # (e.g. PostgreSQL database running on the same machine (localhost)) uri = postgresql://tryton:tryton@/ # # PostgreSQL via TCP/IP # (e.g. connecting to a PostgreSQL database running on a remote machine or # by means of md5 authentication. Needs PostgreSQL to be configured to accept # those connections (pg_hba.conf).) #uri = postgresql://tryton:tryton@localhost:5432/ # The path to the directory where the Tryton Server stores files. # The server must have write permissions to this directory. # (Internal default: /var/lib/trytond) path = /var/lib/tryton # Shall available databases be listed in the client? list = True # The number of retries of the Tryton Server when there are errors # in a request to the database retry = 5 # The primary language, that is used to store entries in translatable # fields into the database. language = en_US [ssl] # SSL settings # Activation of SSL for all available protocols. # Uncomment the following settings for key and certificate # to enable SSL. # The path to the private key #privatekey = /etc/ssl/private/ssl-cert-snakeoil.key # The path to the certificate #certificate = /etc/ssl/certs/ssl-cert-snakeoil.pem [jsonrpc] # Settings for the JSON-RPC network interface # The IP/host and port number of the interface # (Internal default: localhost:8000) # # Listen on all interfaces (IPv4) listen = 0.0.0.0:8000 # # Listen on all interfaces (IPv4 and IPv6) listen = [::]:8000 # The hostname for this interface #hostname = # The root path to retrieve data for GET requests data = jsondata [xmlrpc] # Settings for the XML-RPC network interface # The IP/host and port number of the interface listen = localhost:8069 [webdav] # Settings for the WebDAV network interface # The IP/host and port number of the interface # listen = localhost:8080 [session] # Session settings # The time (in seconds) until an inactive session expires timeout = 3600 # The server administration password used by the client for # the execution of database management tasks. It is encrypted # using using the Unix crypt(3) routine. A password can be # generated using the following command line (on one line): # $ python -c 'import getpass,crypt,random,string; \ # print crypt.crypt(getpass.getpass(), \ # "".join(random.sample(string.ascii_letters + string.digits, 8)))' # Example password with 'admin' super_pwd = jkUbZGvFNeugk Herzliche Grüsse Wolfgang St. P.S.: In welchen Chat genau? -- Sie erhalten diese Nachricht, weil Sie Mitglied der Google Groups-Gruppe "tryton-de" sind. Weitere Optionen: https://groups.google.com/d/optout