© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
error CONNECT_TIMEOUT database:5432 - Immich
I
Immich
•
2mo ago
•
13 replies
todbringer
error CONNECT_TIMEOUT database:5432
🚧
Setup
🗄️
Server
❓
Question
Hi
. Tried to install immich on my NAS
(Synology
) using this guide
(
https://docs.immich.app/install/synology
)
. However
, the immich
_server loops restarting every 30 secs
.
Log
(partly
)
:
2026
/02
/15
1
4
:
0
5
:52 stderr
}
2026
/02
/15
1
4
:
0
5
:52 stderr port
: 5432
2026
/02
/15
1
4
:
0
5
:52 stderr address
:
'database
'
,
2026
/02
/15
1
4
:
0
5
:52 stderr errno
:
'CONNECT
_TIMEOUT
'
,
2026
/02
/15
1
4
:
0
5
:52 stderr code
:
'CONNECT
_TIMEOUT
'
,
2026
/02
/15
1
4
:
0
5
:52 stderr at process
.processTimers
(
n
o
d
e
:internal
/
t
i
m
e
r
s
:
5
4
1
:7
)
{
2026
/02
/15
1
4
:
0
5
:52 stderr at listOnTimeout
(
n
o
d
e
:internal
/
t
i
m
e
r
s
:
6
0
7
:11
)
2026
/02
/15
1
4
:
0
5
:52 stderr at Timeout
.done
[as
_onTimeout
]
(
/usr
/src
/app
/server
/node
_modules
/
.pnpm
/postgres
@3
.4
.8
/node
_modules
/postgres
/cjs
/src
/connection
.
j
s
:
1
0
5
9
:8
)
2026
/02
/15
1
4
:
0
5
:52 stderr at connectTimedOut
(
/usr
/src
/app
/server
/node
_modules
/
.pnpm
/postgres
@3
.4
.8
/node
_modules
/postgres
/cjs
/src
/connection
.
j
s
:
2
6
2
:20
)
2026
/02
/15
1
4
:
0
5
:52 stderr Error
: write CONNECT
_TIMEOUT
d
a
t
a
b
a
s
e
:5432
2026
/02
/15
1
4
:
0
5
:52 stderr
2026
/02
/15
1
4
:
0
5
:52 stderr
^
2026
/02
/15
1
4
:
0
5
:52 stderr errored
(Errors
.connection
(
'CONNECT
_TIMEOUT
'
, options
, socket
)
)
Immich
Join
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
37,708
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Database timeout configuration
I
Immich / help-desk-support
3mo ago
microservices worker error: Error: connect ENOENT /run/postgresql/.s.PGSQL.5432
I
Immich / help-desk-support
10mo ago
Error cannot connect to the database
I
Immich / help-desk-support
3y ago
Error Connection Timeout
I
Immich / help-desk-support
3y ago