-
Ok, got it about your installation. So if you use Nginx, then it's better apply that setup from @Alex T⚜️ https://unacms.com/cmts-view/z9tfe0?sys=bx_forum&cmt_id=43244
Also, this recent thread may be useful too https://unacms.com/d/image-tanscoder-and-storage-php
And yes, the Cron Jobs should be executed not so long ago.
-
Related to the Alex post I think it is incorrect to define the domain name in a service docker container for the application or in the UNA app server. the application must run in localhost or any ip address and any port depend of the setup, the domain must be defined only in the reverse proxy server or a web server level, so you can run multiple containers with the app in a swarm or a cluster with more many containers or on several servers in bachend, each service can be scalable and extended in the cloud without problems. Otherwise, a social network cannot be built in a single server, this is just an illusion
-
I've replied here regarding this issue - https://unacms.com/cmts-view/z9tfe0?sys=bx_forum&cmt_id=48608
Also official UNA Docker image has parameter UNA_AUTO_HOSTNAME to set it automatically.
-
"Also, this recent thread maybe useful too https://unacms.com/d/image-transcoder."
PAGE NOT FOUND
i have instaled version 14.0.0-B1 in hostname localhost:8888
.env variable:
UNA_HTTP_HOST=localhost:8888 UNA_DB_HOST=host.docker.internal UNA_AUTO_HOSTNAME=1
Host tools:
Host Tools Requirements PHP: version = 8.1.28 - OK allow_url_fopen = On - OK allow_url_include = Off - OK magic_quotes_gpc = Off - OK memory_limit = 128 MB - OK post_max_size = 1 GB - OK upload_max_filesize = 1 GB - OK register_globals = Off - OK safe_mode = Off - OK disable_functions - OK php module: curl = curl - OK php module: gd = gd - OK php module: mbstring = mbstring - OK php module: json = json - OK php module: fileinfo = fileinfo - OK php module: zip = zip - OK php module: openssl = openssl - OK php module: exif = exif - OK MySQL: version = 11.3.2 - OK Web-server: nginx/1.25.5 rewrite_module - UNDEFINED OS: Linux 4a2ec9e2b918 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64 Hardware: Hardware requirements can not be determined automatically - manual server audit may be required. Site setup UNA version = 14.0.0-DEV5 - OK Files and folders permissions - please click here to find out if permissions are correct. ffmpeg - ffmpeg version 4.4-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --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-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.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' if you don't know if output is correct then manual server audit may be required. Mail sending - click here to send test email 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 - None Site optimization PHP: PHP accelerator = ZendOPcache - OK PHP setup = fpm-fcgi - OK MySQL: key_buffer_size = 128 MB - OK max_heap_table_size = 16 MB - OK tmp_table_size = 16 MB - OK thread_cache_size = 151 - OK Web-server: User-side caching for static content - click here to check it in Google Page Speed If it is not enabled then please consider implement this optimization, since it improve perceived site speed and save the bandwidth. To apply this optimization you need to have expires_module - UNDEFINED Server-side content compression - can be checked manually or in "Page Speed" tool build-in into browser. If it is not enabled then please consider implement this optimization, since it improve perceived site speed and save the bandwidth. To apply this optimization you need to have deflate_module - UNDEFINED UNA: DB cache = On (File based cache engine) - OK Pages cache = On (File based cache engine) - OK Page blocks cache = On (File based cache engine) - OK Templates Cache = On (FileHtml based cache engine) - OK CSS files cache = On - OK JS files cache = On - OK Compression for CSS/JS cache = On - OK
the problem repeats itself, the images are not processed.
it seems that the cron service is not functional in docker container
folder permision setup:
sudo chmod 777 ./plugins/ffmpeg/ffmpeg.exe sudo chmod 777 ./inc sudo chmod 777 ./cache sudo chmod 777 ./cache_public sudo chmod 777 ./logs sudo chmod 777 ./tmp sudo chmod 777 ./storage sudo chmod 777 ./periodic/cron.php also sudo chmod +x plugins/ffmpeg/ffmpeg.exe sudo chmod +x periodic/cron.php