Rosen watcher-service to version 2.0.2 and ui to version 2.0.1 upgrade.
2 min read
7 months ago
Published on Apr 22, 2024
This response is partially generated with the help of AI. It may contain inaccuracies.
Table of Contents
How to Upgrade Rosen Watcher-Service and UI Versions on Windows
Step 1: Understand the Importance of the Update
- The update includes preventing pre-computed hash attacks by adding random bits of data (salting) to passwords.
- This prevents attackers from using rainbow tables to crack passwords.
Step 2: Check the Recommended Update Method
- The video suggests using the Docker solution for the update instead of running npm or Node.js directly, as the provided version may not work on Windows.
Step 3: Install Rosen Bridge Using Docker
- Open PowerShell as an administrator.
- Run the command:
docker run -it --rm node:18.6 npx @ergoplatform/watcher-service
. - Ensure your API key is ready.
Step 4: Check for Docker Repository
- Visit Docker's node repository to ensure the command execution.
Step 5: Monitor Docker Installation
- If the UI gets stuck, press any key to check the progress.
- Wait for the installation to complete.
Step 6: Run Rosen CLI Inside Docker
- Execute the command to run the Rosen Bridge CLI inside the Docker container.
- Note the generated hash.
Step 7: Update Environment File with Hash
- Edit the environment file using
docker-compose pull
. - Replace the existing API hash with the new one.
- Follow the instructions carefully, including using apostrophes and correct formatting.
Step 8: Restart the Docker Container
- Use
docker-compose down
to stop the current container. - Ensure the new API hash is correctly updated.
Step 9: Troubleshoot UI Errors
- If the UI encounters errors, consider rebooting the system.
- Monitor the Docker UI for progress updates.
Step 10: Test the Updated Service
- Start the Watcher service and check for any errors.
- Verify the API key and test a withdrawal to ensure functionality.
Step 11: Seek Support if Needed
- If you encounter issues, avoid DMs and seek help openly in the channels provided by Rosen Bridge.
By following these steps, you can successfully upgrade the Rosen Watcher-Service and UI versions on your Windows system using Docker.