Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No options on Adapt Dashboard #2771

Open
thalesuts opened this issue Jun 19, 2024 · 3 comments
Open

No options on Adapt Dashboard #2771

thalesuts opened this issue Jun 19, 2024 · 3 comments

Comments

@thalesuts
Copy link

I can login to the master tenant. I have 4 options

AdaptOptions

Dashboard and Asset Management do nothing
Plugins and Users work

There is no create button or anything so unable to create anything.. please help

Versions

  • Authoring Tool Version: 0.11.3
  • Framework Version: 5.39.15
  • Node.js Version: v16.20.2 x64
  • MongoDB Version: 7.0.11 x64
  • Operating System: Windows 11 x64
  • Browser: Edge
  • Git Version: 2.45.2 x64
@simondate
Copy link
Member

Can you open your web browser's developer tools? It may have a more helpful error message there

@giandre
Copy link

giandre commented Jul 30, 2024

I have the same problem. The logs show this is an tenant issue.

info [30 Jul 24 16:45:34 -04:00] configuration loaded from D:\adapt_authoring\conf\config.json
info [30 Jul 24 16:45:34 -04:00] Supporting the following authentication types:
info [30 Jul 24 16:45:34 -04:00] - local
info [30 Jul 24 16:45:34 -04:00] Connection established: adapt-tenant-master
info [30 Jul 24 16:45:35 -04:00] Adapt authoring tool 0.11.3.
info [30 Jul 24 16:45:35 -04:00] Adapt framework 5.40.5.
info [30 Jul 24 16:45:35 -04:00] Server started listening on port 5000
Error: Failed to determine user's tenant!
at Object.getDatabase (D:\adapt_authoring\lib\database.js:416:19)
at D:\adapt_authoring\plugins\content\tag\index.js:76:16
at D:\adapt_authoring\lib\rest.js:115:7
at Layer.handle [as handle_request] (D:\adapt_authoring\node_modules\express\lib\router\layer.js:95:5)
at next (D:\adapt_authoring\node_modules\express\lib\router\route.js:149:13)
at Route.dispatch (D:\adapt_authoring\node_modules\express\lib\router\route.js:119:3)
at Layer.handle [as handle_request] (D:\adapt_authoring\node_modules\express\lib\router\layer.js:95:5)
at D:\adapt_authoring\node_modules\express\lib\router\index.js:284:15
at Function.process_params (D:\adapt_authoring\node_modules\express\lib\router\index.js:346:12)
at next (D:\adapt_authoring\node_modules\express\lib\router\index.js:280:10)
at Layer.handle [as handle_request] (D:\adapt_authoring\node_modules\express\lib\router\layer.js:91:12)
at trim_prefix (D:\adapt_authoring\node_modules\express\lib\router\index.js:328:13)
at D:\adapt_authoring\node_modules\express\lib\router\index.js:286:9
at Function.process_params (D:\adapt_authoring\node_modules\express\lib\router\index.js:346:12)
at next (D:\adapt_authoring\node_modules\express\lib\router\index.js:280:10)
at D:\adapt_authoring\lib\application.js:308:7
at Layer.handle [as handle_request] (D:\adapt_authoring\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (D:\adapt_authoring\node_modules\express\lib\router\index.js:328:13)
at D:\adapt_authoring\node_modules\express\lib\router\index.js:286:9
at Function.process_params (D:\adapt_authoring\node_modules\express\lib\router\index.js:346:12)
at next (D:\adapt_authoring\node_modules\express\lib\router\index.js:280:10)
at D:\adapt_authoring\lib\permissions.js:495:16
at Layer.handle [as handle_request] (D:\adapt_authoring\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (D:\adapt_authoring\node_modules\express\lib\router\index.js:328:13)
at D:\adapt_authoring\node_modules\express\lib\router\index.js:286:9
at Function.process_params (D:\adapt_authoring\node_modules\express\lib\router\index.js:346:12)
at next (D:\adapt_authoring\node_modules\express\lib\router\index.js:280:10)
at SendStream.error (D:\adapt_authoring\node_modules\serve-static\index.js:121:7)

I checked mongodb and I can see that the database was created and I see a tenant, user, and all other components. This is what the tenant document says:
_id
66a9505620d147392c898b65
_isDeleted
false
isMaster
true
name
"adaptmaster"
displayName
"adaptmaster"

database
Object
createdAt
2024-07-30T20:43:02.351+00:00
updatedAt
2024-07-30T20:43:02.351+00:00
__v
0

I am not a developer so I have no idea what to do and ChatGPT basically asked me to update a bunch of files :)... so I stopped.

@marticus123
Copy link

I am having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants