Error 404 on direkt page access

Good Morning together,

i`ve a funny phenomena. I have updating my installation and now if i try to direkt access a page like https://my.domain.xy/dashboard i get an 404 error (on all pages per direct access), but the funny part is if i access my installation without /dashboard like https://my.domain.xy all works fine, and i can navigate through the hole page without any problems.

I´ve found this thread from Dec. 2023 > React error 404 - #4 by hillel with the similar Problem and i`ve added the REACT_URL variable to my .env file but the problem still the same

regards Sven

Hi,

Does https://my.domain.xy/#/dashboard work?

yes it`s redirect me to /dashboard

it´s naccessary to add the # to the REACT_URL in the .env ?

I believe it’s just how the React app works.

okay but how can i fix that, i have currently no idea… my changes in the htaccess has no effect

i have tryed to run the post-update but my logs shows the follwoing

[2024-07-25 06:20:02] production.INFO: Performing Autobilling 2024-07-25 06:20:02  
[2024-07-25 06:31:02] production.INFO: running post update  
[2024-07-25 06:31:02] production.INFO: I wasn't able to migrate the data.  
[2024-07-25 06:31:02] production.INFO: finished migrating  
[2024-07-25 06:31:02] production.INFO: cleared config  
[2024-07-25 06:31:02] production.INFO: view cleared  
[2024-07-25 06:31:02] production.INFO: queue restarted  
[2024-07-25 06:31:02] production.INFO: Sent for version check  

is it possible to install complete new version in a new subdirectory and get all my data in this new installation ?

@david can you please advise?

Note: if you setup a new instance of the database you can use mysqldump to transfer the data, you’ll also need to copy the .env file.

In addition to what @hillel says, when I setup a new instance, I had to copy data from either public or my data folder (I’ll have to check later) because items in the database pointed to that folder and there were errors when they couldn’t be found.

okay i have no data folder i thin it must be the public folder

I’m back at the computer. Yes @sven.j, you are correct. It is the public folder that I needed to also copy. That is where your logo and other resources are stored.

It’s not a huge problem if not copied, more of a faff to set it all up again. I found it just easier to copy and run migrate and optimize after copying, than setting it all up again.