Unable to install

According to the logs it looks like some data is being migrated, what do you see when you log into v5?

I see one of the businesses from the v4 site but no actual data. For example when I simply sort the invoices it throws an error.

How about this to confuse the situation…

I have a client using v4.5.50 on PHP 7.4 and I migrated them to a v5 installation using PHP 8.3 without any problems.

However… When I login to their v5 installation and click “invoices” in the side menu I just get the error “Something went wrong”.

So it looks like v4 → v5 migration using the inbuilt migration tool is lacking something as the data was there but as we can’t view invoices it’s not worth using.

Any suggestions that might help with my migration from v4.5.42 on PHP 7.3 → v4.50 on PHP 8.3?

If you see “something went wrong” in the app there should be a new error in storage/logs.

There is no error log and when I checked the laravel.log there was nothing there either.

Feel free to create an issue on GitHub:

Note: you may want to try changing to the desktop app.

I’d prefer not to.

I’m here for help from you the developer. Starting again on another platform feels like a brush off. Sorry.

I’m not sure what you mean by “starting again on another platform”. The web/desktop apps are two frontends to the same backend, it’s one platform.

Hillel

Can we please just try and resolve the issue at hand, here?

I don’t want to go to Guithub and do anything there as that’s the developers area of expertise, not mine.

I just want to get this data migrated over.

As mentioned here:

I am fortunate enough to have a client actually using Invoice Ninja 4.5.50 and I migrated their data and got no errors but when I login to the web UI and try and sort the invoices I get the error “Something went wrong” but there’s nothing in the error log.

An idea…

If there’s a desktop app for the v4 perhaps I can use that and try to migrate from there to v5 ?

We use GitHub to track problems in the app, if you’d like to see the problem fixed I suggest creating an issue on GitHub. If you’re seeing an error in the app but not in the logs that in itself is a problem.

If some clients can migrate but others can’t it points to a problem specific to the server, rather than a problem in the app.

v5 has a desktop app, v4 does not.

Hi Hillel

I thought that was what here was for sorry. I don’t have a GitHub account as far as I am aware and don’t really want to create one.

I’ve created lots of tickets here and had them resolved so why now?

UPDATE…

I tried logging in to GitHub but the verification code never came through.

As we’ve gotten larger we’re no longer able to track issues across multiple platforms. We now use GitHub to track bugs in the app and Slack/Discord/Forum to provide support.

I understand.

Here’s the issue:

I simply copied and pasted. Didn’t take that long.

Have you tried the desktop app?

I have and it worked. But given I am managing mine and clients installations that’s not a viable option which is why we use the web UI.

Not sure I follow, if the desktop app works correctly that means the migration succeeded?

Please read above…

However… When I login to their v5 installation and click “invoices” in the side menu I just get the error “Something went wrong”.

My understanding was that only some of the data migrated, is that not correct?

Are you no longer seeing the Unparenthesized… error?

If the only problem is the web app you can try running this SQL query to change to the old v5 web app.

UPDATE accounts SET set_react_as_default_ap = 0;

Please read the ENTIRE comment. It’s referencing a client’s website NOT mine.

It also happens on mine where some of the data was migrated from v4.5.42 → v5