# Notes are not uploaded to the joplin server

**URL:** <https://discourse.joplinapp.org/t/notes-are-not-uploaded-to-the-joplin-server/20531>\
**Category:** Support\
**Created:** [25 September 2021 17:57 UTC](https://discourse.joplinapp.org/t/notes-are-not-uploaded-to-the-joplin-server/20531 "2021-09-25T17:57:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergicus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/sergicus/32/1956_2.png) [@sergicus](https://discourse.joplinapp.org/u/sergicus)\
**Post date:** [25 September 2021 17:57 UTC](https://discourse.joplinapp.org/t/notes-are-not-uploaded-to-the-joplin-server/20531/1 "2021-09-25T17:57:31Z")

</div>

I decided to deploy my joplin server. Most of the notes were uploaded to the server, but then the download stopped

It seems that some file is not being uploaded to the server. In the logs everything went in cycles.

Here is a piece of logs, such a piece is cyclically repeated

> pp\_1 | \> @joplin/server@2.4.8 start  
> app\_1 | \> node dist/app.js  
> app\_1 |  
> app\_1 | 2021-09-25 17:34:58: App: Starting server v2.4.8 (prod) on port 22300 and PID 20...  
> app\_1 | 2021-09-25 17:34:58: App: Running in Docker: true  
> app\_1 | 2021-09-25 17:34:58: App: Public base URL: [http://notes.domen.ru:22300](http://notes.domen.ru:22300)  
> app\_1 | 2021-09-25 17:34:58: App: API base URL: [http://notes.domen.ru:22300](http://notes.domen.ru:22300)  
> app\_1 | 2021-09-25 17:34:58: App: User content base URL: [http://notes.domen.ru:22300](http://notes.domen.ru:22300)  
> app\_1 | 2021-09-25 17:34:58: App: Log dir: /home/joplin/packages/server/logs  
> app\_1 | 2021-09-25 17:34:58: App: DB Config: {  
> app\_1 | client: 'pg',  
> app\_1 | name: 'joplinbase',  
> app\_1 | slowQueryLogEnabled: false,  
> app\_1 | slowQueryLogMinDuration: 10000,  
> app\_1 | user: 'joplin',  
> app\_1 | password: '**',  
> app\_1 | port: 5432,  
> app\_1 | host: 'db'  
> app\_1 | }  
> app\_1 | 2021-09-25 17:34:58: App: Trying to connect to database...  
> app\_1 | 2021-09-25 17:34:58: App: Connection check: {  
> app\_1 | latestMigration: { name: '20190913171451\_create.js' },  
> app\_1 | isCreated: true,  
> app\_1 | error: null  
> app\_1 | }  
> app\_1 | 2021-09-25 17:35:00: App: Migrating database...  
> app\_1 | 2021-09-25 17:35:00: App: Starting services...  
> app\_1 | 2021-09-25 17:35:00: ShareService: Starting maintenance...  
> app\_1 | 2021-09-25 17:35:00: EmailService: Service will be disabled because mailer config is not set or is explicitly disabled  
> app\_1 | 2021-09-25 17:35:00: App: Call this for testing: `curl http://notes.domen.ru:22300/api/ping`  
> app\_1 | 2021-09-25 17:35:00: ShareService: Maintenance completed in 118ms  
> app\_1 | 2021-09-25 17:38:33: App: GET /api/items/root:/info.json:/content (74ms)  
> app\_1 | 2021-09-25 17:38:33: App: GET /api/items/root:/locks/_:/children (284ms)  
> app\_1 | 2021-09-25 17:38:33: App: GET /api/items/root:/locks/_:/children (276ms)  
> app\_1 | 2021-09-25 17:38:33: App: PUT /api/items/root:/locks/sync\_desktop\_07c0cb13b8dc42db9a0869c5e0d5a615.json:/content (99ms)  
> app\_1 | 2021-09-25 17:38:33: App: GET /api/items/root:/locks/_:/children (32ms)  
> app\_1 | 2021-09-25 17:38:33: App: GET /api/items/root:/locks/_:/children (33ms)  
> app\_1 | 2021-09-25 17:39:34: App: GET /api/items/root:/locks/_:/children (46ms)  
> app\_1 | 2021-09-25 17:39:34: App: GET /api/items/root:/locks/_:/children (85ms)  
> app\_1 | 2021-09-25 17:39:34: App: GET /api/items/root:/locks/_:/children (96ms)  
> app\_1 | 2021-09-25 17:39:34: App: PUT /api/items/root:/locks/sync\_desktop\_07c0cb13b8dc42db9a0869c5e0d5a615.json:/content (28ms)  
> app\_1 | 2021-09-25 17:39:58: [error] App: ::ffff:213.248.13.186 Error: insert into "items" ("content", "content\_size", "created\_time", "id", "mime\_type", "name", "updated\_time") values ($1, $2, $3, $4, $5, $6, $7) - Connection terminated unexpectedly  
> app\_1 | at Connection. (/home/joplin/packages/server/node\_modules/pg/lib/client.js:132:73)  
> app\_1 | 2021-09-25 17:39:58: App: PUT /api/items/root:/.resource/258c4b3b4acf4f76a283a96320097ba0:/content (83045ms)  
> app\_1 | at Object.onceWrapper (node:events:513:28)  
> app\_1 | at Connection.emit (node:events:394:28)  
> app\_1 | at Socket. (/home/joplin/packages/server/node\_modules/pg/lib/connection.js:108:12)  
> app\_1 | at Socket.emit (node:events:406:35)  
> app\_1 | at endReadableNT (node:internal/streams/readable:1343:12)  
> app\_1 | at processTicksAndRejections (node:internal/process/task\_queues:83:21)  
> app\_1 | Connection Error: Connection ended unexpectedly  
> app\_1 | Connection Error: Connection ended unexpectedly  
> app\_1 | 2021-09-25 17:40:34: App: GET /api/items/root:/locks/_:/children (475ms)  
> app\_1 | 2021-09-25 17:40:34: App: GET /api/items/root:/locks/_:/children (32ms)  
> app\_1 | 2021-09-25 17:40:34: App: GET /api/items/root:/locks/_:/children (48ms)  
> app\_1 | 2021-09-25 17:40:34: App: PUT /api/items/root:/locks/sync\_desktop\_07c0cb13b8dc42db9a0869c5e0d5a615.json:/content (74ms)  
> app\_1 | 2021-09-25 17:41:07: [error] App: ::ffff:213.248.13.186 Error: insert into "items" ("content", "content\_size", "created\_time", "id", "mime\_type", "name", "updated\_time") values ($1, $2, $3, $4, $5, $6, $7) - Connection terminated unexpectedly  
> app\_1 | at Connection. (/home/joplin/packages/server/node\_modules/pg/lib/client.js:132:73)  
> app\_1 | at Object.onceWrapper (node:events:513:28)  
> app\_1 | at Connection.emit (node:events:394:28)  
> app\_1 | at Socket. (/home/joplin/packages/server/node\_modules/pg/lib/connection.js:108:12)  
> app\_1 | at Socket.emit (node:events:406:35)  
> app\_1 | at endReadableNT (node:internal/streams/readable:1343:12)  
> app\_1 | at processTicksAndRejections (node:internal/process/task\_queues:83:21)  
> app\_1 | 2021-09-25 17:41:07: App: PUT /api/items/root:/.resource/258c4b3b4acf4f76a283a96320097ba0:/content (64415ms)  
> app\_1 | Connection Error: Connection ended unexpectedly  
> app\_1 | Connection Error: Connection ended unexpectedly  
> app\_1 | 2021-09-25 17:41:34: App: GET /api/items/root:/locks/_:/children (425ms)  
> app\_1 | 2021-09-25 17:41:34: App: GET /api/items/root:/locks/_:/children (26ms)  
> app\_1 | 2021-09-25 17:41:34: App: GET /api/items/root:/locks/_:/children (41ms)  
> app\_1 | 2021-09-25 17:41:34: App: PUT /api/items/root:/locks/sync\_desktop\_07c0cb13b8dc42db9a0869c5e0d5a615.json:/content (95ms)  
> app\_1 | 2021-09-25 17:42:11: [error] App: ::ffff:213.248.13.186 Error: insert into "items" ("content", "content\_size", "created\_time", "id", "mime\_type", "name", "updated\_time") values ($1, $2, $3, $4, $5, $6, $7) - Connection terminated unexpectedly  
> app\_1 | at Connection. (/home/joplin/packages/server/node\_modules/pg/lib/client.js:132:73)  
> app\_1 | at Object.onceWrapper (node:events:513:28)  
> app\_1 | at Connection.emit (node:events:394:28)  
> app\_1 | at Socket. (/home/joplin/packages/server/node\_modules/pg/lib/connection.js:108:12)  
> app\_1 | at Socket.emit (node:events:406:35)  
> app\_1 | at endReadableNT (node:internal/streams/readable:1343:12)  
> app\_1 | at processTicksAndRejections (node:internal/process/task\_queues:83:21)  
> app\_1 | 2021-09-25 17:42:11: App: PUT /api/items/root:/.resource/258c4b3b4acf4f76a283a96320097ba0:/content (56538ms)  
> app\_1 | Connection Error: Connection ended unexpectedly  
> app\_1 | Connection Error: Connection ended unexpectedly  
> app\_1 | 2021-09-25 17:42:34: App: GET /api/items/root:/locks/_:/children (431ms)  
> app\_1 | 2021-09-25 17:42:34: App: GET /api/items/root:/locks/_:/children (45ms)  
> app\_1 | 2021-09-25 17:42:34: App: GET /api/items/root:/locks/_:/children (45ms)  
> app\_1 | 2021-09-25 17:42:34: App: PUT /api/items/root:/locks/sync\_desktop\_07c0cb13b8dc42db9a0869c5e0d5a615.json:/content (57ms)  
> app\_1 | Killed  
> db\_1 | 2021-09-25 17:43:38.361 UTC [66] LOG: unexpected EOF on client connection with an open transaction  
> app\_1 |  
> app\_1 | \> @joplin/server@2.4.8 start  
> app\_1 | \> node dist/app.js  
> app\_1 |  
> app\_1 | 2021-09-25 17:43:52: App: Starting server v2.4.8 (prod) on port 22300 and PID 19...  
> app\_1 | 2021-09-25 17:43:52: App: Running in Docker: true  
> app\_1 | 2021-09-25 17:43:52: App: Public base URL: [http://notes.domen.ru:22300](http://notes.domen.ru:22300)  
> app\_1 | 2021-09-25 17:43:52: App: API base URL: [http://notes.domen.ru:22300](http://notes.domen.ru:22300)  
> app\_1 | 2021-09-25 17:43:52: App: User content base URL: [http://notes.domen.ru:22300](http://notes.domen.ru:22300)  
> app\_1 | 2021-09-25 17:43:52: App: Log dir: /home/joplin/packages/server/logs  
> app\_1 | 2021-09-25 17:43:52: App: DB Config: {  
> app\_1 | client: 'pg',  
> app\_1 | name: 'joplinbase',  
> app\_1 | slowQueryLogEnabled: false,  
> app\_1 | slowQueryLogMinDuration: 10000,  
> app\_1 | user: 'joplin',  
> app\_1 | password: '**',  
> app\_1 | port: 5432,  
> app\_1 | host: 'db'  
> app\_1 | }  
> app\_1 | 2021-09-25 17:43:52: App: Trying to connect to database...  
> app\_1 | 2021-09-25 17:43:53: App: Connection check: {  
> app\_1 | latestMigration: { name: '20190913171451\_create.js' },  
> app\_1 | isCreated: true,  
> app\_1 | error: null  
> app\_1 | }  
> app\_1 | 2021-09-25 17:43:54: App: Migrating database...  
> app\_1 | 2021-09-25 17:43:54: App: Starting services...  
> app\_1 | 2021-09-25 17:43:54: ShareService: Starting maintenance...  
> app\_1 | 2021-09-25 17:43:54: EmailService: Service will be disabled because mailer config is not set or is explicitly disabled  
> app\_1 | 2021-09-25 17:43:54: App: Call this for testing: `curl http://notes.domen.ru:22300/api/ping`  
> app\_1 | 2021-09-25 17:43:54: ShareService: Maintenance completed in 107ms  
> app\_1 | 2021-09-25 17:43:57: App: DELETE /api/items/root:/locks/sync\_desktop\_07c0cb13b8dc42db9a0869c5e0d5a615.json: (113ms)  
> app\_1 | 2021-09-25 17:43:57: App: GET /api/share\_users (7ms)  
> app\_1 | 2021-09-25 17:43:58: App: GET /api/shares (1ms)  
> app\_1 | 2021-09-25 17:43:59: App: GET /api/items/root:/locks/_:/children (234ms)  
> app\_1 | 2021-09-25 17:43:59: App: PUT /api/items/root:/temp/timeCheck910829.txt:/content (86ms)  
> app\_1 | 2021-09-25 17:43:59: App: GET /api/items/root:/temp/timeCheck910829.txt: (2ms)  
> app\_1 | 2021-09-25 17:43:59: App: DELETE /api/items/root:/temp/timeCheck910829.txt: (32ms)  
> app\_1 | 2021-09-25 17:44:21: App: GET /api/items/root:/info.json:/content (19ms)  
> app\_1 | 2021-09-25 17:44:21: App: GET /api/items/root:/locks/_:/children (46ms)  
> app\_1 | 2021-09-25 17:44:21: App: GET /api/items/root:/locks/_:/children (60ms)  
> app\_1 | 2021-09-25 17:44:21: App: PUT /api/items/root:/locks/sync\_desktop\_07c0cb13b8dc42db9a0869c5e0d5a615.json:/content (44ms)  
> app\_1 | 2021-09-25 17:44:22: App: GET /api/items/root:/locks/_:/children (28ms)  
> app\_1 | 2021-09-25 17:44:22: App: GET /api/items/root:/locks/_:/children (19ms)  
> app\_1 | 2021-09-25 17:45:22: App: GET /api/items/root:/locks/_:/children (36ms)  
> app\_1 | 2021-09-25 17:45:22: App: GET /api/items/root:/locks/_:/children (22ms)  
> app\_1 | 2021-09-25 17:45:22: App: GET /api/items/root:/locks/_:/children (23ms)  
> app\_1 | 2021-09-25 17:45:22: App: PUT /api/items/root:/locks/sync\_desktop\_07c0cb13b8dc42db9a0869c5e0d5a615.json:/content (25ms)  
> app\_1 | Killed  
> db\_1 | 2021-09-25 17:45:47.248 UTC [68] LOG: unexpected EOF on client connection with an open transaction  
> joplin-witnout-nginx\_app\_1 exited with code 137  
> app\_1 |

What should I do?  
The server was overloading, but it didn't help

---

<div class="post-metadata">

**Author:** ![sergicus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/sergicus/32/1956_2.png) [@sergicus](https://discourse.joplinapp.org/u/sergicus)\
**Post date:** [5 October 2021 20:21 UTC](https://discourse.joplinapp.org/t/notes-are-not-uploaded-to-the-joplin-server/20531/2 "2021-10-05T20:21:24Z")

</div>

I figured it out. It was because of the large files that were attached to the notes. Deleted them and it worked

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [4 November 2021 20:21 UTC](https://discourse.joplinapp.org/t/notes-are-not-uploaded-to-the-joplin-server/20531/3 "2021-11-04T20:21:45Z")

</div>

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