Cannot active Knowledge Base / Unauthorized

Hello,

I am perfectly happy running a zammad instance and wanted to extend to using the Knowledge Base. Unfortunately I cannot activate it. I followed the guide, went to the Admin Menu → Knowledge Base, selected a Language and clicked “Submit”.

But then I Receive “Not authorized (user)!”.

I double checked the following: I do have the admin Role. The Admin Role also has the admin permission-set activated.

I tried

  • different Users (ANother admin of course)
  • different Browser
  • Upgrading Zammad
  • Checked Roles and permissions

Any help would be appreciated, thank you very much :slight_smile:

Regards
Matthias

Infos:

  • Used Zammad version: “Dies ist die Zammad Version 4.0.x”
  • Used Zammad installation type: Debian Repo
  • Operating system: Debian 10
  • Browser + version: affects all tested browsers. Example: chromium Version 90.0.4430.93

Expected behavior:

  • Knowledge Base shoudl be created without errors, according to guide

Actual behavior:

  • An error message is thrown “Not authorized (user)!”

Steps to reproduce the behavior:

  • See above

Please ensure it’s neither a browser addon nor a caching issue.
Possibly running zammad run rails r "Cache.clear" may help solving the issue too.

If it persists ensure to be on latest Zammad 4.1 and see if the issue persists.
If it does a full traceback of the error from your log file will be needed.

1 Like

Hello MrGeneration,

than you for your reply.

  • Cache.clear could not solve the problem :frowning:
  • I currently am on Version 4.1.0-1626438650.b5b114ed.buster that is the most recent version I can reach via debian apt.
  • I’ve already tried with different browsers and computers. Currently I am testing it with a Chromium without any custom installed extensions
  • Please find the log below

Thank you very much in advance.

Regards
Matthias

I, [2021-07-16T16:21:30.818720 #30823-47156395179340]  INFO -- : Started POST "/api/v1/knowledge_bases/manage" for 192.168.90.1 at 2021-07-16 16:21:30 +0200
I, [2021-07-16T16:21:30.822191 #30823-47156395179340]  INFO -- : Processing by KnowledgeBase::ManageController#create as JSON
I, [2021-07-16T16:21:30.822235 #30823-47156395179340]  INFO -- :   Parameters: {"showTitle"=>[], "kb_locales_attributes"=>[{"system_locale_id"=>"72", "primary"=>true}], "iconset"=>"FontAwesome", "color_highlight"=>"#38ae6a", "color_header"
=>"#f9fafb", "homepage_layout"=>"grid", "category_layout"=>"grid"}
I, [2021-07-16T16:21:30.825651 #30823-47156395179340]  INFO -- : Not authorized (user)! (Exceptions::Forbidden)
/opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/delegate.rb:85:in `call'
/opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/delegate.rb:85:in `method_missing'
/opt/zammad/lib/user_context.rb:19:in `permissions!'
/opt/zammad/app/policies/controllers/application_controller_policy.rb:23:in `method_missing'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/pundit-2.0.1/lib/pundit.rb:221:in `public_send'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/pundit-2.0.1/lib/pundit.rb:221:in `authorize'
/opt/zammad/app/controllers/application_controller/authorizes.rb:8:in `authorize!'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:426:in `block in make_lambda'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:199:in `block in halting'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:513:in `block in invoke_before'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:513:in `each'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:513:in `invoke_before'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:107:in `block in run_callbacks'
/opt/zammad/app/controllers/application_controller/has_secure_content_security_policy_for_downloads.rb:18:in `block (4 levels) in <module:HasSecureContentSecurityPolicyForDownloads>'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/notifications.rb:180:in `subscribed'
/opt/zammad/app/controllers/application_controller/has_secure_content_security_policy_for_downloads.rb:17:in `block (3 levels) in <module:HasSecureContentSecurityPolicyForDownloads>'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/notifications.rb:180:in `subscribed'
/opt/zammad/app/controllers/application_controller/has_secure_content_security_policy_for_downloads.rb:16:in `block (2 levels) in <module:HasSecureContentSecurityPolicyForDownloads>'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:118:in `instance_exec'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/opt/zammad/app/controllers/application_controller/handles_transitions.rb:14:in `handle_transaction'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:136:in `run_callbacks'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/abstract_controller/callbacks.rb:41:in `process_action'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal/rescue.rb:22:in `process_action'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/notifications.rb:168:in `block in instrument'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/notifications.rb:168:in `instrument'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/railties/controller_runtime.rb:24:in `process_action'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/abstract_controller/base.rb:134:in `process'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionview-5.2.4.6/lib/action_view/rendering.rb:32:in `process'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal.rb:191:in `dispatch'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal.rb:252:in `dispatch'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/routing/route_set.rb:34:in `serve'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/journey/router.rb:52:in `block in serve'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/journey/router.rb:35:in `each'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/journey/router.rb:35:in `serve'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/routing/route_set.rb:840:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:420:in `call_app!'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-saml-1.10.1/lib/omniauth/strategies/saml.rb:89:in `other_phase'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:190:in `call!'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:169:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:192:in `call!'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:169:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:192:in `call!'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:169:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:192:in `call!'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:169:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:192:in `call!'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:169:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:192:in `call!'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:169:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:192:in `call!'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:169:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:192:in `call!'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:169:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:192:in `call!'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:169:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.1/lib/omniauth/builder.rb:45:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/cookies.rb:670:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:98:in `run_callbacks'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.6/lib/rails/rack/logger.rb:38:in `call_app'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.6/lib/rails/rack/logger.rb:26:in `block in call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/tagged_logging.rb:71:in `block in tagged'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/tagged_logging.rb:28:in `tagged'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/tagged_logging.rb:71:in `tagged'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.6/lib/rails/rack/logger.rb:26:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/request_id.rb:27:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/executor.rb:14:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/static.rb:127:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.6/lib/rails/engine.rb:524:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/puma-4.3.8/lib/puma/configuration.rb:228:in `call'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/puma-4.3.8/lib/puma/server.rb:718:in `handle_request'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/puma-4.3.8/lib/puma/server.rb:472:in `process_client'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/puma-4.3.8/lib/puma/server.rb:328:in `block in run'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/puma-4.3.8/lib/puma/thread_pool.rb:134:in `block in spawn_thread'
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
I, [2021-07-16T16:21:30.826069 #30823-47156395179340]  INFO -- : Completed 403 Forbidden in 4ms (Views: 0.1ms | ActiveRecord: 0.2ms)

Very odd. I can’t reproduce this at all.
Just to double tab:

  • you’re currently not using Knowledgebase (inactive & empty) ?

Please also provide the output of the following rails console command:
User.find_by(login: 'john.doe').permissions
Replace john.doe with your login.

Setting.get('kb_active') and Setting.get('kb_active_publicly') would interest me as well

Hello,

thank you for your help. Unfortunately, at the second command, ruby seems to limit the output (giving …), so I added another output using the “each” method.

Here are the requested console outputs:

irb(main):013:0> Setting.get('kb_active') and Setting.get('kb_active_publicly')
=> false
irb(main):016:0> User.find_by(login: 'DELETED BEFORE PASTING').permissions
=> 
#<ActiveRecord::Associations::CollectionProxy [
#<Permission id: 66, name: "user_preferences", note: "User Preferences", preferences: {}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2021-03-05 13:58:32", allow_signup: true>, 
#<Permission id: 88, name: "ticket.agent", note: "Access to Agent Tickets based on Group Access", preferences: {"plugin"=>["groups"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>, 
#<Permission id: 94, name: "chat.agent", note: "Access to %s", preferences: {"translations"=>["Chat"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>, 
#<Permission id: 98, name: "cti.agent", note: "Access to %s", preferences: {"translations"=>["CTI"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>, 
#<Permission id: 66, name: "user_preferences", note: "User Preferences", preferences: {}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2021-03-05 13:58:32", allow_signup: true>, 
#<Permission id: 2, name: "admin", note: "Admin Interface", preferences: {}, active: true, created_at: "2017-10-06 13:52:36", updated_at: "2017-10-06 13:52:36", allow_signup: false>, 
#<Permission id: 84, name: "report", note: "Report Interface", preferences: {}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2017-10-06 13:52:37", allow_signup: false>, 
#<Permission id: 88, name: "ticket.agent", note: "Access to Agent Tickets based on Group Access", preferences: {"plugin"=>["groups"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>, 
#<Permission id: 88, name: "ticket.agent", note: "Access to Agent Tickets based on Group Access", preferences: {"plugin"=>["groups"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>, 
#<Permission id: 88, name: "ticket.agent", note: "Access to Agent Tickets based on Group Access", preferences: {"plugin"=>["groups"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>,
...]>
irb(main):021:0> User.find_by(login: 'DELETED BEFORE PASTE').permissions.each()
=> 
#<Enumerator: [
#<Permission id: 66, name: "user_preferences", note: "User Preferences", preferences: {}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2021-03-05 13:58:32", allow_signup: true>, 
#<Permission id: 88, name: "ticket.agent", note: "Access to Agent Tickets based on Group Access", preferences: {"plugin"=>["groups"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>, 
#<Permission id: 94, name: "chat.agent", note: "Access to %s", preferences: {"translations"=>["Chat"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>, 
#<Permission id: 98, name: "cti.agent", note: "Access to %s", preferences: {"translations"=>["CTI"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>, 
#<Permission id: 66, name: "user_preferences", note: "User Preferences", preferences: {}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2021-03-05 13:58:32", allow_signup: true>, 
#<Permission id: 2, name: "admin", note: "Admin Interface", preferences: {}, active: true, created_at: "2017-10-06 13:52:36", updated_at: "2017-10-06 13:52:36", allow_signup: false>, 
#<Permission id: 84, name: "report", note: "Report Interface", preferences: {}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2017-10-06 13:52:37", allow_signup: false>, 
#<Permission id: 88, name: "ticket.agent", note: "Access to Agent Tickets based on Group Access", preferences: {"plugin"=>["groups"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>, 
#<Permission id: 88, name: "ticket.agent", note: "Access to Agent Tickets based on Group Access", preferences: {"plugin"=>["groups"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>, 
#<Permission id: 88, name: "ticket.agent", note: "Access to Agent Tickets based on Group Access", preferences: {"plugin"=>["groups"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>, 
#<Permission id: 88, name: "ticket.agent", note: "Access to Agent Tickets based on Group Access", preferences: {"plugin"=>["groups"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>, 
#<Permission id: 88, name: "ticket.agent", note: "Access to Agent Tickets based on Group Access", preferences: {"plugin"=>["groups"]}, active: true, created_at: "2017-10-06 13:52:37", updated_at: "2020-10-20 19:53:41", allow_signup: false>
]:each>

Regards
Matthias

That’s very odd.
I just spun up a Zammad 4.0 and can’t reproduce this so this might be a local issue if we’re unlucky.

What is the language you’re trying to use?
Locale ID 72 sounds quite high but that can be just me.

Also, please make sure that all migrations did run cleanly:
zammad run rake db:migrate

Possibly you may also be affected by Asset caching, clearing your browsers cache may help.

Another option might be evil Zammad caching as well, you could double tab with:
systemctl stop zammad; zammad run rails r 'Cache.clear'; systemctl start zammad

migration command ran successfull with no output. So nothing to do here.

Browser is not an issue. We tried different browsers, different machines and also tried to clear the caches.

We are using “Deutsch” so german language. I just tried with a different locale, just for testing, with the same result.

Clearing the cache using the suggested Cache.clear command unfortunately did not resolve the issue.

regards
Matthias

Honestly running out of ideas here without going the hacky dirty way.
Could you, just to double tab, create a new independent role tmp-adm with only admin being ticket in?
After that, please create a temporary local account with the tmp-adm role in place only.

Now log into that account in question and try to activate the knowledge base again.
If that happens to work I’d love to have a glimpse at all involved roles on the account you tried before.

Of course truncated with the role names. :slight_smile:
This could help reproducing it in case it’s still there in Zammad 4.1.

Hi,

sorry for my late reply.
I createded a new role and a new user, as suggested.

Started a fresh browser instance, logged in and unfortunately ended with the same outcome:
Not authorized (user)!

regards
Matthias

Did you happen to be hosted in hosted zammad.com environment in earlier days of your Zammad use?
If so, please contact zammad.com hosted support.

If you’re not, you or someone from your company did install Zammad fresh and did not receive a dump from somewhere?

I can’t think of reasons why this issue should appear during migrations to be honest.
Can you try to reproduce it with a similare configuration on hosted environment to double tab?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.