{"id":1830,"date":"2026-03-02T06:58:28","date_gmt":"2026-03-02T06:58:28","guid":{"rendered":"https:\/\/documentation.iqonic.design\/streamit-laravel\/?p=1830"},"modified":"2026-03-02T11:56:54","modified_gmt":"2026-03-02T11:56:54","slug":"how-to-solve-the-media-upload-issue-in-the-admin-panel","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/streamit-laravel\/how-to-solve-the-media-upload-issue-in-the-admin-panel\/","title":{"rendered":"How to Solve the Media Upload Issue in the Admin Panel?"},"content":{"rendered":"<div class=\"nolwrap\">\n<h2 class=\"wp-block-heading\"><strong>Why Cron Job is Required<\/strong><\/h2>\n\n\n\n<p>The <strong>Media Library image upload process runs in the background<\/strong>.<br>If the <strong>cron job is not properly configured or not running<\/strong>, the image processing cannot be completed.<\/p>\n\n\n\n<p>As a result, <strong>images will not be uploaded<\/strong>.<\/p>\n\n\n\n<p>To ensure the Media Library and other scheduled tasks work properly, you must configure the cron job on your server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 1: <\/strong><\/h2>\n\n\n\n<p>Run the following command in the\u00a0<strong>terminal<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">crontab -e<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 2: <\/strong><\/h2>\n\n\n\n<p>Then paste the following line:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">* * * * * cd \/your_project_path &amp;&amp; php artisan schedule:run &gt;&gt; \/var\/log\/apache2\/crontab.log 2&gt;&amp;1<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Important<\/strong><\/h2>\n\n\n\n<p>You must <strong>replace <code> your_project_path<\/code> with your actual project path<\/strong>.<\/p>\n\n\n\n<p>For example:<\/p>\n\n\n\n<p>If your project is installed in a different directory, modify the command like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">* * * * * cd \/your_project_path &amp;&amp; php artisan schedule:run &gt;&gt; \/var\/log\/apache2\/crontab.log 2&gt;&amp;1<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>In Simple Words<\/strong><\/h3>\n\n\n\n<p>Replace <code>your_project_path<\/code> with the <strong>full path of the folder where your project is installed<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Final Result<\/strong><\/h2>\n\n\n\n<p>Once the <strong>cron job is properly set<\/strong>, the:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Media Library<\/strong><\/li>\n\n\n\n<li><strong>Image processing<\/strong><\/li>\n\n\n\n<li><strong>Other scheduled tasks<\/strong><\/li>\n<\/ul>\n\n\n\n<p>will start working correctly.<\/p>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Why Cron Job is Required The Media Library image upload process runs in the background.If the cron job is not properly configured or not running, the image processing cannot be completed. As a result, images will not be uploaded. To ensure the Media Library and other scheduled tasks work properly, you must configure the cron [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":165,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1830","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"featured_image_src":null,"author_info":{"display_name":"laraveladminiq","author_link":"https:\/\/documentation.iqonic.design\/streamit-laravel\/author\/laraveladminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts\/1830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/comments?post=1830"}],"version-history":[{"count":10,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts\/1830\/revisions"}],"predecessor-version":[{"id":1845,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts\/1830\/revisions\/1845"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts\/165"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/media?parent=1830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/categories?post=1830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/tags?post=1830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}