# Pydio 8 background task not working

**URL:** <https://forum.pydio.com/t/pydio-8-background-task-not-working/775>\
**Category:** Pydio 8\
**Tags:** linux, apache, php70, solved\
**Created:** [March 1, 2018, 9:50am UTC](https://forum.pydio.com/t/pydio-8-background-task-not-working/775 "2018-03-01T09:50:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jason](https://forum.pydio.com/u/Jason)\
**Post date:** [March 1, 2018, 9:50am UTC](https://forum.pydio.com/t/pydio-8-background-task-not-working/775/1 "2018-03-01T09:50:59Z")

</div>

Issue : I cannot do any actions (eg. Move, Delete…etc) on files larger than 10MB. Background task notification will be shown but nothing happened. (eg. Delete file larger than 10MB, background task running, after 1 day, still running)

FYI :

- I have no problem with files under 10MB.

- I am using apc cache and discovered Cache Health \> 60% (I think this is bad)

- Based on Diagnostics :  
Client : Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_12\_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36  
Crypto Extension Detected : OpenSSL  
Command Line Available : No :  
DOM Enabled : Yes  
Exif Enabled : Yes  
GD Enabled : Yes  
Upload Max Size : 1G  
Memory Limit : 256M  
Max execution time : 300  
Safe Mode : 0  
Safe Mode GID : 0  
Xml parser enabled : 1  
Server OS : Linux  
Session Save Path : /opt/alt/php70/var/lib/php/session  
Session Save Path Writeable : Yes  
PHP Version : 7.0.27  
Locale : C  
Directory Separator : /  
PHP Opcode Cache extension loaded : Yes  
PHP INTL extension loaded : Yes  
PHP Output Buffer disabled : Yes  
PHP File Uploads enabled : Yes  
Magic quotes disabled : Yes  
Upload Tmp Dir Writeable : Yes  
PHP Upload Max Size : 1073741824  
PHP Post Max Size : 134217728  
Users enabled : Yes  
Guest enabled : No  
Writeable Folders : [ **cache** :true,  
 **data** :true]  
Zlib Enabled : Yes

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 5, 2018, 9:30am UTC](https://forum.pydio.com/t/pydio-8-background-task-not-working/775/2 "2018-03-05T09:30:33Z")

</div>

Hi,  
sorry for the late response i believe that for background tasks you need the command line and as i can see in your config it’s disabled could you try to enable it and try again with large files.

---

<div class="post-metadata">

**Author:** ![Jason](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jason](https://forum.pydio.com/u/Jason)\
**Post date:** [March 5, 2018, 9:50am UTC](https://forum.pydio.com/t/pydio-8-background-task-not-working/775/3 "2018-03-05T09:50:50Z")

</div>

Is it enabled here within Application Core?

![cli](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/008a98c246153d0ea65ba89b701bb4186b17a31e.png)

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 5, 2018, 10:31am UTC](https://forum.pydio.com/t/pydio-8-background-task-not-working/775/4 "2018-03-05T10:31:10Z")

</div>

> [@Jason](#):
>
> Crypto Extension Detected : OpenSSL
> 
> **Command Line Available : No :**
> 
> DOM Enabled : Yes

i’m at loss because on your php it says that it’s not enabled.

But yes it’s the right place to enable it,  
now you have to enabled on the php end too.

edit : `you need php cli`.

---

<div class="post-metadata">

**Author:** ![Jason](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jason](https://forum.pydio.com/u/Jason)\
**Post date:** [March 6, 2018, 3:00am UTC](https://forum.pydio.com/t/pydio-8-background-task-not-working/775/5 "2018-03-06T03:00:06Z")

</div>

I’m under a shared hosting, and has no accessibility to the root.

However, after asking the help from my hosting server. They told me that PHP CLI has already been enabled for PHP70 which I am using.

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 6, 2018, 9:14am UTC](https://forum.pydio.com/t/pydio-8-background-task-not-working/775/6 "2018-03-06T09:14:50Z")

</div>

Hi,  
sometimes you need add the full path for php  
[![](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/008a98c246153d0ea65ba89b701bb4186b17a31e.png) ](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/008a98c246153d0ea65ba89b701bb4186b17a31e.png)

as seen in your screen the command that calls php should `php` but it could be different on your setup  
if you’re on a linux server use `which php`.

---

<div class="post-metadata">

**Author:** ![Jason](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jason](https://forum.pydio.com/u/Jason)\
**Post date:** [March 16, 2018, 3:55am UTC](https://forum.pydio.com/t/pydio-8-background-task-not-working/775/7 "2018-03-16T03:55:23Z")

</div>

Sorry for the late reply.

It seems the directory was the problem.  
After placing the correct directory, diagnostics show Command-Line was enabled.

Background task now works properly.

Thank You very much for your help and patience!

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 19, 2018, 8:09am UTC](https://forum.pydio.com/t/pydio-8-background-task-not-working/775/8 "2018-03-19T08:09:46Z")

</div>


