Letta本体无法正常使用(问题不出自本项目,单纯提问,解决后删)
在打开(确认过管理员模式、无中文路径,已挂梯子)Letta时无法连接到Letta Server,并在Logs种出现这种提示报错,已经重装过两次并中途清理过缓存,仍然出现同样问题
[2025-03-30T09:44:42.532Z]
Starting Letta Server...
[2025-03-30T09:45:14.798Z]
Initializing Letta Desktop Service... Connecting to Postgres at postgresql://postgres@localhost:54321/postgres Environment PATH: C:\Users\jason\AppData\Local\Temp_MEI376882\pywin32_system32;C:\Program Files\Eclipse Adoptium\jdk-17.0.10.7-hotspot\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\mingw64\bin;C:\Program Files\nodejs;C:\curl-8.5.0_3-win64-mingw\bin;C:\Program Files\Git\cmd;C:\Program Files\CMake\bin;C:\Program Files\Docker\Docker\resources\bin;C:\Users\jason\AppData\Local\Programs\Python\Python312\Scripts;C:\Users\jason\AppData\Local\Programs\Python\Python312;C:\Users\jason\AppData\Local\Microsoft\WindowsApps;C:\Users\jason\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\jason\AppData\Local\GitHubDesktop\bin;C:\Users\jason\AppData\Roaming\npm;C:\Users\jason\Desktop\Code\Java\intelij\bin; Current working directory: C:\Users\jason\AppData\Local\Programs\letta-desktop Attempt 1 to connect to Postgres failed: Can't create a connection to host localhost and port 54321 (timeout is None and source_address is None). Attempt 2 to connect to Postgres failed: Can't create a connection to host localhost and port 54321 (timeout is None and source_address is None). Attempt 3 to connect to Postgres failed: Can't create a connection to host localhost and port 54321 (timeout is None and source_address is None). Attempt 4 to connect to Postgres failed: Can't create a connection to host localhost and port 54321 (timeout is None and source_address is None). Attempt 5 to connect to Postgres failed: Can't create a connection to host localhost and port 54321 (timeout is None and source_address is None). FATAL: Could not connect to Postgres instance running at postgresql://postgres@localhost:54321/postgres after 5 attempts.
[2025-03-30T09:45:15.777Z]
child process exited with code 1
项目支持提问和使用上的问题,无需删issue以方便其他人解决同类问题
这是完整报错吗?就片段看是Postgres数据库未启动或者连接不上,检查一下54321端口。 lettadesktop再alpha阶段有许多bug,你可以使用docker的方式部署letta
对,我也是这样,应该是letta那边的问题,你换成docker部署自然就好了
此问题已过时,因为它已打开30天,没有任何活动。如该问题仍未解决,请提供更多信息。
此问题已关闭,因为自标记为过时以来,它已处于非活动状态14天。