Comment to 'Video transcoding in docker'
  • The conversion file for photos module has the execution permission 775 this is how I solved it for image processing.. There must also be a file for video conversion. What is that file? I think it needs permissions like chmod +x ./image_transcoder.php to be the same for the video transcoder. nor what is the name of that file.

    The problem is that I don't know where this file is. I couldn't find it, and there is no clear description of how these applications should be installed and set up in different scenarios. If you from the UNA team don't know, then who does? Any script I bought on the internet has installation instructions. Also, every product in the world has installation or user instructions. Don't you think UNA products should have them too? Dolphin has always had clear installation instructions, but the new una-cms version seems to be lacking in this chapter.

    Thank you for answer. Regarding file permissions, I found this article, but it is not enough https://unacms.com/wiki/installation-ubuntu-debian. I have managed to decipher these steps so far from this forum for docker development scenario: https://github.com/olariuromeo/una/blob/master/INSTALL.md But to make the website functional, more details are needed. So this is my permision now.

    #!/bin/bash
    # set_permissions.sh
    sudo chown -R www-data:www-data .
    sudo find ./ -type d -exec chmod 775 {} \;
    sudo find ./ -type f -exec chmod 644 {} \;
    
    
    # Set execute permissions for ffmpeg.exe
    chmod +x ./plugins/ffmpeg/ffmpeg.exe
    chmod +x ./periodic/cron.php
    chmod +x ./image_transcoder.php
    # Set permissions for the specified directories
    chmod 777 ./inc
    chmod 777 ./cache
    chmod 777 ./cache_public
    chmod 777 ./logs
    chmod 777 ./tmp
    chmod 777 ./storage
    chmod 777 ./periodic