Table of Contents

Updating RePoSyD

Update RePoSyD's Service Instance

Check System Requirements

@reposyd/service Node.js Yarn Git
5.24.2 24.23.0 >= 1.22.2 latest

Press Win+X, select Windows PowerShell (Admin) or Terminal (Admin) and run the following commands to check the system requiremeent:

cd c:\reposyd\service node -v

C:\> cd c:\reposyd\service
C:\reposyd\service> node -v
v24.22.2

C:\reposyd\service> git -v                       
git version 2.56.1.windows.1

C:\reposyd\service> yarn -v
1.22.2

List pending Patches

cd c:\reposyd\service

yarn start schema patch –url=sqlite:<your database folder>?database=reposyd.sqlite

C:\reposyd\service> yarn start start schema patch --url=sqlite:C:\reposyd\data\database?database=reposyd.sqlite 

repository - version 5.3.4 installed on 2026-10-05 21:02:11
  1: 5.4.0 feat: ISMS classification and visibility
  2: 5.5.0 feat: added team calender               

repository-blobs - version 2.0.0 installed on 2024-11-05 22:01:27
  no pending patches

Installing pending Patches

yarn start start schema patch –backup c:\temp –zip –url=sqlite:C:/reposyd/data/database?database=reposyd.sqlite –upgrade

–backup <folder> creates a backup in specified folder
–zip compresses the backup files into a zip-file
–upgrade installs all pending patches
–dryrun installs all pending patches without saving the chages
C:\reposyd\service> yarn start start schema patch --backup c:\temp --zip --url=sqlite:C:/reposyd/data/database?database=reposyd.sqlite  --upgrade

Update a RePoSyD Instance

Check for Patches

This chapter describes how to check your installation for available patches within a version branch. A patch is available if the third digit of the version number (5.7.0 → 5.7.1) has been incremented.

Press Win+X, select Windows PowerShell (Admin) or Terminal (Admin) and run the following commands:

cd c:\reposyd\service

.\reposyd-cli install check

C:\> cd c:\reposyd\service
C:\reposyd\service>

In this example, a patch is available for the RePoSyD application (@reposyd/app), and the application would be updated from version 5.6.8 to 5.6.10.

C:\reposyd\service> .\reposyd-cli install check
@reposyd/app       5.6.8 →  5.6.10 
@reposyd/service   5.20.0  up to date
@reposyd/templates 5.4.1       up to date

Check for Updates

To check if an update to a new version is available, you must specify the argument minor when calling the command. A update is available if the second digit of the version number (5.6.10 → 5.7.1) has been incremented.

.\reposyd-cli install check minor

In this example, an update is available for the RePoSyD application (@reposyd/app), and the application would be updated from version 5.6.8 to 5.7.1.

C:\reposyd\service> .\reposyd-cli install check minor
@reposyd/app       5.6.8  → 5.7.1
@reposyd/service   5.20.0   up to date
@reposyd/templates 5.4.1    up to date

Install the latest Patch

Press Win+X, select Windows PowerShell (Admin) or Terminal (Admin) and run the following commands:

.\reposyd-cli install update

C:\reposyd\service> .\reposyd-cli install update minor
INFO: update started
WARN: The update for the RePoSyD application must be performed manually!
WARN: The version file is located in the directory: C:\reposyd\data\packages
INFO: update completed

Install the latest Update

Update RePoSyD CLI

Press Win+X, select Windows PowerShell (Admin) or Terminal (Admin) and run the following commands:

yarn config set registry https://registry.reposyd.de yarn global add @reposyd/service

C:\> yarn config set registry https://registry.reposyd.de
yarn config v1.22.19
success Set "registry" to "https://registry.reposyd.de".
Done in 0.04s.

C:\> yarn global add @reposyd/service
yarn global v1.22.22
[1/4] Resolving packages...
warning @reposyd/service > @reposyd/templates > loadash@1.0.0: Package is unsupport. Please use the lodash package instead.
warning @reposyd/service > @reposyd/rg > svg2png > phantomjs-prebuilt@2.1.16: this package is now deprecated
warning @reposyd/service > @reposyd/rg > svg2png > phantomjs-prebuilt > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning @reposyd/service > @reposyd/rg > svg2png > phantomjs-prebuilt > request > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @reposyd/service > @reposyd/rg > svg2png > phantomjs-prebuilt > request > har-validator@5.1.5: this library is no longer supported
[2/4] Fetching packages...
warning @zip.js/zip.js@2.8.26: The engine "deno" appears to be invalid.
warning @zip.js/zip.js@2.8.26: The engine "bun" appears to be invalid.
[3/4] Linking dependencies...
warning "@reposyd/service > @reposyd/core > @reposyd/utils > datetime-locale-patterns > cldr-dates-full@44.0.1" has unmet peer dependency "cldr-numbers-full@44.0.1".
[4/4] Building fresh packages...
success Installed "@reposyd/service@5.20.0" with binaries:
      - reposyd
Done in 22.98s.

Issues

The installation of @reposyd\cli as a global package may fail using yarn. In this case use npm for the installation.

npm config set registry https://registry.reposyd.de

npm i -g @reposyd/service

C:\> npm config set registry https://registry.reposyd.de

C:\> npm i -g @reposyd/service

Installing @reposyd/service behind a Proxy Server

If RePoSyD is installed in a corporate environment, you may need to configure YARN to provide authentication for the proxy server. Open a command shell and enter the following commands to configure NPM to use an HTTP and/or HTTPS proxy.

$ yarn config set proxy http://username:password@host:port
$ yarn config set https-proxy http://username:password@host:port

Or add the settings directly to your ~/.yarnrc file:

proxy=http://username:password@host:port
https-proxy=http://username:password@host:port

Verifing the Installation

C:\> reposyd -V
2.0.0

C:\>