akaunting / docker

Docker Image for Akaunting
https://github.com/akaunting/akaunting
GNU General Public License v3.0
188 stars 88 forks source link

BUG: Install language page does not display language list during fresh docker installation #116

Open arnonm opened 4 months ago

arnonm commented 4 months ago

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. (install.min.js?v=3.1.8:54:328331) at e._render (install.min.js?v=3.1.8:54:44793) at a.i (install.min.js?v=3.1.8:54:78752) at e.get (install.min.js?v=3.1.8:54:27306)

Additional comments

No response

Relevant log output

No response

managerkoffi commented 3 months ago

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.

managerkoffi commented 3 months ago

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.