09-10-2021 11:48 AM
hello everyone,
i'm using alfresco community edition 5.0d in multi-tenant setup.
yesterday one of the tenants stopped working (others works fine).
i can authenticate, but when i try to access "Alfresco Share" or "Alfresco Administration console" i get this error:
HTTP Status 500 - 08100098 Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:extensionwebscripts must exist; it was not found
type Exception report
message 08100098 Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:extensionwebscripts must exist; it was not found
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.springframework.extensions.webscripts.WebScriptException: 08100098 Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:extensionwebscripts must exist; it was not found
org.alfresco.repo.web.scripts.RepoStore$1$1.execute(RepoStore.java:235)
org.alfresco.repo.web.scripts.RepoStore$1$1.execute(RepoStore.java:212)
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
org.alfresco.repo.web.scripts.RepoStore$1.doWork(RepoStore.java:211)
org.alfresco.repo.web.scripts.RepoStore$1.doWork(RepoStore.java:208)
org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
org.alfresco.repo.web.scripts.RepoStore.getBaseNodeRef(RepoStore.java:207)
org.alfresco.repo.web.scripts.RepoStore.findNodeRef(RepoStore.java:318)
org.alfresco.repo.web.scripts.RepoStore$RepoTemplateLoader$1$1.execute(RepoStore.java:843)
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:345)
org.alfresco.repo.web.scripts.RepoStore$RepoTemplateLoader$1.doWork(RepoStore.java:838)
org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
org.alfresco.repo.web.scripts.RepoStore$RepoTemplateLoader.findTemplateSource(RepoStore.java:834)
freemarker.cache.MultiTemplateLoader.findTemplateSource(MultiTemplateLoader.java:113)
freemarker.cache.TemplateCache.acquireTemplateSource(TemplateCache.java:628)
freemarker.cache.TemplateCache.findTemplateSource(TemplateCache.java:618)
freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:260)
freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:205)
freemarker.template.Configuration.getTemplate(Configuration.java:740)
freemarker.template.Configuration.getTemplate(Configuration.java:665)
org.alfresco.repo.web.scripts.RepositoryTemplateProcessor.hasTemplate(RepositoryTemplateProcessor.java:145)
org.springframework.extensions.webscripts.TemplateProcessorRegistry.findValidTemplatePath(TemplateProcessorRegistry.java:252)
org.springframework.extensions.webscripts.AbstractWebScript.getScriptStatusTemplate(AbstractWebScript.java:1220)
org.springframework.extensions.webscripts.AbstractWebScript.getStatusTemplate(AbstractWebScript.java:1181)
org.springframework.extensions.webscripts.AbstractWebScript$1.getStatusTemplate(AbstractWebScript.java:1147)
org.springframework.extensions.webscripts.WebScriptException.getStatusTemplate(WebScriptException.java:139)
org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:250)
org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
Someone could please help me to solve this issue?
Many thank's in advice for your help!
09-10-2021 03:54 PM
@shockwave wrote:
hello everyone,
i'm using alfresco community edition 5.0d in multi-tenant setup.
yesterday one of the tenants stopped working (others works fine).
i can authenticate, but when i try to access "Alfresco Share" or "Alfresco Administration console" i get this error:HTTP Status 500 - 08100098 Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:extensionwebscripts must exist; it was not found
type Exception reportmessage 08100098 Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:extensionwebscripts must exist; it was not found
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.springframework.extensions.webscripts.WebScriptException: 08100098 Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:extensionwebscripts must exist; it was not found
org.alfresco.repo.web.scripts.RepoStore$1$1.execute(RepoStore.java:235)
org.alfresco.repo.web.scripts.RepoStore$1$1.execute(RepoStore.java:212)
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
org.alfresco.repo.web.scripts.RepoStore$1.doWork(RepoStore.java:211)
org.alfresco.repo.web.scripts.RepoStore$1.doWork(RepoStore.java:208)
org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
org.alfresco.repo.web.scripts.RepoStore.getBaseNodeRef(RepoStore.java:207)
org.alfresco.repo.web.scripts.RepoStore.findNodeRef(RepoStore.java:318)
org.alfresco.repo.web.scripts.RepoStore$RepoTemplateLoader$1$1.execute(RepoStore.java:843)
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:345)
org.alfresco.repo.web.scripts.RepoStore$RepoTemplateLoader$1.doWork(RepoStore.java:838)
org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
org.alfresco.repo.web.scripts.RepoStore$RepoTemplateLoader.findTemplateSource(RepoStore.java:834)
freemarker.cache.MultiTemplateLoader.findTemplateSource(MultiTemplateLoader.java:113)
freemarker.cache.TemplateCache.acquireTemplateSource(TemplateCache.java:628)
freemarker.cache.TemplateCache.findTemplateSource(TemplateCache.java:618)
freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:260)
freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:205)
freemarker.template.Configuration.getTemplate(Configuration.java:740)
freemarker.template.Configuration.getTemplate(Configuration.java:665)
org.alfresco.repo.web.scripts.RepositoryTemplateProcessor.hasTemplate(RepositoryTemplateProcessor.java:145)
org.springframework.extensions.webscripts.TemplateProcessorRegistry.findValidTemplatePath(TemplateProcessorRegistry.java:252)
org.springframework.extensions.webscripts.AbstractWebScript.getScriptStatusTemplate(AbstractWebScript.java:1220)
org.springframework.extensions.webscripts.AbstractWebScript.getStatusTemplate(AbstractWebScript.java:1181)
org.springframework.extensions.webscripts.AbstractWebScript$1.getStatusTemplate(AbstractWebScript.java:1147)
org.springframework.extensions.webscripts.WebScriptException.getStatusTemplate(WebScriptException.java:139)
org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:250)
org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)Someone could please help me to solve this issue?
Many thank's in advice for your help!
There are two repository folders where repo js webscripts can be deployed.
1- /Company Home/Data Dictionary/Web Scripts Extensions
2- /Company Home/Data Dictionary/Web Scripts
The error is complaining about the "workspace://SpacesStore/app:company_home/app:dictionary/cm:extensionwebscripts must exist; it was not found" that is '/Company Home/Data Dictionary/Web Scripts Extensions' seems to be missing or not readable
Can you check if the above folders still exists and accessible for all tanents ?
09-13-2021 05:58 AM
not sure how to check if folders exists since i cannot log in to the tenant and in tha admin console...
other tenants works fine and showsworkspace://SpacesStore/app:company_home/app:dictionary/cm:extensionwebscripts node.
could you please help me to point the right direction ti check if folder exists?
i have manually created
/home/alfresco/alfresco-5.0.d/tomcat/shared/classes/alfresco/extension/templates
/home/alfresco/alfresco-5.0.d/tomcat/shared/classes/alfrescoalfresco/templates/webscripts
because not existing, but nothing changed.
09-13-2021 07:11 AM
just a quick update.
browsing tenant repository in webdav i can see that "data dictionary" folder is empty.
i've tried to recreate the directory subtree copying directory structore of another tenat, but the problem still exists.
also in the log i can still see the same error.
(yes alfresco service has been restarted)
09-13-2021 10:22 AM
The directory needs to be in repository not on installation folders. Like you have mentioned "browsing tenant repository in webdav i can see that "data dictionary" folder is empty." --> If you have a most recent backup, try restoring it. Creating the directory via webdav may not be working as expected (my self never tried restoring through webdav).
09-13-2021 10:30 AM
i have a full incremental backup, but:
1) don't know if is "old" enought.
2) i can't do full alfresco restore as it will owerwrite also other tenants data
maybe there is a way to copy "data dictionary" from another tenant or from a fresh one? (as said webdav way does not work)
Explore our Alfresco products with the links below. Use labels to filter content by product module.