Install RClone for synching Server contents to Cloud storage- google drive, onedrive, dropbox or own/nextcloud Rumi, June 18, 2020 Use case with Jibri Recorded content to push to cloud storage operators. Rclone installation (Debian 10) All below commands are executed as ‘root’. (I know!..) apt update apt install curl -y curl https://rclone.org/install.sh | bash Rclone is now installed. We need to find where rclone expects it’s config file: rclone config file Response: Configuration file doesn’t exist, but rclone will use this path: /root/.config/rclone/rclone.conf So we need to upload the file from our windows pc/laptop (C:\Users\[user]\.config\rclone\rclone.conf) to the location on the Jibri server (/root/.config/rclone/rclone.conf). (I used WinSCP for this). After upload, we check once more to be sure rclone finds it’s config: rclone config file Rest you can select and start creating your own synching provider. Configuration file is stored at: /root/.config/rclone/rclone.conf To sync recorded files to our Google drive, we can run a command like: rclone copy /srv/recordings/ googledrive:meet.myfirewall.org/videos/ -v --log file=/var/log/jitsi/jibri/googledrive_upload.log Creating the Sync Script for Jibri recording: We copy the rclone config file to a location where the jibri-user can read it (currently only ‘root’ can read the file): rsync --recursive ~/.config/rclone/rclone.conf /home/jibri/.config/rclone/ And then we create the upload script: touch /etc/jitsi/jibri/rclone.googledrive.upload.sh chmod +x /etc/jitsi/jibri/rclone.googledrive.upload.sh nano /etc/jitsi/jibri/rclone.googledrive.upload.sh Copy below text in the script: #! /usr/bin/bash # Rclone can be invoked to upload local recording to a remote location at a cloud provider. /usr/bin/rclone copy /srv/recordings/ googledrive:[your.domain.com]/videos/ -v --log-file=/var/log/jitsi/jibri/jitsi_googledrive_upload.log Run the script and check the log: /etc/jitsi/jibri/rclone.googledrive.upload.sh (log can be found at /var/log/jitsi/jibri/jitsi_googledrive_upload.log) Setting Jibri to call our Script Finally we make sure Jibri will finalize the recording by uploading our video to Google Drive: nano /etc/jitsi/jibri/config.json // The path to the script which will be run on completed recordings “finalize_recording_script_path”: /etc/jitsi/jibri/rclone.googledrive.upload.sh", All should be good for automated immediate uploads when recording is finished! Src: https://community.jitsi.org/t/how-to-to-get-a-working-setup-of-google-drive-one-drive-or-other-cloud-services-in-jibri-my-comprehensive-tutorial-for-the-beginner/42228 Related Administrations Configurations (Linux) JibriJitsi-MeetRclone
How to Install and Configure GitLab on Ubuntu 16.04 October 23, 2019 GitLab is an open source GIT repository manager based on Rails and developed by GitLab Inc. It is a web-based GIT repository manager that allows your team to work on code, track bugs and feature requests and to test and deploy applications. GitLab provides features like a wiki, issue tracking, code… Read More
Bind DNS Auto Slave Using Webmin June 13, 2018June 13, 2018 The latest webmin has bug! In this tutorials I’m using webmin verison 1.801- that actually works. Don’t know if webmin team really knows are aware of the bug 🙁 So, let’s start. But before that, it’s assumed that you have webmin installed in both the servers. Configuring Webmin Server Related Read More
Stateful Load Balancer with iptables and NAT October 2, 2018October 2, 2018 Allow IP forwarding (Note: if your testing this on the same box your doing this on it won’t work, you need at least 3 machines to test this out, virtual ones work nicely) First we enable ipv4 forwarding or this will not work: # echo “1” > /proc/sys/net/ipv4/ip_forward XOR #… Read More
Hlw sir great content. My question can we download recorded video file after recording stop or can we send download link to meeting creator email address? Reply
You can install a web server like nginx and point ur root directory to the recorded path. You can also write some bash to redirect with the recorded content or trigger an email with the download link Reply
Hello, How are you? Can you please guide me how to integrate Nextcloud to get recordings? Regards Reply
rclone config n) New remote — name = MyNextcloudBackup — type = webdav — url = https:///remote.php/webdav/ — vendor = nextcloud — user = — pass = — bearer_token = Remote config This will encrypt the password so that it is not stored in plaintext. rclone copy -P MyNextcloudBackup: /mnt/user/ If you leave blank then it will download all folder in your nextcloud account. -P Will show you the progress of the copy job. Reply