mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
fix
This commit is contained in:
parent
9f02f0144f
commit
eadd3c277a
15 changed files with 30 additions and 23 deletions
|
@ -1 +1,2 @@
|
||||||
1. Fix install error: cockpit port replace
|
1. Fix install error: Cockpit override files
|
||||||
|
2. Fix install: Docker error then exit 1
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
{
|
{
|
||||||
"menu": null,
|
|
||||||
"tools": null
|
"tools": null
|
||||||
}
|
}
|
|
@ -1,4 +1,3 @@
|
||||||
{
|
{
|
||||||
"menu": null,
|
|
||||||
"tools": null
|
"tools": null
|
||||||
}
|
}
|
|
@ -1,4 +1,3 @@
|
||||||
{
|
{
|
||||||
"menu": null,
|
"menu": null
|
||||||
"tools": null
|
|
||||||
}
|
}
|
|
@ -1,4 +1,3 @@
|
||||||
{
|
{
|
||||||
"menu": null,
|
|
||||||
"tools": null
|
"tools": null
|
||||||
}
|
}
|
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
"menu": null,
|
|
||||||
"tools": null
|
|
||||||
}
|
|
|
@ -1,4 +1,3 @@
|
||||||
{
|
{
|
||||||
"menu": null,
|
|
||||||
"tools": null
|
"tools": null
|
||||||
}
|
}
|
|
@ -1,4 +1,3 @@
|
||||||
{
|
{
|
||||||
"menu": null,
|
"menu": null
|
||||||
"tools": null
|
|
||||||
}
|
}
|
|
@ -1,4 +1,3 @@
|
||||||
{
|
{
|
||||||
"menu": null,
|
|
||||||
"tools": null
|
"tools": null
|
||||||
}
|
}
|
|
@ -1,4 +1,3 @@
|
||||||
{
|
{
|
||||||
"menu": null,
|
|
||||||
"tools": null
|
"tools": null
|
||||||
}
|
}
|
|
@ -1,4 +1,3 @@
|
||||||
{
|
{
|
||||||
"menu": null,
|
|
||||||
"tools": null
|
"tools": null
|
||||||
}
|
}
|
12
docs/user.md
12
docs/user.md
|
@ -10,12 +10,18 @@ usermod -aG wheel username
|
||||||
usermod -aG sudo username
|
usermod -aG sudo username
|
||||||
|
|
||||||
# sudo not need to input password
|
# sudo not need to input password
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Can not login when I reinstall my Instance?
|
#### Can not login with correct credential?
|
||||||
|
|
||||||
Need to clear all cookie at you browser
|
Many reason may make you login failed with the correct credential:
|
||||||
|
|
||||||
|
- Cookie at you browser if IP change, need to clear cookie
|
||||||
|
- *.override.json is not correct
|
||||||
|
- TLS certificate
|
||||||
|
- User not allowed login, need to modify ssh_config file
|
||||||
|
|
||||||
|
More details, you can get it from `sudo grep cockpit /var/log/messages`
|
||||||
|
|
||||||
#### How to modify Websoft9 port?
|
#### How to modify Websoft9 port?
|
||||||
|
|
||||||
|
|
|
@ -345,8 +345,22 @@ install_tools
|
||||||
download_source
|
download_source
|
||||||
|
|
||||||
bash $install_path/install/install_docker.sh
|
bash $install_path/install/install_docker.sh
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "install_docker failed with error $?. Exiting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
bash $install_path/install/install_cockpit.sh
|
bash $install_path/install/install_cockpit.sh
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "install_cockpit failed with error $?. Exiting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
bash $install_path/install/install_plugins.sh
|
bash $install_path/install/install_plugins.sh
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "install_plugins failed with error $?. Exiting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
install_backends
|
install_backends
|
||||||
install_systemd
|
install_systemd
|
||||||
|
|
|
@ -24,8 +24,6 @@ export PATH
|
||||||
#
|
#
|
||||||
# $ sudo sh install_docker.sh
|
# $ sudo sh install_docker.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
docker_packages="docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin"
|
docker_packages="docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin"
|
||||||
echo_prefix_docker=$'\n[Docker] - '
|
echo_prefix_docker=$'\n[Docker] - '
|
||||||
|
|
||||||
|
@ -98,7 +96,8 @@ else
|
||||||
export -f Install_Docker
|
export -f Install_Docker
|
||||||
timeout 300 bash -c Install_Docker
|
timeout 300 bash -c Install_Docker
|
||||||
if [ $? -eq 124 ]; then
|
if [ $? -eq 124 ]; then
|
||||||
echo "Install Docker timed out, Docker packages maybe can't download"
|
echo "Install Docker timed out, Docker packages maybe can't download"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "0.8.26-rc7",
|
"version": "0.8.26-rc8",
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"portainer": "0.0.6",
|
"portainer": "0.0.6",
|
||||||
"nginx": "0.0.5",
|
"nginx": "0.0.5",
|
||||||
|
|
Loading…
Reference in a new issue