Configuration

There are several steps required to make a Bucket Server work.

  • Copy the buckets.cfg file from the bin directory to /etc/ and fill out the variables between the curly brackets.
    cp /bin/buckets.cfg /etc
  • Edit your crontab.
    crontab -e
  • Paste the following at the end of your crontab.
    */5 * * * * /{directory}/bin/tomp3.sh >> /{directory}/logs/tomp3.log
    */5 * * * * /{directory}/bin/tonormalize.sh >> /{directory}/logs/tonormalize.log
    */5 * * * * /{directory}/bin/to720p.sh >> /{directory}/logs/to720p.log
    */5 * * * * /{directory}/bin/to1080p.sh >> /{directory}/logs/to1080p.log
    */5 * * * * /{directory}/bin/toh264.sh >> /{directory}/logs/toh264.log
    */5 * * * * /{directory}/bin/toh265.sh >> /{directory}/logs/toh265.log
    */5 * * * * /{directory}/bin/towebm.sh >> /{directory}/logs/towebm.log
    */5 * * * * /{directory}/bin/toencrypt.sh >> /{directory}/logs/toencrypt.log
    */5 * * * * /{directory}/bin/todecrypt.sh >> /{directory}/logs/todecrypt.log
  • edit your samba config and add shares for the input and output directories.
    sudo nano /etc/samba/smb.conf
  • Add the shares at the end of the config file.
    [input]
    path = {path}
    valid users = {users}
    write list = {users}


    [output]
    path = {path}
    valid users = {users}
    write list = {users}
Depending on your configuration, everything should be up and running now. It depends on which distro you are running.
You can change the cron timings to whatever suits your need, five minutes is acceptable to me.
Short introduction of my bucket server project.
Duration: 02:15
What can you use the Bucket server for?
How to install the bucket server from scratch with the command line.
How to configure all the different parts of the bucket server.
Deep dive into a bucket server script and how it processes files through all the stages.
Duration: 02:43
First look at the addition of Filebrowser to my bucket server.
Duration: 02:50
I like to see who's visiting my website, do you accept?
Do you want to accept tracking cookies?