Import 4.5 -> 5.1.65 CSV client

Hello

I have an installation of the software and I can’t change to the latest version. I have to make a new installation.
Unfortunately it is not possible to import a Json file and when I import my CSV 4.5 file to INVOICE NINJA 5.1 I can’t find my customers or invoices. Is it possible to import a database directly from the cpannel Or how import properly?

Thanks a lot

Hi,

You need to use the migration tool in the latest v4 to transfer the data.

Thank you HILLEL

I found the migration tool, but when I enter my email and password and the api of my new installation in my invoice 4 I get an error message

Oops, something went wrong! Please make sure you have setup an Invoice Ninja v5 instance before starting the migration.

How do i start an Instance on v5 ?

You need to setup the app

https://invoiceninja.github.io/docs/self-host-installation/

I follow what is on your site but it’s not working same issue

Is the v5 app now running?

Hello,

Yes it’s online http://www.ybrv7474.odns.fr/invoice5 but i can’t migrate my data

What error are you seeing?

The info here may help, @david do you have any ideas to debug?

https://invoiceninja.github.io/docs/migration/#troubleshooting

1 Like

We will need the error from the logs on the V4 installation.

ok how can i export logs from my install in softacoulous ?

@france

in the file manage go to public_html/storage/logs/laravel.log

that is the file

[2021-06-02 16:06:21] production.INFO: {“message”:“Method not support for this route”} [] []

[2021-06-02 16:12:57] production.INFO: {“message”:“Method not support for this route”} [] []

[2021-06-02 16:20:29] production.INFO: {“message”:“Method not support for this route”} [] []

[2021-06-02 20:15:10] production.INFO: {“message”:“Method not support for this route”} [] []

[2021-06-04 09:47:23] production.INFO: {“message”:“Method not support for this route”} [] []

[2021-06-04 09:53:00] production.INFO: {“message”:“Method not support for this route”} [] []

[2021-03-29 03:45:10] production.ERROR: CURL Error #60: SSL certificate problem: self signed certificate {“context”:“PHP”,“user_id”:0,“account_id”:0,“user_name”:"",“method”:“GET”,“user_agent”:"",“locale”:“en”,“ip”:“127.0.0.1”,“count”:1,“is_console”:“yes”,“is_api”:“no”,“db_server”:“mysql”,“url”:"/"} []
[2021-03-30 03:45:10] production.ERROR: CURL Error #60: SSL certificate problem: self signed certificate {“context”:“PHP”,“user_id”:0,“account_id”:0,“user_name”:"",“method”:“GET”,“user_agent”:"",“locale”:“en”,“ip”:“127.0.0.1”,“count”:1,“is_console”:“yes”,“is_api”:“no”,“db_server”:“mysql”,“url”:"/"} []
[2021-03-31 03:45:08] production.ERROR: CURL Error #60: SSL certificate problem: self signed certificate {“context”:“PHP”,“user_id”:0,“account_id”:0,“user_name”:"",“method”:“GET”,“user_agent”:"",“locale”:“en”,“ip”:“127.0.0.1”,“count”:1,“is_console”:“yes”,“is_api”:“no”,“db_server”:“mysql”,“url”:"/"} []
[2021-04-01 03:45:09] production.ERROR: CURL Error #60: SSL certificate problem: self signed certificate {“context”:“PHP”,“user_id”:0,“account_id”:0,“user_name”:"",“method”:“GET”,“user_agent”:"",“locale”:“en”,“ip”:“127.0.0.1”,“count”:1,“is_console”:“yes”,“is_api”:“no”,“db_server”:“mysql”,“url”:"/"} []
[2021-04-27 20:56:14] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“quotes/24/edit”} []
[2021-04-27 20:56:31] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:2,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“quotes/24/edit”} []
[2021-04-27 20:56:36] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:3,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“quotes/24/edit”} []
[2021-04-27 20:57:03] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:4,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“quotes/24/edit”} []
[2021-04-27 20:59:13] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:5,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“quotes/24/edit”} []
[2021-04-27 21:02:10] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:6,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“quotes/24/edit”} []
[2021-04-27 21:02:13] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:7,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“quotes/22/edit”} []
[2021-05-10 15:59:23] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.95 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“invoices/26/edit”} []
[2021-05-10 16:00:59] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.95 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:2,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“invoices/26/edit”} []
[2021-05-10 16:01:15] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.95 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:3,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“invoices/21/edit”} []
[2021-05-10 16:01:25] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.95 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:4,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“quotes/22/edit”} []
[2021-05-10 16:01:41] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.95 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:5,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“quotes/22/edit”} []
[2021-05-12 11:40:25] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.214 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“invoices/28/edit”} []
[2021-05-20 13:58:49] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/storage/framework/views/7d58af7404858c026d8129fbf053446c4ab0e0a4.php [Line 260] => Unparenthesized a ? b : c ? d : e is deprecated. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) (View: /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/resources/views/accounts/account_gateway.blade.php) {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.214 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“gateways/create”} []
[2021-05-20 14:08:07] production.ERROR: ErrorException [0] : /home/ybrv7474/invoice4.5.ybrv7474.odns.fr/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“JONATHAN HAYAT”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.214 Safari/537.36”,“locale”:“fr”,“ip”:“93.13.212.76”,“count”:2,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“invoices/29/edit”} []

Which version of PHP are you using? v4 supports up to PHP 7.3.

php 7.4 on both install

You’ll need to change the v4 install to PHP 7.3.

not working too