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

插件功能无法使用,无法在线安装插件 #191

Open
tianya520 opened this issue Jan 5, 2022 · 3 comments
Open

插件功能无法使用,无法在线安装插件 #191

tianya520 opened this issue Jan 5, 2022 · 3 comments

Comments

@tianya520
Copy link

这个后台的插件功能一直用不了啊,求大佬指教,在window下面安装在线插件提示系统不支持在线安装,我想在linux上面用docker部署,安装好之后插件栏目一直报错File not found at path: plugin/dsshop.json,我在public目录下和网站根目录下都建好了这个目录和文件依然报错,这个目录到底该放到什么地方呢?

@dspurl
Copy link
Owner

dspurl commented Jan 5, 2022

你的项目目录结构截图发来,一般是目录结构有问题,正确的话,nginx配置后可以正常访问项目根目录,正常目录结构如/var/www/dsshop,下面包含api、admin、plugin等

@tianya520
Copy link
Author

直接使用的docker-compose up -d安装
1641353097(1)

1641353187(1)

安装成功之后docker中项目根目录为/var/www/html,里面只有api目录中的所有文件目录结构,没有/var/www/dsshop,截图中的plugin是我自己建的,没用
1641353289(1)

@dspurl
Copy link
Owner

dspurl commented Jan 5, 2022

开发环境用laradock,不要用提供的docker搭建,提供的docker搭建的项目不适用插件,该docker为其他开发者基于较早版本贡献的

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

2 participants