countly-server
countly-server copied to clipboard
Add new app -> "Not found"
Expected Behavior
Add an app then get to the dashboard?
Current Behavior
"Not found" in the lower right corner
Steps to Reproduce (for bugs)
- installed the containers using https://raw.githubusercontent.com/Countly/countly-server/master/docker-compose.yml
- set COUNTLY_CONFIG_HOSTNAME = countly.mydomain.org, and COUNTLY_CONFIG__MONGODB_HOST = countly_mongodb_1
- visited the frontend: 10.10.10.10:6001
- added a user
- Application Management > added some name and salt
- clicked "create" button
More Description
Here are the container logs (last lines because everything seems fine) and console logs on the browser:
api:
2022-12-02T10:33:51.332Z: INFO [jobs:manager] Trying to start job {"_id":"6389d48ff0aaea0f8236d90a","name":"api:clearAutoTasks","created":1669977231188,"status":0,"started":null,"finished":null,"duration":0,"data":{},"schedule":"every 1 day","next":1669977231189}
2022-12-02T10:35:00.571Z: INFO [jobs:manager] Trying to start job {"_id":"6389d48ff0aaea0f8236d908","name":"api:task","created":1669977231189,"status":0,"started":null,"finished":null,"duration":0,"data":{},"schedule":"every 5 minutes","next":1669977300000}
frontend:
Running "concat:locales_zh" (concat) task
Running "concat:locales_pl" (concat) task
Done.
Starting Countly version 22.09.0
mongodb:
t={"$date":"2022-12-02T10:35:22.919+00:00"} s=I c=NETWORK id=51800 ctx=conn2663 msg=client metadata attr={"remote":"192.168.16.4:38530","client":"conn2663","doc":{"driver":{"name":"nodejs","version":"4.9.1"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.4.0-135-generic"},"platform":"Node.js v14.21.1, LE (unified)|Node.js v14.21.1, LE (unified)","application":{"name":"countly: dashboard node /opt/countly/fron: countly(10) 7"}}}
t={"$date":"2022-12-02T10:35:22.920+00:00"} s=I c=NETWORK id=51800 ctx=conn2664 msg=client metadata attr={"remote":"192.168.16.4:38544","client":"conn2664","doc":{"driver":{"name":"nodejs","version":"4.9.1"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.4.0-135-generic"},"platform":"Node.js v14.21.1, LE (unified)|Node.js v14.21.1, LE (unified)","application":{"name":"countly: dashboard node /opt/countly/fron: countly(10) 7"}}}
console logs:
unreachable code after return statement
countly.utils.js:2:2010581
unreachable code after return statement
countly.utils.js:2:2010756
[Vue warn]: Invalid component name: "$p". Component names should conform to valid custom element name in html5 specification. countly.utils.js:2:687305
[Vue warn]: Invalid component name: "$0". Component names should conform to valid custom element name in html5 specification. countly.utils.js:2:687305
Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.
dashboard
Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools countly.utils.js:2:762155
You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html countly.utils.js:2:762357
Loading failed for the <script> with source “https://www.gstatic.com/charts/loader.js”. dashboard:1705:1
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/ countly.dom.js:2:621025
XHRGEThttp://10.10.10.10:6001/o/themes?app_id=0
[HTTP/1.1 404 Not Found 117ms]
XHRGEThttp://10.10.10.10:6001/o/configs?app_id=0
[HTTP/1.1 404 Not Found 138ms]
XHRGEThttp://10.10.10.10:6001/o/langmap?preventRequestAbort=true
[HTTP/1.1 404 Not Found 138ms]
XHRGEThttp://10.10.10.10:6001/o/sources?preventGlobalAbort=true
[HTTP/1.1 404 Not Found 142ms]
XHRGEThttp://10.10.10.10:6001/o/themes?app_id=0
[HTTP/1.1 404 Not Found 114ms]
XHRGEThttp://10.10.10.10:6001/o/configs?app_id=0
[HTTP/1.1 404 Not Found 176ms]
Loading failed for the <script> with source “http://10.10.10.10:6001/sdk/web/countly.min.js?22.09”. dashboard:1724:1
Uncaught ReferenceError: Countly is not defined
<anonymous> http://10.10.10.10:6001/dashboard#/manage/apps/new:1728
dashboard:1728:13
Use of Mutation Events is deprecated. Use MutationObserver instead. countly.dom.js:2:41080
XHRGEThttp://10.10.10.10:6001/o/countly_version
[HTTP/1.1 404 Not Found 84ms]
Loading failed for the <script> with source “https://app.hellozest.io/widget/embed/z05qxwmw”. dashboard:1:1
XHRGEThttp://10.10.10.10:6001/i/apps/create?args={"timezone":"Europe/Paris","country":"FR","key":"bd6d0a47a196b0708e7c9798455fd359f64d6dd5","name":"test","type":"web"}
Your Environment
Ubuntu 20.04