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

Undistributed menu access the account, please contact the administrator to add it! #14

Open
Mrlie opened this issue Apr 3, 2023 · 7 comments

Comments

@Mrlie
Copy link

Mrlie commented Apr 3, 2023

26d45b867e30c23e1ef0ef8237eb5e2

登录提示这种情况怎么解决
@aslcmowmaejfo
Copy link

我是点登录出现operation failed.

@JawerZ
Copy link
Contributor

JawerZ commented Apr 10, 2023

26d45b867e30c23e1ef0ef8237eb5e2

登录提示这种情况怎么解决

可以在登录界面注册一个新的租户账号

@JawerZ
Copy link
Contributor

JawerZ commented Apr 10, 2023

我是点登录出现operation failed.

使用的最新仓库吗,需要检查一下数据库初始化和数据库连接是否配置正确

@aslcmowmaejfo
Copy link

是按最新仓库教程做的,虚拟机环境,使用ubuntu 22和linux mint 21 ,安装过程没有报错,我看教程不知哪一步需要手工连接数据库?

@JawerZ
Copy link
Contributor

JawerZ commented Apr 12, 2023

是按最新仓库教程做的,虚拟机环境,使用ubuntu 22和linux mint 21 ,安装过程没有报错,我看教程不知哪一步需要手工连接数据库?
如果没有修改配置文件的话 可以看看 /ModernWMS/backend/ 下是否有wms.db 同时也可以看一下Log文件夹中日志具体的异常原因

@aslcmowmaejfo
Copy link

我实在找不到哪里有问题,最后老老实实用ubuntu20.04虚拟机安装,中间遇到提示FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed,需要输入命令export NODE_OPTIONS=--max_old_space_size=8096再执行。
另外部署教程没特别提示,建议和视频教程一样直接用root帐号部署,因为命令中间有些缺了sudo,直接复制会无法执行,又由于命令是一次执行多段,容易出现混乱。
感谢抽空回复和开源软件,希望对后来者有用。

@balikpinoy
Copy link

For the SQL Server installation, the sql script is missing necessary inserts to rolemenu table. I fixed it by running this

-- insert all menu items for role_id 1
insert into rolemenu (userrole_id, menu_id,authority,create_time, last_update_time,tenant_id)
select 1, id, 1, getdate(), getdate(), 1 from menu order by id

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