douyu / juno-install Goto Github PK
View Code? Open in Web Editor NEWjuno-install moved to https://github.com/douyu/jupiter-layout/tree/main/deployment
juno-install moved to https://github.com/douyu/jupiter-layout/tree/main/deployment
403 forbidden
难道不是admin和admin吗?
您好,我在尝试使用docker-compose部署时,docker-compose --build -d
执行无误,下一步在初始化数据的时候,容器内部提示找不到docker_juno_init.sh
这个脚本,麻烦有空时帮忙看下,感恩。
踩坑1:在Windows下git clone,git bash会自动转换文件换行符从LF到CRLF,这会导致运行shell脚本报错。
解决:bash安装时,关闭自动转换功能. 参考
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.
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库与表,但所有表都没有数据
ERROR: Service 'juno-admin' failed to build: The command '/bin/sh -c wget -P /root/juno http://jupiter.douyu.com/download/${JUNO_VERSION}/juno_data_${JUNO_VERSION}.tar.gz && cd /root/juno && tar xvf juno_data_${JUNO_VERSION}.tar.gz' returned a non-zero code: 5
https://jupiter.douyu.com/download/0.2.0/juno_data_0.2.0.tar.gz
这个文件是删除了吗?
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
-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 |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.