BUG: Install language page does not display language list during fresh docker installation
Akaunting version
latest docker
PHP version
latest docker
Operating system
Docker
Steps to reproduce
Setup docker-compose and env files define APP_URL as short url, aka "https://dsmhome.local:8088" or "https://dsmhome:8088" Start up app
Expected result
Initial setup page setup/languages to show list of languages
Actual result
List does not show, js error: install.min.js?v=3.1.8:54 DOMException: Failed to execute 'replaceState' on 'History': A history state object with URL 'https://dsmhome.local:8088/install/language' cannot be created in a document with origin 'http://dsmhome.local:8088' and URL 'http://dsmhome.local:8088/install/language'. at se (http://dsmhome.local:8088/public/js/install.min.js?v=3.1.8:54:150936) at t.setupListeners (http://dsmhome.local:8088/public/js/install.min.js?v=3.1.8:54:158341) at i (http://dsmhome.local:8088/public/js/install.min.js?v=3.1.8:54:162717) at http://dsmhome.local:8088/public/js/install.min.js?v=3.1.8:54:155858 at s (http://dsmhome.local:8088/public/js/install.min.js?v=3.1.8:54:156173) at m (http://dsmhome.local:8088/public/js/install.min.js?v=3.1.8:54:157319) at i (http://dsmhome.local:8088/public/js/install.min.js?v=3.1.8:54:153555) at i (http://dsmhome.local:8088/public/js/install.min.js?v=3.1.8:54:153584) at Ee (http://dsmhome.local:8088/public/js/install.min.js?v=3.1.8:54:153592) at Me.confirmTransition (http://dsmhome.local:8088/public/js/install.min.js?v=3.1.8:54:157326)
install.min.js?v=3.1.8:54 TypeError: Cannot read properties of undefined (reading 'matched')
at render (install.min.js?v=3.1.8:54:139723)
at install.min.js?v=3.1.8:54:35810
at Gi (install.min.js?v=3.1.8:54:35980)
at install.min.js?v=3.1.8:54:13301
at Ct (install.min.js?v=3.1.8:54:13446)
at e._c (install.min.js?v=3.1.8:54:41730)
at a.
Additional comments
No response
Relevant log output
No response
Hello is someone have a feedback on this error. It seems that this error was there long time ago and was resolved. Greatly appreciate your feedback community.
Hello, I thanks it was related to the app_url value that was a different but not seeing in the browser. I'm not sure but i think this is the root cause.
Hello, I thanks it was related to the app_url value that was a different but not seeing in the browser. I'm not sure but i think this is the root cause.
Yes, thank you for posting. That is indeed the issue. For me the issue was is that I changed to default port, so I had to add it as well. So my run.env looks like APP_URL=http://akaunting:24621 and now it matches the one that is shown in the browser. When I had APP_URL=http://akaunting I did have the same issue as you