# ERROR trytond.config could not load

**URL:** https://discuss.tryton.org/t/error-trytond-config-could-not-load/6328
**Category:** System Administrator
**Created:** [July 8, 2023, 3:02pm UTC](https://discuss.tryton.org/t/error-trytond-config-could-not-load/6328 "2023-07-08T15:02:49Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![zacarias](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/zacarias/32/1634_2.png) [@zacarias](https://discuss.tryton.org/u/zacarias)
#### Post date: [July 8, 2023, 3:02pm UTC](https://discuss.tryton.org/t/error-trytond-config-could-not-load/6328/1 "2023-07-08T15:02:49Z")

</div>

I install a trytond 6.8.2, I run “trytond -c /home/tryton\_akademy/trytond.conf”, them I get the follwing message ERROR trytond.config could not load, the server run as normal, but in the tryton client I can’t acess the database

Here my trytond.conf  
[database]  
uri = postgresql://postgres:postgres@localhost:5432/  
path = /home/csdev/tryton\_akademy

---

<div class="post-metadata">

### Author: ![rvong](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/3bc359/32.png) [@rvong](https://discuss.tryton.org/u/rvong)
#### Post date: [July 8, 2023, 4:19pm UTC](https://discuss.tryton.org/t/error-trytond-config-could-not-load/6328/2 "2023-07-08T16:19:42Z")

</div>

Can you post the entire contents of your `trytond.conf` file?

---

<div class="post-metadata">

### Author: ![zacarias](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/zacarias/32/1634_2.png) [@zacarias](https://discuss.tryton.org/u/zacarias)
#### Post date: [July 8, 2023, 6:50pm UTC](https://discuss.tryton.org/t/error-trytond-config-could-not-load/6328/3 "2023-07-08T18:50:52Z")

</div>

[database]  
uri = postgresql://postgres:postgres@localhost:5432  
path = /home/csdev/tryton\_akademy

[language]  
language = pt

That’s all

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [July 8, 2023, 8:05pm UTC](https://discuss.tryton.org/t/error-trytond-config-could-not-load/6328/4 "2023-07-08T20:05:13Z")

</div>

`language` is not a section in the config but an option under `database`. See [Configuration file — Tryton server](https://docs.tryton.org/projects/server/en/latest/topics/configuration.html#topics-configuration)

Just remove `[language]` and it should be good.

---

<div class="post-metadata">

### Author: ![zacarias](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/zacarias/32/1634_2.png) [@zacarias](https://discuss.tryton.org/u/zacarias)
#### Post date: [July 8, 2023, 9:56pm UTC](https://discuss.tryton.org/t/error-trytond-config-could-not-load/6328/5 "2023-07-08T21:56:10Z")

</div>

I remove the language bus the error persist, I think there is a problem with my installation, in the version 6.6.6 works fine, thanks for help

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [July 9, 2023, 7:35am UTC](https://discuss.tryton.org/t/error-trytond-config-could-not-load/6328/6 "2023-07-09T07:35:39Z")

</div>

I suspect that the user starting `trytond` has no read access to the configuration file.

---

<div class="post-metadata">

### Author: ![zacarias](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/zacarias/32/1634_2.png) [@zacarias](https://discuss.tryton.org/u/zacarias)
#### Post date: [July 9, 2023, 12:27pm UTC](https://discuss.tryton.org/t/error-trytond-config-could-not-load/6328/7 "2023-07-09T12:27:20Z")

</div>

I try run with different user, the trytond.conf is loading fine, and the server works as normal.

Thank’s for help

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [August 8, 2023, 12:28pm UTC](https://discuss.tryton.org/t/error-trytond-config-could-not-load/6328/8 "2023-08-08T12:28:12Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
