Comment to '[Resolved] How can I deploy my own version of UNA to a docker container?'
  • 1) Please provide screenshots of
    Studio > Dashboard > Host Tools > Files And Folders Permissions
    and
    Studio > Dashboard > Host Tools >  Server Audit

    2) Check if uploading enabled on your web-server

    3) Check browser network for the output when you perform upload

    4) Check other uploaders - such as Crop uploader (for profile cover) and Multiple uploader in Albums for example

    • Hi, I did all the steps that you have informed me to do so and turns out it was just that the server did not have permission to access the storage folder hence the failure of uploading. However, I realised that after being able to upload the pictures and videos the pictures were working fine however, after uploading a video and posting it, the cron job does not takes place. It only works when I run the command php -c /var/www /var/www/html/una/periodic/cron.php manually. I have included this 

      RUN echo "* * * * * php -c /var/www /var/www/html/una/periodic/cron.php" > /var/www/crontab

      RUN crontab /var/www/crontab 

      in my dockerfile and also started the cron service. May I know what might be the issue here?

      This is what I found in the server audit:

      Site setup

      • UNA version = 10.1.0 - OK
      • Files and folders permissions - please click here to find out if permissions are correct
      • Mail sending - click here to send test email
      • ffmpeg -
      • ffmpeg version 4.0.2-static Copyright (c) 2000-2018 the FFmpeg developers  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg  libavutil      56. 14.100 / 56. 14.100  libavcodec     58. 18.100 / 58. 18.100  libavformat    58. 12.100 / 58. 12.100  libavdevice    58.  3.100 / 58.  3.100  libavfilter     7. 16.100 /  7. 16.100  libswscale      5.  1.100 /  5.  1.100  libswresample   3.  1.100 /  3.  1.100  libpostproc    55.  1.100 / 55.  1.100 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
        Use -h to get full help or, even better, run 'man ffmpeg'
      • Cron jobs -

        no crontab for www-data

        if you are unsure if output is correct then manual server audit may be required
      • Last cron jobs execution - 14 Feb 2020 5:34:53 pm