用的是 mysql ,从 v2 的版本升到 v3 ,再升到了 v4
系统设置—组件设置—基本设置—组件注册 开启了没有。开了还注册失败去jumpserver宿主机删除/data/jumpserver/chen/data/keys/下的.accesskey文件然后docker restart jms_chen试试
我进不了控制台的web界面,打不开页面,不报错,进度条一直加载,页面是空白页面,所以看不到有没有开启。可以从日志或者什么地方看吗,或者有sql语句可以开启吗
我的主要问题是进不了控制台
日志在宿主机/data/jumpserver/core/data/logs/jumpserver.log
2024-07-19 09:06:11 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:06:11 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:06:15 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:20 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:25 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:30 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:32 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:06:32 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:06:35 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:40 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:45 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:50 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:53 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:06:53 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:06:55 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:00 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:05 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:10 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:15 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:07:15 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:07:16 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:21 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:26 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:31 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:35 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:07:35 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:07:36 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:41 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:46 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:51 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:56 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:56 [INFO] Try using auth backend: <rbac.backends.RBACBackend object at 0x7fe4e903ad50>
2024-07-19 09:07:56 [INFO] Try using auth backend: <authentication.backends.base.JMSModelBackend object at 0x7fe4eb67dad0>
2024-07-19 09:07:57 [INFO] Try using auth backend: <authentication.backends.pubkey.PublicKeyAuthBackend object at 0x7fe4cf733c90>
2024-07-19 09:07:57 [INFO] Try using auth backend: <authentication.backends.sso.WeComAuthentication object at 0x7fe4cf767310>
2024-07-19 09:07:57 [INFO] Try using auth backend: <authentication.backends.sso.AuthorizationTokenAuthentication object at 0x7fe4cf731290>
2024-07-19 09:07:57 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:08:01 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:06 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:11 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:16 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:17 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:08:17 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:08:21 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:26 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:31 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:36 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:38 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:08:38 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:08:41 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/这个是jumpserver.log的日志 ,可以看出来什么问题么
进入jumpserver数据库。执行sql语句
USE jumpserver;
select * from settings_setting where name like ‘SECURITY_SERVICE_ACCOUNT_REGISTRATION%’;
update settings_setting set value=‘true’ where name=‘SECURITY_SERVICE_ACCOUNT_REGISTRATION’;
改完重启jumpserver
随便看个组件的日志看一下还报registration disabled吗
你在开源群吗
我在这个群 ,名字是 老杨的杨
看上去有两个问题,一个是ip被限制了无法访问,一个是chen组件出了问题
开源群是啥呀,想添加一下