Installing a DaVinci Resolve Project Server on Linux

Поділитися
Вставка
  • Опубліковано 11 жов 2024
  • A tutorial on how to install a DaVinci Resolve Project Server natively (no need for emulation software such as WINE or "PlayOnLinux") on Linux. This video also demonstrates how we can automate backups and easily restore project databases in just a few seconds should issues arise.
    TIMECODES
    ==========
    Intro 00:20
    Why use a Davinci Resolve Project Server? 2:16
    Prerequisites 08:52
    Installing the software (let's do this already!!) 09:50
    Creating a new project database 19:34
    Connecting to our project database from DaVinci Resolve 23:45
    Creating a backup of a database 28:44
    Restoring a database 31:35
    Outro (need help/future content video plans etc.) 33:55
    LINKS
    ======
    Studio Server Client software page: wirebear.co.uk...
    How to install Ubuntu Server 22.04 (if you've not got a server already setup and/or don't want to use cloud hosting providers): • Step-by-step guide to ...
    Setting up a DaVinci Resolve Project server on Windows (use this link to skip to the end to see how to enable and use the collaboration features:
    • How to setup Davinci R...
    PROMO CODES
    =============
    DigitalOcean promo link (get free credit when you sign-up for a DigitalOcean account): m.do.co/c/ade5...
    #davinciresolve #videoediting #server #linux #ubuntu #davinciresolve16 #davinciresolve17 #davinciresolve18 #davinciresolve #editing #teamcollaboration

КОМЕНТАРІ • 71

  • @peerlessgamer
    @peerlessgamer 6 місяців тому +1

    Just found this after searching for a way to collab (with myself) on editing across two machines. Been using Syncthing for moving files back and forth between two systems, and having to remember to export and save to the local directory. Been a pain when I forget to take OBS recordings and put them into the proper directory, resulting in lost time and effort if I'm not near my regular machine. Found your original video to setup postgres on Ubuntu (because I didn't want to install project server on a resource hungry windows machine either), and saw you'd made updates to have a dockerized version. Easiest freaking install ever. UI is slick and easy, everything got setup per the docker commands and I'm about to put my project into it. thanks for the help and you've got a new subscriber!

  • @godelrt
    @godelrt 2 роки тому +5

    Wow this is amazing! You’ve done a lot of work!

    • @TheBearTech
      @TheBearTech  2 роки тому +1

      Thank you so much - I really appreciate the kind words!

  • @pgscom_54
    @pgscom_54 Рік тому

    Nice video! What is your wallpaper?

  • @godelrt
    @godelrt 2 роки тому +3

    Hehe! I just installed the project server on a windows vm on my unraid yesterday following your guide… and at the time I was wishing they had a version of it for Linux… only if I waited a day… time to do it again I guess and get rid of the bloated windows vm. Running it in docker would be so cool.

    • @TheBearTech
      @TheBearTech  2 роки тому +2

      Hey, that's awesome, glad the Windows video helped! I could look at packaging this up into a Docker Container in the near future too :)
      Thanks for your comment, I appreciate the feedback :)

  • @VreamArt
    @VreamArt Рік тому

    Thank you! I'm excited to give this a shot!

  • @chmedlychmedenstein916
    @chmedlychmedenstein916 Рік тому +2

    Looks cool. I wanted to get a feel for how the DR project server works with just a simple postgres database so I created one with docker. But next step is to try to run ubuntu in a container and install your app. The backup features look nice. I'm definitely interested in a cohesive system with automatic proxy generation when projects are first copied to a NAS if that is on your punch list.

    • @TheBearTech
      @TheBearTech  Рік тому

      Awesome - Glad it helped and, depending on other feedback I'll add automatic proxy generation and other bits in the near future too :) - Let me know how it goes for you (getting it installed in Docker) :)

  • @1234thenarrator
    @1234thenarrator Рік тому +2

    Oh, yeah. This is it. Great work, bro.

    • @TheBearTech
      @TheBearTech  Рік тому

      Thanks Joseph, Glad it was helpful :)

  • @StarGhost-1100
    @StarGhost-1100 Рік тому

    Thank you for this informative material! Could you answer the question, what is optimal in my case? I have already bought a server with 2 CPUs (haswell core) and 256 GB of RAM. I plan to install 8 sas hard drives of 16 terabytes in it and use it as a server for storing and editing projects in both daVinci resolve and adobe Premiere. I have a 10gb router and 10gb ports in my main hackintosh and my friend's hackintosh with whom we work together. the server also has 2 10gb ports. we hope to get a high speed of working with projects without copying them locally to each of the machines, since the projects are quite large and moving them to 1 or 2 (raid) hard drives is a narrow neck in the end. The system with 12900K and RX 6900XT can work very fast if the material is fed at the right speed. I came across your guide and it's definitely very cool and meets my initial requirements, but maybe there is some more advice?

  • @nintendo3dsfan01
    @nintendo3dsfan01 2 роки тому +1

    Great video! If I may ask, how did you manage to develop a native linux version?

    • @TheBearTech
      @TheBearTech  2 роки тому +3

      Thanks! I simply looked at what the DaVinci Resolve Studio server was doing on Windows/alot of trial and error and then replicated it at a low level (from scratch) on Linux, added other features (that I personally wanted) and that the Windows version doesn't have (such as automated backups etc), I also improved upon a few things that the Windows version didn't do either such as created seperated DB accounts and per-database security roles etc - I hope this answers your question.

  • @ScottBurnette
    @ScottBurnette 2 роки тому +1

    Works great! Excellent job !

    • @TheBearTech
      @TheBearTech  2 роки тому +1

      Awesome - enjoy, my friend! :) and thanks for the kind words!

  • @AbelSerrano-ny2kc
    @AbelSerrano-ny2kc Рік тому +4

    I honestly distrust from a bin file from an unknown person unless it's open source. Have you thought about open-sourcing "studio server client"?

    • @NBCJackBauer
      @NBCJackBauer Рік тому +1

      Great work on this piece of software! However I agree on this, making it open-source would be a cool move to entice more users.

    • @Oliver_Atkinson
      @Oliver_Atkinson Рік тому +1

      Agreed, even if it's a "you can look but don't touch" license

    • @TheBearTech
      @TheBearTech  Рік тому +2

      Good afternoon guys ,
      The reason why I've not open-sourced it (YET) it is simply due to the fact that I'm busy on so many other projects that, and like has happened to me in the past (I have worked on many open-source projects) is that managing another opensource project and having to handle discussions/accept (or worst still, reject) pull requests for this project (when I feel that it already does everything that it intended to do / should keep things simple) would just be a headache I'd really like to avoid - I simply don't have the time.
      FYI - I understand you guys might not want to run someone elses code on your servers and that's fine but if it's of any interest I've now released this as a fully self-contained Docker conainer (so it'll run in an isolated container for those who had concerns) and now comes with a web-based management panel too and several new advanced features. - Check this video if interested: ua-cam.com/video/PVPyU6QLdwc/v-deo.html
      Once I have some of my other projects closer to completion, I will opensource it but in the meantime, as I said, I've just got too many things on my plate at this current time.
      Hope you guys have a great weekend.

    • @Akronyx
      @Akronyx Рік тому

      @@TheBearTech first of all, thank you for taking the time to reply and keep improving the product.
      I'd like just to clarify that open the source means no more than just disclosing the source code and making it open to be inspected. There's absolutely no need to get involved in any patch discussions or bug tracking.
      Also, I want to point out that having a container does not solve the problem that we have no clue of what's going on with this program and what is doing exactly with the data and our work stored in DaVinci Resolve.
      Hope you get more free time soon and get the motivation to release the code.

  • @lordeisschrank
    @lordeisschrank Рік тому

    I am so glad I stumbled across this by accident. Currently I am using a rather wonky samba solution to connect to the same local database over the internal network, but ... yeah, not ideal...
    does this also run on fedora?
    and is there a way to change the default location for file storage? I guess not yet?

    • @TheBearTech
      @TheBearTech  Рік тому

      Hey there!
      Thanks for your comment :) and I'm pleased to hear that you found the video useful!
      You can change the "backups" location (which I assume you are referring too) by adding a symlink (google "How to symlink a directory to another directory" if you're not sure how to do it... you basically want to symlink the "/var/studio-server/backups/" directory to the directory of your choice (which would likely be the SMB mount point in your case).
      ...however, you *may* want to hold on a week or so as I'm about to release a new video and version of this software where you can easily deploy it as a self-contained docker container (so you can customise the storage locations and easily run it on any server operating system or even off-the-shelf NAS devices) in addition to providing a super easy to use "Web GUI" to setup and manage your projects/backups without having to use the command line too.
      If you can't wait though, then feel free to use the "symlink" trick to redirect the storage paths and it *sould* work fine on Fedora too but otherwise I'd really recommend you holding out for the new Docker version (just incase it doesn't work on Fedora).
      The new video will show a complete how-to including how to change your storage locations and use the Web GUI too :)
      Hope this helps and hope you have a great day!

  • @tell-it-like-it-is8305
    @tell-it-like-it-is8305 Рік тому

    Somebody buy this guy a beer!

    • @TheBearTech
      @TheBearTech  Рік тому +2

      Thanks :) - I'll be releasing a "dockerised" version in the next week complete with a web GUI for management of projects and backups too... keep your eyes peeled if this is something you might like to use :)... I will ofcourse publish a new video on how to set it up and use it too ;)

  • @aielias89
    @aielias89 Рік тому

    Question: where are the database files stored on the server and is it possible to change that path? Looking at your commands, there doesn't seem to be any way to do that. In my case, I'm running CentOS Stream 8 NAS with ZFS Raid. Would it be possible for me to store all the database projects on my ZFS pool?
    BTW, my original hope was to use my pre-existing Samba share on the ZFS pool to store my Resolve projects like I had on Premiere with windows (since migrated to Fedora 37) but unfortunately Resolve can't seem to connect to the SMB server directly and I haven't been able to get symlinks working on Samba (not sure if that would work even if I did, maybe something to do with mounting idk). Anyway your solution seems to be much better than that, if I can still store the database on my ZFS pool.
    Update: So I've since decided to give your solution a go since PostgreSQL has a setting to change the location of its data directory. Only difference was, the .conf file was located in /var/lib/pgsql/14/data folder instead of /etc/pgsql... like it was on your Ubuntu instance. Anyway, I was able to set the location to my ZFS pool and PGSQL threw no errors. I installed your software on top of that, made sure all the dependencies were met, created a new database and permitted port 5432 through TDP on my firewall. Everything looked good from the server's point of view but resolve still doesn't allow me to connect to my server's IP with correct credentials. Sad. Hoping you might know where the problem/mistake lies. My only thought left is that SELinux is causing issues, but I really don't know how to diagnose or troubleshoot any further. Resolve just return telling me to check to make sure the server is online and the credentials are correct, which they both are.

    • @TheBearTech
      @TheBearTech  Рік тому

      I would suggest checking if you are running a software firewall/CenOS installed a firewall by default on the server maybe? and if so, allowing the PostgreSQL port through the firwall as it sounds like your server is rejecting the remote connection (so could be that there is a configuration isssue(s) or a firewall is blocking the connections - hopefully you editted both "eqivilent files" on CentOS that I covered in my video - Did you restart PostgreSQL for that changes to take affect too?)
      Really hope you can get it sorted... Ubuntu works great for sure and so I'm confident that it's just a CentOS Postgres specific config issue OR you have a firewall blocking the connections.
      Keep my updated as to how you get on :)

    • @aielias89
      @aielias89 Рік тому

      ​@@TheBearTech So the port used by PGSQL, 5432, is allowed through my CentOS firewall, that doesn't appear to be the problem. I've allowed both TCP and UDP access on that port, just incase PGSQL has a preference for UDP. My postgresql.conf and pg_hba.conf files have both been modified to reflect your changes aswell. System was rebooted as well to ensure the changes took effect too. I'm going to try to reconfigure back to the default data directory path instead of my ZFS pool and see if that has any effect.

    • @aielias89
      @aielias89 Рік тому

      @@TheBearTech Ok so think I found the problem. In Resolve, when connecting to the server, the "Name" and "Username" fields both have to be name of your server. If they are mismatched, it doesn't seem to want to connect.

  • @Norain1992
    @Norain1992 2 роки тому

    Wow you are a genius! Thanks a lot! 🤩
    If using a Synology NAS, which lightweight Linux Distro do you recommend for this use case? I thought about ZorinOs Lite, since I have very good experience using ZorinOs as my daily distro.
    I am using a Synology DS720+ with 6gb RAM

    • @TheBearTech
      @TheBearTech  2 роки тому +2

      For a server distro - I'd definately recommend using Ubuntu Server or Debian. Before things went south with CentOS, I would have recommended that too. The (Ubuntu) server version is lightweight and is one of the most popular Linux distros out there, it's backed by a large company too should you have any issues. You'll have no issue setting up a Ubuntu Server VM with 512MB of RAM if RAM is an issue.... Personally I'd allocate atleast 1GB of RAM and 2 vCPUs.

    • @Norain1992
      @Norain1992 2 роки тому

      @@TheBearTech okay great, thanks a ton! Downloading Ubuntu Server right now. Excited to test it out with the help of your tutorial. 🙂

    • @Norain1992
      @Norain1992 2 роки тому

      @@TheBearTech hmm when trying to modify postgresql I get this error "Directory "/etc/postgresql/14/main" does not exist (I have installed Ubuntu Server 20.04.5 since 20.04.1 kept crashing my NAS during intallation..)

    • @TheBearTech
      @TheBearTech  2 роки тому +1

      @@Norain1992 Ahhh you seem to have installed Ubuntu Server 20.04 (and not 22.04 as per my tutorial)... you may have to change "/etc/postrgesql/14/main" to "/etc/postgresql/12/main" (note that I'm changing the version of PostgresSQL from 14 to 12 here) as that version of Ubuntu (it's a few years old) probably has an older version of PostgreSQL by default..... if 12 doesn't work, try 13 too...
      Let me know how you get on, if needs be I can find the default vesion of PostgreSQL that is installed on Ubuntu 20.04

    • @Norain1992
      @Norain1992 2 роки тому

      @@TheBearTech haha yes you are right, sorry for my mistake. Very strange that it is not possible to install Ubuntu Server 22.04.1 on my NAS. I will try again...
      Is there any disadvantage using the old 20.04 Ubuntu Server and PostgresSQL 12 or 13 for Davinci Project Server?

  • @okttenda
    @okttenda Рік тому +1

    It's a great tool but i have some issues on deleting Databases, i will reinstall everthing again and try it again.

  • @BrennerEraFan
    @BrennerEraFan 6 місяців тому

    is it possible to run the docker version on a raspberry pi?

  • @bobi_car
    @bobi_car Рік тому

    Hey, works great, however is there a way to chance the backup folder location or where is this anyway?

    • @TheBearTech
      @TheBearTech  Рік тому

      You can do this by symlinking the backup location to a new location (or even a mount point etc). Hope this helps :)

    • @bobi_car
      @bobi_car Рік тому

      ​@@TheBearTech Where can I do this? I can't find any config file where the backup dictionary is linkt

  • @pgscom_54
    @pgscom_54 10 місяців тому

    How can I install it on my RPI4? When installing the program (17:41) I get an error: /usr/bin/studio: 1: Syntax error: "(" unexpected. I have also tried docker and it does not work because the RPI4 has ARM architecture

  • @antmor192
    @antmor192 8 місяців тому

    Can this be installed on Ubuntu desktop environment or just Ubuntu server?

    • @antmor192
      @antmor192 8 місяців тому

      Update: I was able to get this installed on Ubuntu desktop and after lots of troubleshooting found out that Resolve 18.5 (version I am currently using) has to have postgres 14 (as mentioned in the video) I originally installed version 16 and kept getting an incompatibility issue.
      Now.. need to see if I can restore a project DB from windows..

  • @Liam_Solution
    @Liam_Solution Рік тому

    great video, I'll leave you a like to support your channel

  • @AstarothDeathSquirre
    @AstarothDeathSquirre Рік тому

    Awesome.

  • @oelhahn100
    @oelhahn100 Рік тому

    The installation stopped at checking dependencies:
    "Installing studio 1.0.11...
    Checking dependencies...
    --------------------------------
    [!!] gzip
    [ok] lsb_release
    [ok] pg_dump
    [ok] psql
    Missing one or more dependencies, check above, install them and then re-run this installer!"
    I tried to install it under Linux Mint 20, running as server.
    Any idea to fix it? gzip is installed and usable.

    • @TheBearTech
      @TheBearTech  Рік тому

      For anyone who comes across this comment and experiences the same issue - the fix (as we discussed via. email) was to symlink /bin/gzip to /usr/bin/gzip and it worked on Linux Mint too :)

  • @nilsvoss8828
    @nilsvoss8828 Рік тому

    Did some checked, if this is also running on 18.5? 18.0.1 is fine, but our 18.5 is giving an Error could not connect......So what do we do wrong?

    • @TheBearTech
      @TheBearTech  Рік тому

      It's working fine for me and many other people on 18.5 - Hopefully you can get the problem fixed.

  • @vincenthelmers5152
    @vincenthelmers5152 Рік тому

    Hi,
    For me this is not working. I carefully followed all steps. The pg_hba file is set up correctly as well as the postgresql.conf file. I set the ufw rules as shown in the video. The postgresql database is running, and the server is (obviously) online as well.
    Im trying to connect to the database from Windows 11 with DaVinciResolve 18.
    The Linux Machine hosting the Studio Server has Kernel Version: "5.15.0-47-generic" and Ubuntu Version: "Ubuntu 22.04.2 LTS"
    I have additionally disabled my Firewall on my windows machine in case something fishy is going on there.
    The Error Message says the following:
    "Please check for correct credentials and if the
    server is online and allows client connections."
    I have entered the correct username and password. The Ip is correct as well.
    It now has been 8 months since the video was published and I hope somebody is able to help.
    Thanks in advance :)

  • @jasango
    @jasango Рік тому

    tried to get to works in any way using proxmox ubuntu container , the new database exist, the ports are opened but no way to connect davinci resolve, tried also different ways also changing off SSL or changing allowed hosts.. without results. I use davinci resolve 17

    • @jasango
      @jasango Рік тому

      it's normal that the new database have empty tables?!

    • @jasango
      @jasango Рік тому

      now.. sometimes trying to connect, davinci crash :)

    • @samuelsmr
      @samuelsmr Рік тому

      To me it doesn't work either. I would really appreciate if someone could bring some light to solve this problem. Thanks

    • @jasango
      @jasango Рік тому +1

      For me worked when I have switched to the davinci v18 on a test machine. The 17 doesn't connect

    • @TheBearTech
      @TheBearTech  Рік тому

      Are you guys using Ubuntu 22.04 as per the video? (just checking so I can try to reproduce)

  • @alexv7327
    @alexv7327 Рік тому +1

    After trying to install the studio server client i get an error: "/usr/bin/studio: 1: Syntax error: "(" unexpected"
    Any suggestions?

    • @jaoroca
      @jaoroca Рік тому

      same here

    • @TheBearTech
      @TheBearTech  Рік тому

      What Linux Distrubtion are you guys trying to install it on? Ubuntu 22.04 like in the video?

    • @alexv7327
      @alexv7327 Рік тому

      @@TheBearTech yes. I tried different ones.

    • @lilfernguy
      @lilfernguy Рік тому

      ​@@TheBearTech Hey I'm having the same issue on a raspberry pi with Ubuntu Server 22.04.1 LTS. I think the issue might be that it's a 32 bit version of ubuntu. Not sure if the 64 bit version runs on the pi though...

    • @lilfernguy
      @lilfernguy Рік тому

      Just tried again on the 64 bit version and still no luck :