Comment to 'UNA 15.0.0-A1 is now available. Anyone tried it yet ?'
  • Sorry, I just noticed that you're a standard member. UNA is free to test, but if you want to update, you need to have a license. Updates will not be possible without a valid license not for the installed modules, nor for UNA Core. Only users with a paid license can perform updates. Any premium module can only be updated with a valid license.

    • Regarding the Developer module, it's clear that the installation was not completed correctly. I suspect there may be an issue with folder and file permissions. You will likely need to fix the permissions and then uninstall and reinstall the module manually via SSH or PHPMyAdmin, directly through the database.

      • f you need to set the correct permissions for UNA CMS, run this command:

        Save as a file if you need further help to restore UNA permissions set_permissions.sh

        #!/bin/bash
        # Filename: set_permissions.sh
        
        # Move into the 'una' directory
        cd una || { echo "Directory 'una' not found!"; exit 1; }
        
        # Change the owner of all files and folders to 'www-data'
        sudo chown -R www-data:www-data .
        
        # Set permissions for all directories to 755:
        # 7 = read (4) + write (2) + execute (1) for the owner
        # 5 = read (4) + execute (1) for the group
        # 5 = read (4) + execute (1) for others
        sudo find ./ -type d -exec chmod 755 {} \;
        
        # Set permissions for all files to 644:
        # 6 = read (4) + write (2) for the owner
        # 4 = read (4) for the group
        # 4 = read (4) for others
        sudo find ./ -type f -exec chmod 644 {} \;
        
        # Give execute permission to ffmpeg.exe (since it's an executable)
        sudo chmod +x ./plugins/ffmpeg/ffmpeg.exe
        
        # Go back to the previous directory
        cd ..
        
        # Set this script's owner to 'root' and permissions to 755
        # If you want, replace 'root' below with your SSH username
        sudo chown root:root set_permissions.sh
        sudo chmod +x set_permissions.sh
        
        # Display confirmation message
        echo "Permissions successfully set. Script permissions preserved."
        

        How to use:

        1. Create the file:
        vim set_permissions.sh
        
        1. Press i to enter Insert mode.
        2. Paste the code from above.
        3. Save and close:
        • Press ESC
        • Type :wq
        • Press Enter

        Final steps:

        • Make the script executable:
        sudo chmod +x set_permissions.sh
        
        • Run it anytime to restore your file and folder permissions:
        ./set_permissions.sh
        

        What this script does:

        • Sets the correct ownership (www-data:www-data) and permissions for your una/ project.
        • Makes sure ffmpeg.exe stays executable.
        • Preserves its own permissions as root:root with 755, so it’s always ready to use safely.

        Directory Structure

        your_project/
        ├── set_permissions.sh   ← This script is here
        └── una/                 ← The UNA CMS directory
        

        Happy coding! 

        • I am migrating another site (no content yet other than translations and some customizations on logo etc).. I managed to upgrade una to 15.0 and other modules except Channels.

          I re-did again from a backup and still the same result for Channels. It says there is an upgrade available. Clicking install does nothing.

          As per this page in unacms dot com wiki/Upgrade, I am supposed to see any errors in logs/upgrade_modules.log. But this file is not there.

          I only have upgrade.log inside logs folder and the contents are this.

          --------- 2025-10-12T06:21:49+00:00
          
          14.0.0-15.0.0.A1 upgrade will be applied
          Files permissions are ok and can be overwritten
          Files copying successfully completed
          Deprecated files were successfully deleted or there is no files to delete
          System files hash was successfully updated
          System SQL script was successfully executed
          The following languages will be affected for system:
           - No languages will be affected