Giter VIP home page Giter VIP logo

Comments (20)

nickcdon avatar nickcdon commented on May 2, 2024

@m0re-work 麻烦可以看看是否接口请求存在5xx错误,或在server目录下再次执行./scripts/deploy.sh start

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

已经执行了,并不好用

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

报错 500 Internal Server Error

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

执行./scripts/deploy.sh start 后依旧存在500报错

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

image

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

image
请求 URL: http://10.0.8.12/server/credential/api/v3/login/user/
请求方法: GET
状态代码: 502 Bad Gateway
远程地址: 10.0.8.12:80
引用站点策略: strict-origin-when-cross-origin
Connection: keep-alive
Content-Length: 559
Content-Type: text/html; charset=utf-8
Date: Tue, 11 Jan 2022 10:09:42 GMT
Server: nginx/1.20.1
Accept: /
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
Authorization: CodeDog eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjQxODg3OTQ2LCJqdGkiOiIwYTM4ODE5ZmU3OGE0NmVlOTBjMWU3NWQ0MjhhNjdiMyIsInVzZXJfaWQiOiJDb2RlRG9nIn0.txlywAZ9okA4V9MMk23s6FXLnzJF09dvTVBZuYVSdiaN31cZaIdJNHXDuoY6Ml5VOPOPAM1g1LNwVDlqYQ2ZRXDuO8BnasIB6leO9lvY9d0dZ8YGZaTiLO7b7yWDQulwY8qboBoZPyBFEeHpd4t6EL64uxcTH1LG7Y8oMqPAMaM
Connection: keep-alive
Content-Type: application/json
Host: 10.0.8.12
Referer: http://10.0.8.12/teams
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.55

from codeanalysis.

nickcdon avatar nickcdon commented on May 2, 2024

@m0re-work 请问是docker部署的吗?

from codeanalysis.

nickcdon avatar nickcdon commented on May 2, 2024

麻烦再参考对应server部署文档重试看看
本地部署文档:https://github.com/Tencent/CodeAnalysis/blob/main/doc/deploy.md
docker部署文档:https://github.com/Tencent/CodeAnalysis/blob/main/doc/deploy_dc.md

from codeanalysis.

nickcdon avatar nickcdon commented on May 2, 2024

如果是docker部署,麻烦查看下是否已执行./compose_init.sh
image

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

就是参照本地部署文档部署的

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

image
希望这部分可以完善

from codeanalysis.

nickcdon avatar nickcdon commented on May 2, 2024

@m0re-work 请问目前是否还未解决?

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

未解决

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

[root@VM-8-12-centos CodeAnalysis-main]# ./compose_init.sh
Recreating codeanalysismain_redis_1 ...
Recreating codeanalysismain_mysql_1 ... done
wait dbEnter password:
.Enter password:

Building file-server
ERROR: Forbidden path outside the build context: ../../dockerconfs/Dockerfile-common ()
ERROR: No container found for file-server_1
Building login-server
ERROR: Forbidden path outside the build context: ../../dockerconfs/Dockerfile-common ()
ERROR: No container found for login-server_1
Building analysis-server
ERROR: Forbidden path outside the build context: ../../dockerconfs/Dockerfile-common ()
ERROR: No container found for analysis-server_1
Building main-server
ERROR: Forbidden path outside the build context: ../../dockerconfs/Dockerfile-common ()
ERROR: No container found for main-server_1
Building main-server
ERROR: Forbidden path outside the build context: ../../dockerconfs/Dockerfile-common ()

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

镜像:腾讯云Lighthouse CentOS7.6

from codeanalysis.

Lingghh avatar Lingghh commented on May 2, 2024

更新docker-compose,重新运行即可
这里需要将本地的docker-compose更新到2以上

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

安装docker-compose ing

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

重装了很多次依旧报错,对腾讯云服务器兼容性这么差吗

from codeanalysis.

Lingghh avatar Lingghh commented on May 2, 2024

重装了很多次依旧报错,对腾讯云服务器兼容性这么差吗

这里是指重装docker-compose多次依旧报错么?还是上述的报错原因么?
能否提供一下对应的docker、docker-compose的版本信息,我们本地复现一下看看

from codeanalysis.

m0renet avatar m0renet commented on May 2, 2024

官方文档部分缺少部分命令可能会出现相关问题,已经补充相关命令

from codeanalysis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.