Can't Upload Media Files

CMS Version

4.4.1

Installation
non-docker

Operating System
Linux Debian 13

Installation Method
non-Docker

Issue
Can’t upload Media. Error shown: Unknown Error.

The Log files show:
run: CRON syntax error for taskId 1, e: 6 is not a valid position

The library is outside the web folder and owned and writable by the webuser.

Any idea why I can’t upload and save media files?

Kind regards

Christian

Hi there,

The Unknown Error on a manual Debian setup usually means PHP or your web server is blocking the file transfer before it can even reach Xibo. Even if your final library folder has the correct permissions, you’ll want to check a couple of things:

First, check your php.ini file and make sure upload_max_filesize and post_max_size are set high enough for the media you’re uploading. Also, verify that PHP’s temporary folder (upload_tmp_dir) is writable by your web user.

If you’re running Apache, double check that LimitRequestBody isn’t cutting off the upload.

Honestly, chasing down these kinds of environment and permission tweaks is exactly why we highly recommend switching to a Docker installation if you can. Docker automatically configures all of these PHP limits and web server rules out of the box so you don’t have to manually troubleshoot the OS variables.