01-05-2021, 02:30 AM
(12-05-2020, 04:10 PM)remkonoteboom Wrote: The permissions on the VM should have been correct for uploading files. Please let us know if this is not the case. The assets folder should be owned by tactic and be readable by apache.
It is a bit difficult to see exactly what the error really is, particularly generating thumbnails. When something like this goes wrong and the errors are cryptic, it is often useful to run TACTIC in dev mode where all of the output and stacktraces will go to the console.
> cd /opt/tactic/tactic/src/bin
> python startup_dev.py
(make sure the TACTIC service is shut down).
What I often do, if this is a production server, I will open up another port for debugging. I believe the VM has port 9000 open for this purpose. You can check by typing:
> firewall-cmd --list-all
Among other items, it should list something llike:
services: cockpit dhcpv6-client http https samba ssh
ports: 9000/tcp
With this, you can run TACTIC like this:
python startup_dev.py -p 9000 -s <server_or_ip>
With this you can run TACTIC in debug mode without affecting the live production.
Hi remkonoteboom
Thanks for reply. After CHMOD 777 of ASSETS folder (and UPLOAD folder) the system start to generate Icons. And I could use Attachment tab and Uploading in preview icon.
The permissions were definitely wrong (at least in my case). Should be chown and chmod to make this VM work.
It is still not generating Icons from Video files. I think it is because there is no FFMPEG. I tried to install it, but there were some problems, so may be i will try next time.
I've started it in dev mode. And I could not even check in anything. So it seems it was not useful in this case. (screenshot)