Restreamer
πŸ‡ΊπŸ‡Έ English
πŸ‡ΊπŸ‡Έ English
  • πŸš€datarhei Restreamer
  • 🏁Getting started
    • Quick Start
    • Overview
  • πŸ’ΎInstalling
    • Minimum Requirements
    • Official Recommendations
    • Raspberry Pi / ARM
    • Linux
    • Mac
      • Docker Desktop
      • Terminal
    • Windows
      • Docker Desktop
      • Terminal
    • Cloud/Hosting-Service
    • Update
    • Migration
  • πŸ“šKnowledge Base
    • Manual
      • Login
      • Main screen
      • System displays
      • Wizard
      • System settings
        • General system settings
        • Service
        • Network
        • Authorization
        • Playback
        • Disk space
        • RTMP
        • SRT
        • Logging
      • Publication Website
        • General settings
        • Template
        • Design
        • Notes
        • Code injection
      • Multi Video source
      • Publication services
      • Stream settings
        • General stream settings
          • Video settings
            • Network source
            • Hardware device
            • Virtual video source
            • Frame buffer
            • Raspberry Pi Camera
          • Audio settings
            • Network source
            • Virtual audio source
            • No audio
        • Processing and Control
        • Meta Information
        • License
      • Video player settings
      • System monitoring
      • Process report
      • Process details
      • Language
    • User Guides
      • How do I enable the RTMP server?
      • 🟑How to use the audio filters?
      • How to stream SRT from OBS?
      • How to use SRT for publication service
      • How to rotate a video?
      • How to integrate a website
      • How to change the RTMP port
      • How to stream an H.265 IP-cam
      • Proxying
      • How can I receive an HLS stream?
      • How do I install Docker?
      • How does port forwarding work for the Restreamer?
      • How can I use HTTPS with Let's Encrypt?
      • How can I receive an RTMP stream?
      • How do I operate the wizard?
      • How can I stream to Facebook Live?
      • How can I use YouTube with the Restreamer?
      • How can I change the password of the Restreamer?
      • How can I use the landing page?
      • How can I display a live stream on my website?
      • How do I stream an IP cam with RTSP?
      • How do I connect a USB camera to the Restreamer?
      • How do I start a GPU Encoding?
      • How do I stream a RaspiCam?
      • How do I write a template for the publication website?
      • How do I stream to HDMI?
    • FAQ
      • CC License
      • What are environment variables?
    • Troubleshooting
      • Basic Troubleshooting
      • Encoding compatibility list
      • 🟑Understand different error messages?
      • Why do I see ENV and cannot select anything?
      • ‼️No video
  • πŸ‘¨β€πŸ’»Developer
    • Core API
    • Architecture
    • Environment Variables
    • Translations
  • ⭐Premium Support
    • Helping Hands
    • Enterprise
Powered by GitBook
On this page
  • v2.4+ to v2.3.x (downgrade)
  • The required steps:
  • v0.6.x to v2.x
  • Review your Docker command line

Was this helpful?

Export as PDF
  1. Installing

Migration

Migration notes for version breaks.

PreviousUpdateNextManual

Last updated 2 years ago

Was this helpful?

v2.4+ to v2.3.x (downgrade)

Restreamer version >= 2.4.0 switches to FFmpeg 5.1.2, which is incompatible with earlier versions.

However, if problems arise due to the update, there is a backup to downgrade to =< 2.3.x.

The required steps:

  • Switch to the mounted Restreamer configuration folder Docker parameter: -v /host/path:/core/config

  • Rename db.json to db_ff5.json

  • Rename db_ff4.json to db.json

  • Start the Restreamer container with an older Docker image tag (e.g., datarhei/restreamer:2.3.0.)

docker kill restreamer
docker rm restreamer
cd /mnt/restreamer/config
mv db.json db_ff5.json
mv db_ff4.json db.json
docker run {used params...} datarhei/restreamer:2.3.0

Restoring the processes created with the new version >= 2.4.0, is impossible.

v0.6.x to v2.x

If you are currently using an older version of Restreamer and want to upgrade to the latest version, you have to follow these steps. In case you don't need or want to keep your current stream settings you can go the page and install Restreamer v2.x from scratch.

This guide assumes that your current docker command line looks like

$ docker run -d --restart always \
     --name restreamer \
     -e "RS_USERNAME=admin" -e "RS_PASSWORD=datarhei" \
     -p 8080:8080 -v /mnt/restreamer/db:/restreamer/db \
     datarhei/restreamer:latest

Your actual command line might have more enviroment variables or different paths to the mounted directories.

  1. Start Restreamer v0.6.8 and start streaming from the video source.

  2. Stop Restreamer v0.6.8 by stopping the Docker container, e.g. docker kill restreamer and then docker rm restreamer.

  3. Pull the latest Restreamer image, e.g. docker pull datarhei/restreamer:latest.

  4. Adjust the mounted volumes by replacing -v /mnt/restreamer/db:/restreamer/db with -v /mnt/restreamer/db:/core/config -v /opt/restreamer/data:/core/data in your docker command line.

  5. Start Restreamer. Now the settings from v0.6.8 are imported to v2.x

  6. Done.

Your docker command should now look like

$ docker run -d --restart always \
     --name restreamer \
     -e "RS_USERNAME=admin" -e "RS_PASSWORD=datarhei" \
     -p 8080:8080 \
     -v /mnt/restreamer/db:/core/config -v /opt/restreamer/data:/core/data \
     datarhei/restreamer:latest

After the old settings have been successfully imported, the old settings database (v1.json) stored in /mnt/restreamer/db will not be used anymore. A new settings database (db.json) and a config file (config.json) have been created in that directory.

Review your Docker command line

As in the example command line above, there are two environment variables RS_USERNAME and RS_PASSWORD. You can remove those because during the first start of Restreamer v2.x their values were transferred into the config.json.

Your docker command should now look like

$ docker run -d --restart always \
     --name restreamer \
     -p 8080:8080 \
     -v /mnt/restreamer/db:/core/config -v /opt/restreamer/data:/core/data \
     datarhei/restreamer:latest

Your actual command line might have different paths to the mounted directories. Please adjust the example above accordingly in case you want to copy/paste it.

Upgrade your Restreamer to v0.6.8 (). If you don't upgrade to v0.6.8, all your settings might get lost during the migration.

In case you are using any (command line options that start with -e RS_), they will be ignored after the first start of Restreamer v2.x (see step 6 above). You can remove them from your docker command line.

πŸ’Ύ
Quick Start
https://github.com/datarhei/restreamer/releases/tag/v0.6.8
environment variables