Giter Club home page Giter Club logo

Comments (12)

Qiqia avatar Qiqia commented on June 29, 2024 1

威联通上部署成功,网页可以打开,i茅台账号配置了,但是能不能申购成功还有待测试,分享下注意点吧
1.java8要换成openjdk8,第一次build拉镜像在国内花了很久。
2.nginx的conf文件里面增加一条user root,至于为什么是root,暂时不太清楚。
3.compose.yml文件里面,mysql的配置里面增加 user: xxx:xxx 这里面对应uid和gid,不能用0:0,具体原因不太清楚,因为用0:0就报错没有权限。
4.compoes.yml文件里面,nginx的配置里面增加 user: 0:0 就是root启动,与第二点呼应。
5.在添加i茅台账号的时候,发短信失败,issus里面多说是网的问题,可以在点发送验证码的时候,同时在手机上发送一个验证码。然后用那个验证码登录,暂时不知道有什么隐患。
6.刚配置好,申购还没成功,可能还需要调教,回头再补充。

from campus-imaotai.

mrxxllcc avatar mrxxllcc commented on June 29, 2024

不会,威联通部署失败,求一键docker

from campus-imaotai.

Qiqia avatar Qiqia commented on June 29, 2024

我这边部署的时候是mysql部署失败,看日志是提示没有权限,暂时还不知道怎么解决

from campus-imaotai.

TangTree avatar TangTree commented on June 29, 2024

群晖研究很久没搞定,大佬传个docker镜像吧

from campus-imaotai.

Qiqia avatar Qiqia commented on June 29, 2024

群晖研究很久没搞定,大佬传个docker镜像吧

没有做镜像,你首先先通过tar命令进行解压,然后每个服务单独启动。查看日志。看看具体报什么错误。
群晖估计和威联通差不多,权限比较纠结。

from campus-imaotai.

fore3t avatar fore3t commented on June 29, 2024

大佬 有没有碰到领取耐力失败的

from campus-imaotai.

vip0917 avatar vip0917 commented on June 29, 2024

user也加了,但是mysql跟nginx马上就意外关闭,mysql日志如下:

2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784912Z 0 [ERROR] Aborting
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784911Z 0 [ERROR] Failed to initialize builtin plugins.
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784906Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784886Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.184174Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.184168Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.184132Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable

from campus-imaotai.

vip0917 avatar vip0917 commented on June 29, 2024

user也加了,但是mysql跟nginx马上就意外关闭,mysql日志如下:

2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784912Z 0 [ERROR] Aborting
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784911Z 0 [ERROR] Failed to initialize builtin plugins.
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784906Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784886Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.184174Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.184168Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.184132Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable

user修改为0:0没有错误提示了,但是打开主页,还是如下的提示
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sun Sep 03 21:48:00 CST 2023
There was an unexpected error (type=Not Found, status=404).

from campus-imaotai.

vip0917 avatar vip0917 commented on June 29, 2024

user也加了,但是mysql跟nginx马上就意外关闭,mysql日志如下:
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784912Z 0 [ERROR] Aborting
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784911Z 0 [ERROR] Failed to initialize builtin plugins.
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784906Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784886Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.184174Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.184168Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.184132Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable

user修改为0:0没有错误提示了,但是打开主页,还是如下的提示 Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sun Sep 03 21:48:00 CST 2023 There was an unexpected error (type=Not Found, status=404).

sql改成了自己账户id,组是管理组,yaml正常了,容器全部启动正常,但是打不开主页,报错,无能为力了
Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sun Sep 03 21:48:00 CST 2023 There was an unexpected error (type=Not Found, status=404).

from campus-imaotai.

zhao316678171 avatar zhao316678171 commented on June 29, 2024

群辉的一样跑不起来,根据威联通分享的经验,该改的都改了,特别mysql也改了当前组user: 1026:100,但是mysql这个容器跑不起来

from campus-imaotai.

Qiqia avatar Qiqia commented on June 29, 2024

user也加了,但是mysql跟nginx马上就意外关闭,mysql日志如下:
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784912Z 0 [ERROR] Aborting
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784911Z 0 [ERROR] Failed to initialize builtin plugins.
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784906Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.784886Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.184174Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.184168Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2023/09/03 05:56:16 stderr 2023-09-03T12:56:16.184132Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable

user修改为0:0没有错误提示了,但是打开主页,还是如下的提示 Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback.
Sun Sep 03 21:48:00 CST 2023 There was an unexpected error (type=Not Found, status=404).

sql改成了自己账户id,组是管理组,yaml正常了,容器全部启动正常,但是打不开主页,报错,无能为力了 Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sun Sep 03 21:48:00 CST 2023 There was an unexpected error (type=Not Found, status=404).

不知道你看的什么日志,你要去nginx的那个日志看看,其实这是一个前后端分离的项目,nginx负责前端,server那个负责后端,我们要访问的是nginx那个。

from campus-imaotai.

Qiqia avatar Qiqia commented on June 29, 2024

群辉的一样跑不起来,根据威联通分享的经验,该改的都改了,特别mysql也改了当前组user: 1026:100,但是mysql这个容器跑不起来

具体问题得看具体报错。

from campus-imaotai.

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.