Joplin Server no sync anymore with shared subfolder

Hi,

  • Syncing shared Subfolder: Subfolder is not showing on the diffrent user device
    User A is syncing Folder with User B. The Subfolders are not syncing.
  • unRAID 6.11.5 with Docker Container -
    (https:// hub.docker. com/r/joplin/ server) Version: joplin/server:latest - pulled today 2023-02-20

Client Version: 2.9.17

Log:

2023-02-20 14:08:16: [error] ShareService: Could not update share items: TypeError: Cannot read properties of undefined (reading 'jop_share_id')
    at /home/joplin/packages/server/src/models/ShareModel.ts:304:56
    at Array.find (<anonymous>)
    at ShareModel.<anonymous> (/home/joplin/packages/server/src/models/ShareModel.ts:304:32)
    at Generator.next (<anonymous>)
    at /home/joplin/packages/server/dist/models/ShareModel.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/home/joplin/packages/server/dist/models/ShareModel.js:4:12)
    at /home/joplin/packages/server/src/models/ShareModel.ts:289:43
    at ShareModel.<anonymous> (/home/joplin/packages/server/src/models/BaseModel.ts:228:19)
    at Generator.next (<anonymous>)
  noReplyName: '',
  noReplyEmail: ''
}
2023-02-20 14:08:14: App: Content driver: { type: 1 }
2023-02-20 14:08:14: App: Content driver (fallback): null
2023-02-20 14:08:14: App: Trying to connect to database...
2023-02-20 14:08:14: App: Connection check: {
  latestMigration: { name: '20221020143305_task_states.js', done: true },
  isCreated: true,
  error: null
}
2023-02-20 14:08:14: App: Auto-migrating database...
2023-02-20 14:08:14: App: Latest migration: { name: '20221020143305_task_states.js', done: true }
2023-02-20 14:08:16: App: Performing main storage check...
2023-02-20 14:08:16: App: Database storage is special and cannot be checked this way. If the connection to the database was successful then the storage driver should work too.
2023-02-20 14:08:16: App: Starting services...
2023-02-20 14:08:16: ShareService: Starting maintenance...
2023-02-20 14:08:16: EmailService: Service will be disabled because mailer config is not set or is explicitly disabled
2023-02-20 14:08:16: TaskService: Scheduling #1 (Delete expired tokens): 0 */6 * * *
2023-02-20 14:08:16: TaskService: Scheduling #2 (Update total sizes): 0 * * * *
2023-02-20 14:08:16: TaskService: Scheduling #3 (Process oversized accounts): 30 */2 * * *
2023-02-20 14:08:16: TaskService: Scheduling #6 (Delete expired sessions): 0 */6 * * *
2023-02-20 14:08:16: TaskService: Scheduling #7 (Compress old changes): 0 0 */2 * *
2023-02-20 14:08:16: TaskService: Scheduling #8 (Process user deletions): 10 * * * *
2023-02-20 14:08:16: App: Call this for testing: `curl https://joplin.mezlaw.de/api/ping`
2023-02-20 14:08:16: ShareService: Maintenance completed in 42ms
2023-02-20 14:08:23: App: GET /api/items/root:/info.json:/content (200) (10ms)
2023-02-20 14:08:23: App: POST /api/locks (200) (12ms)
2023-02-20 14:08:23: App: PUT /api/items/root:/info.json:/content (200) (19ms)
2023-02-20 14:08:23: App: DELETE /api/locks/2_1_6fd3a76ff90847dab553102e6751c121 (200) (6ms)
2023-02-20 14:08:23: App: POST /api/locks (200) (6ms)
2023-02-20 14:08:23: App: GET /api/items/root:/:/delta (200) (4ms)
2023-02-20 14:08:23: App: DELETE /api/locks/1_1_6fd3a76ff90847dab553102e6751c121 (200) (8ms)
2023-02-20 14:08:23: App: GET /api/share_users (200) (2ms)
2023-02-20 14:08:23: App: GET /api/shares (200) (3ms)
2023-02-20 14:08:33: App: GET /api/items/root:/info.json:/content (200) (4ms)
2023-02-20 14:08:33: App: POST /api/locks (200) (8ms)
2023-02-20 14:08:33: App: GET /api/items/root:/:/delta (200) (3ms)

I'm experiencing the same issue since a few weeks.
Running latest version on kubernetes (containerd 1.6.18) and psql (PostgreSQL) 15.2

2023-02-26 11:48:15: ShareService: Starting maintenance...
2023-02-26 11:48:15: [error] ShareService: Could not update share items: TypeError: Cannot read properties of undefined (reading 'jop_share_id')
    at /home/joplin/packages/server/src/models/ShareModel.ts:304:56
    at Array.find (<anonymous>)
    at ShareModel.<anonymous> (/home/joplin/packages/server/src/models/ShareModel.ts:304:32)
    at Generator.next (<anonymous>)
    at /home/joplin/packages/server/dist/models/ShareModel.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/home/joplin/packages/server/dist/models/ShareModel.js:4:12)
    at /home/joplin/packages/server/src/models/ShareModel.ts:289:43
    at ShareModel.<anonymous> (/home/joplin/packages/server/src/models/BaseModel.ts:228:19)
    at Generator.next (<anonymous>)

None of you care to say which version of Joplin Server so we can't provide support. However I believe this is fixed in the latest beta

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