Giter Club home page Giter Club logo

juno-install's People

Contributors

askuy avatar denisyin66 avatar kl7sn avatar mlboy avatar sysulq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

juno-install's Issues

docker-compose部署成功,初始化失败。

您好,我在尝试使用docker-compose部署时,docker-compose --build -d执行无误,下一步在初始化数据的时候,容器内部提示找不到docker_juno_init.sh这个脚本,麻烦有空时帮忙看下,感恩。

Windows10安装时会出现的问题,踩坑.

踩坑1:在Windows下git clone,git bash会自动转换文件换行符从LF到CRLF,这会导致运行shell脚本报错。
解决:bash安装时,关闭自动转换功能. 参考

踩坑2:不要使用git-bash进行安装,否则会出现:
image

数据库初始化失败

sh ./juno-install/shell/install_juno_database.sh

() _ _ __ () | ___ _ __
| | | | | '_ | | / _ \ '|
| | || | |) | | || / |
/ |_,_| .
/||__|_|
|
/ |_|

Welcome to jupiter, starting application ...

1621500235 INFO auto max procs {"mod": "proc", "procs": 1}
create table ok

[2021-05-20 16:43:56] [info] replacing callback gorm:delete from /Users/mex/cosmos/go/pkg/mod/github.com/douyu/[email protected]/pkg/store/gorm/orm.go:111

[2021-05-20 16:43:56] [info] replacing callback gorm:update from /Users/mex/cosmos/go/pkg/mod/github.com/douyu/[email protected]/pkg/store/gorm/orm.go:111

[2021-05-20 16:43:56] [info] replacing callback gorm:create from /Users/mex/cosmos/go/pkg/mod/github.com/douyu/[email protected]/pkg/store/gorm/orm.go:111

[2021-05-20 16:43:56] [info] replacing callback gorm:query from /Users/mex/cosmos/go/pkg/mod/github.com/douyu/[email protected]/pkg/store/gorm/orm.go:111

[2021-05-20 16:43:56] [info] replacing callback gorm:row_query from /Users/mex/cosmos/go/pkg/mod/github.com/douyu/[email protected]/pkg/store/gorm/orm.go:111

(/Users/mex/cosmos/go/pkg/mod/github.com/douyu/[email protected]/pkg/store/gorm/interceptor.go:120)
[2021-05-20 16:43:56] [0.81ms] SELECT * FROM access_token WHERE access_token.deleted_at IS NULL
[0 rows affected or returned ]

(/Users/mex/cosmos/go/pkg/mod/github.com/douyu/[email protected]/pkg/store/gorm/interceptor.go:120)
[2021-05-20 16:43:56] [0.64ms] SELECT * FROM system_config WHERE (name = 'test_platform') ORDER BY system_config.name ASC LIMIT 1
[0 rows affected or returned ]
1621500236 ERROR recover {"mod": "xgo", "err": "init local worker queue failed", "line": "/Users/mex/cosmos/go/pkg/mod/go.uber.org/[email protected]/zapcore/entry.go:230"}
panic: start up error: github.com/douyu/juno/internal/app/adminengine.(*Admin).initInvoker-fm:230: init local worker queue failed

数据库中只有juno库与表,但所有表都没有数据

docker-compose 报错, 我在多个机子上都试了

-admin_1 | [2020-07-22 02:33:43] [info] replacing callback gorm:row_query from /home/www/server/go/pkg/mod/github.com/douyu/[email protected]/pkg/store/gorm/orm.go:118
juno-admin_1 | 2020-07-22 02:33:43.8977573 +0000 UTC m=+0.057774201 write error: can't rename log file: rename / /.2020-07-22T02-33-43.897: device or resource busy
juno-admin_1 | time="2020-07-22T02:33:43Z" level=panic msg="Read Resource File Failed: open ./config/resource.yaml: no such file or directory"
juno-admin_1 | 1595385223 ERROR recover {"mod": "xgo", "errError": "json: unsupported type: func([]string)", "line": "/home/www/server/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:259"}
juno-admin_1 | 2020-07-22 02:33:43.903784 +0000 UTC m=+0.063792501 write error: can't rename log file: rename / /.2020-07-22T02-33-43.903: device or resource busy
juno-admin_1 | panic: start up error: github.com/douyu/juno/internal/app/adminengine.(*Admin).initInvoker-fm:259: &{Logger:0xc00019c000 Data:map[] Time:2020-07-22 02:33:43.9019219 +0000 UTC m=+0.061927001 Level:panic Caller: Message:Read Resource File Failed: open ./config/resource.yaml: no such file or directory Buffer: Context: err:}
juno-admin_1 |

docker部署指定到这一步失败

2021-10-11T12:07:28.804326Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2021-10-11T12:07:29.355717Z 0 [Warning] InnoDB: New log files created, LSN=45790
2021-10-11T12:07:29.397508Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2021-10-11T12:07:29.457655Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: ce7a2b07-2a8b-11ec-8ea4-0242ac110004.
2021-10-11T12:07:29.459735Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2021-10-11T12:07:29.460610Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
Created symlink from /etc/systemd/system/multi-user.target.wants/juno-mysql.service to /etc/systemd/system/juno-mysql.service.

./install.sh: line 54: .: init.sh: file not found

sh ./install.sh
Install Env [y/n]: y
Install MySQL [y/n]: n
Install Etcd [y/n]: y
Install Prometheus [y/n]: y
Install Golang [y/n]: n
Install Grafana Database [y/n]: y
Install Grafana [y/n]: y
Install Juno Database [y/n]: y
Install Juno Mock [y/n]: y
Install Juno Admin [y/n]: y
Install Juno Agent [y/n]: y
Install Pprof [y/n]: y
Start the installation [y/n]: y
./install.sh: line 54: .: init.sh: file not found

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.