# Migration version 4.5 vers 5.3.X

**URL:** <https://forum.yunohost.org/t/migration-version-4-5-vers-5-3-x/20345>\
**Category:** Support apps\
**Tags:** invoiceninja\
**Created:** [July 9, 2022, 7:14pm UTC](https://forum.yunohost.org/t/migration-version-4-5-vers-5-3-x/20345 "2022-07-09T19:14:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonio](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/t/c68b51/32.png) [@tonio](https://forum.yunohost.org/u/tonio)\
**Post date:** [July 9, 2022, 7:14pm UTC](https://forum.yunohost.org/t/migration-version-4-5-vers-5-3-x/20345/1 "2022-07-09T19:14:51Z")

</div>

### My YunoHost server

**Hardware:** VPS bought online  
**YunoHost version:** \* 4.3.6.3  
**I have access to my server :** Through SSH  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no

### Description of my issue

The migration step to upgrade to InvoiceNinja 5.3 is not working :  
[https://invoiceninja.github.io/docs/migration/](https://invoiceninja.github.io/docs/migration/)

```auto
(1/1) ErrorException                                                                  
Trying to get property 'data' of non-object
--
in AuthService.php line 65
at HandleExceptions->handleError(8, 'Trying to get property \'data\' of non-object', '/var/www/invoiceninja/app/Services/Migration/AuthService.php', 65, array('data' => array('email' => 'antoine@domain.net', 'password' => 'mypassword'), 'body' => '{"email":"antoine@domain.net","password":"mypassword"}', 'response' => object(Response)))in AuthService.php line 65

```

Then I changed my InvoiceNinja setting:

- The App URL was [https://sub.domain.net/in/](https://sub.domain.net/in/)
- The App URL is now [https://in.sub.domain.net/in/](https://in.sub.domain.net/in/)

I can’t move to [https://in.sub.domain.net/](https://in.sub.domain.net/)  
I don’t have anymore access on the App.

We can see in the logs: \*net-error.log

```auto
"/usr/share/nginx/htmlindex.php/flutter_service_worker.js" failed (2: No such file or directory), client: 92.88.255.209, server: in.extranet.nivard.net, request: "GET /flutter_service_worker.js?v=5.3.60 HTTP/2.0", host: "in.extranet.nivard.net"
"/usr/share/nginx/htmlindex.php/flutter_service_worker.js" failed (2: No such file or directory), client: 92.88.255.209, server: in.extranet.nivard.net, request: "GET /flutter_service_worker.js?v=5.3.60 HTTP/2.0", host: "in.extranet.nivard.net"

```

I should fix this first and start the migration process…

* * *

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [July 24, 2022, 7:15pm UTC](https://forum.yunohost.org/t/migration-version-4-5-vers-5-3-x/20345/2 "2022-07-24T19:15:52Z")

</div>

Closed on July 24, 2022, 7:15pm UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
