# lost on the update-path

**URL:** <https://forum.mautic.org/t/lost-on-the-update-path/5087>\
**Category:** Product Support\
**Created:** [August 28, 2016, 2:16pm UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087 "2016-08-28T14:16:16Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![olafdammann](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@olafdammann](https://forum.mautic.org/u/olafdammann)\
**Post date:** [August 28, 2016, 2:16pm UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/1 "2016-08-28T14:16:16Z")

</div>

Good evening  
  
I’m a bit lost on the update-path:

1. I run the 1.4.1 at my provider, he offers PHP 5.6.16 and 7.0.6 (5.6.19 is impossible there, they say)  
2. When I switch over to PHP7, Mautic 1.4.1 complains. Understand.  
3. I don’t see any update-notification to 2.x, presumably, because the existing PHP 5.6.16 wouldn’t allow it to run. Understand.  
  
  
  
I am lost now. How can I do the Step to Mautic 2? Just exporting the DB, installing 2.x.y via ftp and reinstalling the DB may not work because of the schema updates.  
  
  
  
Please, any ideas welcome. Don’t want to lose track.  
  
Thanks, folks!  
  
OLAF

---

<div class="post-metadata">

**Author:** ![olafdammann](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@olafdammann](https://forum.mautic.org/u/olafdammann)\
**Post date:** [August 28, 2016, 2:16pm UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/2 "2016-08-28T14:16:16Z")

</div>

Good evening  
I’m a bit lost on the update-path:

1. I run the 1.4.1 at my provider, he offers PHP 5.6.16 and 7.0.6 (5.6.19 is impossible there, they say)
2. When I switch over to PHP7, Mautic 1.4.1 complains. Understand.
3. I don’t see any update-notification to 2.x, presumably, because the existing PHP 5.6.16 wouldn’t allow it to run. Understand.

I am lost now. How can I do the Step to Mautic 2? Just exporting the DB, installing 2.x.y via ftp and reinstalling the DB may not work because of the schema updates.

Please, any ideas welcome. Don’t want to lose track.  
Thanks, folks!  
OLAF

---

<div class="post-metadata">

**Author:** ![olafdammann](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@olafdammann](https://forum.mautic.org/u/olafdammann)\
**Post date:** [August 29, 2016, 5:09am UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/3 "2016-08-29T05:09:48Z")

</div>

Well, THAT sounds simple 🙂

So, I switch to PHP7.0.6, Run the Script (via Browser) and wait. After maybe a Minute or so I receive an error 500. Do I do something wrong?

---

<div class="post-metadata">

**Author:** ![olafdammann](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@olafdammann](https://forum.mautic.org/u/olafdammann)\
**Post date:** [August 31, 2016, 7:09am UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/4 "2016-08-31T07:09:04Z")

</div>

any Ideas anyone?  
Can I import a DB-Backup from 1.4 into 2?

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [August 31, 2016, 12:10pm UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/5 "2016-08-31T12:10:39Z")

</div>

@olafdammann you are in a shared server?

---

<div class="post-metadata">

**Author:** ![olafdammann](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@olafdammann](https://forum.mautic.org/u/olafdammann)\
**Post date:** [August 31, 2016, 1:48pm UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/6 "2016-08-31T13:48:11Z")

</div>

well… I have rented a Webspace at my provider (df.eu). There I have several domains, all isolated from each other. In some Wordpresses are running, in some Mautics, the PHP-Settings can be adjusted per domain.

Not sure if this is what you mean?

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [August 31, 2016, 3:05pm UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/7 "2016-08-31T15:05:14Z")

</div>

email me to shared screen `jninhilario@gmail.com`

---

<div class="post-metadata">

**Author:** ![olafdammann](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@olafdammann](https://forum.mautic.org/u/olafdammann)\
**Post date:** [August 31, 2016, 6:26pm UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/8 "2016-08-31T18:26:42Z")

</div>

Booooahh! After a Skype with Joan (Thanks, Man!!!) he pointed that the update.php was executed unter PHP4. After a call with the provider I can run the Script now from the CLI unter PHP7:

* * *

(19:12:03) [caretaker] /usr/local/bin/php7-70STABLE-CLI upgrade.php  
Checking for new updates…updating to 2.1.1!  
Extracting the update package…done!  
Moving files…done!  
Clearing the cache…done!  
Rebuilding the cache…done!  
Applying migrations…done!  
Cleaning up…done!

* * *

looks promising…  
Then I deleted the app/cache-Folder and open the page in the browser. Damn! It says, “The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.”  
And it gives this:  
Fatal error: Uncaught SymfonyComponentDebugExceptionFatalThrowableError: Type error: Argument 1 passed to SymfonyComponentTranslationLoaderArrayLoader::flatten() must be of the type array, boolean given, called in /kunden/kapinski.net/leben-fuehren.de/caretaker/vendor/symfony/translation/Loader/ArrayLoader.php on line 28 in /kunden/kapinski.net/leben-fuehren.de/caretaker/vendor/symfony/translation/Loader/ArrayLoader.php:49 Stack trace: #0 /kunden/kapinski.net/leben-fuehren.de/caretaker/vendor/symfony/translation/Loader/ArrayLoader.php(28): SymfonyComponentTranslationLoaderArrayLoader-\>flatten(false) #1 /kunden/kapinski.net/leben-fuehren.de/caretaker/app/bundles/CoreBundle/Loader/TranslationLoader.php(108): SymfonyComponentTranslationLoaderArrayLoader-\>load(false, ‘de’, ‘messages’) #2 /kunden/kapinski.net/leben-fuehren.de/caretaker/app/bundles/CoreBundle/Loader/TranslationLoader.php(77): MauticCoreBundleLoaderTranslationLoader-\>loadTranslations(Object(SymfonyComponentTranslationMessageCatalogue), ‘de’ in /kunden/kapinski.net/leben-fuehren.de/caretaker/app/bundles/CoreBundle/Templating/Helper/ThemeHelper.php on line 70

* * *

shit… Any further ideas?  
desperate OLAF

---

<div class="post-metadata">

**Author:** ![olafdammann](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@olafdammann](https://forum.mautic.org/u/olafdammann)\
**Post date:** [September 1, 2016, 11:08am UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/9 "2016-09-01T11:08:08Z")

</div>

even a full restore of all Files from the old 1.4.1-Istalation didn’t solve it ☹  
Now I really get nervous…  
Any Ideas anyone?

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [September 1, 2016, 11:38am UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/10 "2016-09-01T11:38:12Z")

</div>

@olafdammann im in skype again.

---

<div class="post-metadata">

**Author:** ![olafdammann](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@olafdammann](https://forum.mautic.org/u/olafdammann)\
**Post date:** [September 1, 2016, 6:13pm UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/11 "2016-09-01T18:13:40Z")

</div>

So, okay, I can now restore my M1.4.1 very well…  
I can reproduce the mentioned error now. Strating from a working M1.4.1 executing the update.php on CLI results in a crash.

To the Programmers: The word “translation” occurs often int he errorcode. Is something wrong with the DE translation of M2?

---

<div class="post-metadata">

**Author:** ![olafdammann](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@olafdammann](https://forum.mautic.org/u/olafdammann)\
**Post date:** [September 3, 2016, 1:31pm UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/12 "2016-09-03T13:31:06Z")

</div>

done.  
reinstalled a fresh new 1.4.1 manually (what a painfull process…) updated, works now.

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [September 3, 2016, 3:15pm UTC](https://forum.mautic.org/t/lost-on-the-update-path/5087/13 "2016-09-03T15:15:57Z")

</div>

cool! @olafdammann
