Importing older immich library in new install

I used immich a few months ago on my PC, but after deciding to change hardware I copied the whole immich-app folder containing the uploads and the db folders to another drive, and deleted everything else including the docker containers.

After installing the current version of immich and changing the UPLOAD_LOCATION and the DB_DATA_LOCATION to my old folders and the DB_USERNAME and DB_PASSWORD to my old user in the .env file it gave me this error:
ERROR [Microservices:DatabaseRepository] Migrations failed: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade⁠

So I've installed 2 older version (first v1.130.1, roughly from the same time period I first installed it and then v1.132.0), and I can access the web interface and view my photos, but it disconnects from time to time and the redis container gives me these errors:
Error: connect ETIMEDOUT
    at Socket.<anonymous> (/usr/src/app/node_modules/ioredis/built/Redis.js:170:41)
    at Object.onceWrapper (node:events:632:28)
    at Socket.emit (node:events:518:28)
    at Socket._onTimeout (node:net:609:8)
    at listOnTimeout (node:internal/timers:594:17)
    at process.processTimers (node:internal/timers:529:7) {
  errorno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  syscall: 'connect'
}

Error: getaddrinfo ENOTFOUND redis
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {
  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'redis'
}

missing 'error' handler on this Redis client
Was this page helpful?