Comments (19)
- 确认mongodb是否安装成功?可以用命令行连接试试看,如:mongo 127.0.0.1/dbname -uxxx -pxxx
- 是否安装了php-mongodb的扩展,例如ubuntu: apt-get install php-mongodb
from actionview.
mongo和php-mongo都装好了,web能打开,能登录,但是好多session,api都提示404.
from actionview.
database.php文件也已经修改了相关的用户名和密码,dbnamem
from actionview.
- 是否执行config.sh脚本?
- Apache的配置文件是否添加如下代码:
<Directory /var/www/actionview/public>
Options FollowSymLinks
Order deny,allow
AllowOverride All
目的是允许public下的.htaccess配置有效
from actionview.
Hi lxerxa:
谢谢支持,刚刚检查了下:
1.是没有修改.env下的数据库用户名密码
2.没有在httpd增加htaccess配置
添加修改以后,重新执行了config.sh,现在无法登陆,提示用户名失败,是不是数据库配置的问题?
from actionview.
是否执行数据库初始化脚本,
mongorestore -h 127.0.0.1 -u username -p secret -d dbname --drop ./dbdata
from actionview.
这个执行了,在mongo里面能看到表,内容都有。
现在修改了以下内容:
1.在git clone后执行了composer
2.修改了config/database.php,修改了db的用户名密码;
3.修改了.env的db用户名密码;
4.测试了mongodb使用用户名密码能够认证db;
5.修改了/etc/httpd/confi/httpd.conf
from actionview.
[email protected] 使用这个账号登录的吗?注意有个点
from actionview.
是的,我再重新部署下试试看。
from actionview.
总感觉php没有执行链接到mongo的动作,检查了php-mongo有load进去的,在mongo的log里面没有任何链接成功或者失败的log。
from actionview.
谢谢整理!
2.修改了config/database.php,修改了db的用户名密码;
如果第3条配置了,第二条就不需要做任何修改的,因为先读取的是环境变量。
from actionview.
已经修改,还是提示密码错误,有什么方法可以判断php链接数据库是否正常,能看到哪里有问题么。
from actionview.
能看到接口的返回值是什么吗?第一个接口是/api/session那个接口。
from actionview.
服务器返回的是PHP文件,看起来是apache问题,我在看现在。
from actionview.
重新安装了apache和php相关组件,现在能登陆成功,但是会秒返回,session和recent会出现505,持续检查环境中。
from actionview.
Hi lxerxa:
我现在怀疑是我环境版本和您开发版本不一致导致,能否提供您这的apache,php,mongodb的具体版本呢,谢谢。
from actionview.
我觉的不是版本的问题,方便留下你的qq吗?
from actionview.
qq:376739304
from actionview.
整理了ubuntu安装步骤
ubuntun-Installation
from actionview.
Related Issues (20)
- 外部用户功能支持私有化部署的gitlab吗
- 新功能建议:外部用户功能建议支持一次提交,关联多个问题 HOT 1
- 外部用户功能,增加动作id后问题状态未发生变更 HOT 2
- 新功能建议:问题增加影响版本 HOT 1
- 新功能建议:有没有可能把一些自定义字段加个必填项. HOT 1
- 文件访问不了 file does not exist HOT 5
- 新功能建议:增加系统标签功能,系统标签可被所有项目使用(项目标签仅项目内部使用)
- 新功能建议:增加用例管理功能,同时用例应支持与版本关联,可记录用例执行结果
- 想问下LDAP同步要怎么设置,测试通过但无法获取到用户 HOT 2
- 部署好项目后,登录无反应,显示seesion 500是怎么回事 HOT 1
- 文件上传失败:超过1G大小文件,直接报错,无法上传,页面不发起后端请求
- 请问怎么部署在K8S上?尝试写了下yaml配置文件无法启动
- 请问测试邮件可以发送,创建问题邮件不发送是什么情况
- 【Occasional problem】The image in version 1.13.1 cannot be opened after being uploaded, and the video also has the same problem HOT 1
- Demo怎么进不去了
- 请教各位大佬windows如何部署actionView
- 请教:actionview使用了mysql吗?如果有,初始账密哪里可以查看?
- webhook,最新版本是否有更新项目成员的触发事件?我目前用的是1.13.1。
- 标签搜索希望能支持搜索空的情况
- 群辉NAS系统上使用Docker部署后,替换邮件模板位置找不到。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actionview.