# Mautic upgrade: undefined status

**URL:** <https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068>\
**Category:** Product Support\
**Created:** [December 8, 2017, 8:10am UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068 "2017-12-08T08:10:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![davmancuso](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@davmancuso](https://forum.mautic.org/u/davmancuso)\
**Post date:** [December 8, 2017, 8:10am UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/1 "2017-12-08T08:10:07Z")

</div>

Howdy guys, I was trying to update my Mautic installation from the backend but I got stucjed in the Moving Package Contents step… I left it running all alone a whole night and it is still stuck there with the status of undefined… How can i solve this?  
  
  
  
I’m not that good with direct input, so if there is a easyest solution through the backend or ftp I would prefer that, or I need some good instruction…  
  
  
  
Thank you guys!

---

<div class="post-metadata">

**Author:** ![davmancuso](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@davmancuso](https://forum.mautic.org/u/davmancuso)\
**Post date:** [December 8, 2017, 8:10am UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/2 "2017-12-08T08:10:07Z")

</div>

Howdy guys, I was trying to update my Mautic installation from the backend but I got stucjed in the Moving Package Contents step… I left it running all alone a whole night and it is still stuck there with the status of undefined… How can i solve this?

I’m not that good with direct input, so if there is a easyest solution through the backend or ftp I would prefer that, or I need some good instruction…

Thank you guys!

---

<div class="post-metadata">

**Author:** ![magician](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@magician](https://forum.mautic.org/u/magician)\
**Post date:** [December 8, 2017, 9:10am UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/3 "2017-12-08T09:10:21Z")

</div>

Same problem here. Upgrade form 2.11 to 2.12 give me same status. Previous upgrade to 2.11 was no problem.  
When I try update manually from console I got:

`/home/dp/public_html/ma# php upgrade.php
Checking for new updates...updating to 2.12.0!
Extracting the update package...failed. Package could not be found!`

But the in file system I have huge file named: index.php?option=com\_mauticdownload&task=downloadPackage&id=57

* * *

Ok, this helps: By console.

`php app/console cache:clear
php app/console mautic:update:find
php app/console mautic:update:apply (Follow the prompts)
php app/console cache:warmup`

BUT probably there is a error in upgrade by web

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [December 8, 2017, 9:19am UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/4 "2017-12-08T09:19:16Z")

</div>

Browser console show repeated redirects. We have that upgrade problem also in two different instances.

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [December 8, 2017, 10:08am UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/5 "2017-12-08T10:08:05Z")

</div>

@davmancuso  
Logged in via SSH using web user (the user that runs PHP for my domain) to run php CLI:

$php app/console cache:clear  
$php app/console mautic:update:find  
$php app/console mautic:update:apply (Follow the prompts)  
$php app/console cache:warmup

Mautic now says I’m running 2.12.0 🙂

if you do not have SSH , then try update after few days.

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [December 8, 2017, 10:35am UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/6 "2017-12-08T10:35:36Z")

</div>

[quote=27608:@bizcrony]@davmancuso  
Logged in via SSH using web user (the user that runs PHP for my domain) to run php CLI:

$php app/console cache:clear  
$php app/console mautic:update:find  
$php app/console mautic:update:apply (Follow the prompts)  
$php app/console cache:warmup

Mautic now says I’m running 2.12.0 🙂

if you do not have SSH , then try update after few days.[/quote]

[link text](https://raw.githubusercontent.com/mautic/mautic/master/upgrade.php) paste this file on your root and updgrade . This is the best solution to upgrade mautic.

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [December 8, 2017, 1:16pm UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/7 "2017-12-08T13:16:43Z")

</div>

Updated with 2.12.0 all are up to date

![](http://advertmediainc.com/update.png)

---

<div class="post-metadata">

**Author:** ![athakore](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@athakore](https://forum.mautic.org/u/athakore)\
**Post date:** [December 10, 2017, 6:25am UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/8 "2017-12-10T06:25:38Z")

</div>

Could someone please help. Which directory do I need to be in when I run the following commands:

php app/console cache:clear  
php app/console mautic:update:find  
php app/console mautic:update:apply (Follow the prompts)  
php app/console cache:warmup

I am getting the following error:

“Could not open input file: app/console”

Also, should I run the above commands as “sudo”?

For what it’s worth, my httpd conf is located in: /opt/bitnami/apache2/conf/httpd.conf.

---

<div class="post-metadata">

**Author:** ![athakore](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@athakore](https://forum.mautic.org/u/athakore)\
**Post date:** [December 10, 2017, 6:37am UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/9 "2017-12-10T06:37:27Z")

</div>

I figured out that I needed to be in /opt/bitnami/apps/mautic/htdocs

---

<div class="post-metadata">

**Author:** ![JPSales](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JPSales](https://forum.mautic.org/u/JPSales)\
**Post date:** [December 10, 2017, 11:57am UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/10 "2017-12-10T11:57:17Z")

</div>

Hi, Thanks for the great help! Can anybody explain this error when I run:  
/var/www/html/mautic/app/console mautic:update:find

PHP Fatal error: require\_once(): Failed opening required ‘PHPEXCEL\_ROOTPHPExcel/Shared/PCLZip/pclzip.lib.php’ (include\_path=’.:/usr/share/php’) in /var/www/html/mautic/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/ZipArchive.php on line 31

This is the code in line 31 of ZipArchive.php:

require\_once PHPEXCEL\_ROOT . ‘PHPExcel/Shared/PCLZip/pclzip.lib.php’;

Thanks!

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [December 10, 2017, 1:16pm UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/11 "2017-12-10T13:16:19Z")

</div>

@JPSales delete cache and download upgrade.php, paste on your mautic root folder, that run your mautic.url/upgrade.php

It will be upgraded,

---

<div class="post-metadata">

**Author:** ![JPSales](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JPSales](https://forum.mautic.org/u/JPSales)\
**Post date:** [December 10, 2017, 5:05pm UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/12 "2017-12-10T17:05:08Z")

</div>

@bizcrony - Thanks but… no luck - I get a 500 error - strange.

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [December 10, 2017, 5:07pm UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/13 "2017-12-10T17:07:36Z")

</div>

@JPSales I don’t think so, Did you delete the cache Folder? Check My Profile

---

<div class="post-metadata">

**Author:** ![JPSales](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JPSales](https://forum.mautic.org/u/JPSales)\
**Post date:** [December 10, 2017, 5:15pm UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/14 "2017-12-10T17:15:05Z")

</div>

No only the content…

This is the url: [http://92.222.78.75/mautic/upgrade.php](http://92.222.78.75/mautic/upgrade.php)

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [December 10, 2017, 6:09pm UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/15 "2017-12-10T18:09:40Z")

</div>

@JPSales when click to update it shows 500 errors, Check with your Hosting, or You should check permissions, it’s related to permissions issue.

permissions should be 755 for folders and 644 for files. It’s very simple.

---

<div class="post-metadata">

**Author:** ![JPSales](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JPSales](https://forum.mautic.org/u/JPSales)\
**Post date:** [December 10, 2017, 9:04pm UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/16 "2017-12-10T21:04:48Z")

</div>

@bizcrony Thanks Biz! We should talk - we need someone to support us for future installs etc. of our clients.  
Can I connect on Skype with you?

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [December 11, 2017, 6:07am UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/17 "2017-12-11T06:07:24Z")

</div>

@JPSales yes sure skype : [kishankumawat@live.com](mailto:kishankumawat@live.com)

---

<div class="post-metadata">

**Author:** ![Rosco](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rosco/32/510_2.png) [@Rosco](https://forum.mautic.org/u/Rosco)\
**Post date:** [January 8, 2018, 12:26pm UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/18 "2018-01-08T12:26:33Z")

</div>

Hi Bizcrony,

“if you do not have SSH:  
[https://raw.githubusercontent.com/mautic/mautic/master/upgrade.php](https://raw.githubusercontent.com/mautic/mautic/master/upgrade.php)  
paste this file on your root and upgrade”

Thank you for the link. It took a while - and works!

Is this an official “upgrade-script”?  
Does it work for further upgrade installations?

---

<div class="post-metadata">

**Author:** ![bodoschmidt](https://avatars.discourse-cdn.com/v4/letter/b/e47774/32.png) [@bodoschmidt](https://forum.mautic.org/u/bodoschmidt)\
**Post date:** [January 28, 2018, 2:05pm UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/19 "2018-01-28T14:05:56Z")

</div>

I can not upgrade from 2.11.0 to 2.12.1 with the mautic function, it does not work, so i try to update with ssh.

but i get an error te console script does not work.  
if i type php app/console mautic:update:find

result:  
PHP Parse error: syntax error, unexpected ‘[’, expecting ‘)’ in /var/www/vhosts/mautic.xxx.de/app/console on line 28  
root@h1652875:/var/www/vhosts/mautic.xxx.de#

---

<div class="post-metadata">

**Author:** ![rodrigooliveira](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rodrigooliveira/32/510_2.png) [@rodrigooliveira](https://forum.mautic.org/u/rodrigooliveira)\
**Post date:** [September 29, 2020, 4:21pm UTC](https://forum.mautic.org/t/mautic-upgrade-undefined-status/10068/20 "2020-09-29T16:21:39Z")

</div>

> [@athakore](#):
>
> php app/console cache:clear

Hello, i’m on: [http://bitnami@ip-xxx-xx-xx-xxx/opt/bitnami/apps/mautic/htdocs$](http://bitnami@ip-xxx-xx-xx-xxx/opt/bitnami/apps/mautic/htdocs$)

And when i try the comands:

php app/console cache:clear  
…

It keeps give to me the same messagem "“Could not open input file: app/console”.

Do you have any ideia what thay may be?
