v7.1.0
- Update Information
- Upgrade Instruction
What's New
- Support Enable HDP (Hyper Data Platform)
Issues Fixing
- [Worksheet] Switching between Gantt views causes page layout/style issues.
- [Worksheet] Ctrl+S does not work for saving rich text fields within sub-tables.
- [Worksheet] After opening a sub-table and entering partial data, closing the sub-table and then editing the main table clears the previously entered values.
- [Worksheet] Percentage fields in sub-tables cannot be filled in correctly on H5.
Standalone Mode
-
Due to the Image Naming Change, execute the following commands to complete the adjustments 💥 💥 💥
Default Path ReminderThe following commands are written based on the default paths. If you have customized the installation paths, please replace the paths accordingly before executing.
Default path for
docker-compose.yaml:/data/hap/script/Default path for
service.sh:/usr/local/MDPrivateDeployment/Default path for
run.sh:/data/hap/script/-
Replace the image name in
docker-compose.yaml:sed -i -e 's/hap-community/hap/g' -e 's/hap-//g' /data/hap/script/docker-compose.yaml -
Replace the service name in
service.sh:sed -i -e 's/Community/Hap/g' -e 's/community/hap/g' -e 's/hap-//g' /usr/local/MDPrivateDeployment/service.sh -
Replace the image name in
run.sh:if [ -f /data/hap/script/run.sh ]; then
sed -i -e 's/hap-community/hap/g' /data/hap/script/run.sh
fi -
Re tag the image and create an image without the prefix
hap-for img in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep '^nocoly/hap-'); do
new=$(echo "$img" | sed 's#nocoly/hap-#nocoly/#')
echo "tag $img -> $new"
docker tag "$img" "$new"
done
-
-
Upgrade microservices to version
7.1.0. Refer to this -
After the upgrade is completed and verified to be correct, the old tags can be removed
for img in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep '^nocoly/hap-'); do
echo "remove $img"
docker rmi "$img"
done
Cluster Mode
-
Backup data storage related servers.
-
Due to the Image Naming Change, please execute the following commands on the control node to complete the adjustment 💥 💥 💥
Default Path NoticeThe following commands are written based on the default path. If you have customized the installation path, please replace the path accordingly before executing.
Default file location path:
/data/hap/script/kubernetes-
Replace all image names in the YAML files:
sed -i -e 's/hap-community/hap/g' -e 's/hap-//g' /data/hap/script/kubernetes/*.yaml -
Replace the service names in
update.sh:sed -i -e 's/Community/Hap/g' -e 's/community/hap/g' -e 's/hap-//g' /data/hap/script/kubernetes/update.sh -
Re tag the image(all work nodes need to execute), create an image without the prefix
hap-for img in $(ctr -n k8s.io images list -q | grep '^nocoly/hap-'); do
new=$(echo "$img" | sed 's#nocoly/hap-#nocoly/#')
echo "tag $img -> $new"
ctr -n k8s.io images tag "$img" "$new"
done
-
-
Upgrade microservices to version
7.1.0. Refer to this -
After the upgrade is completed and verified to be correct, the old tags can be removed
for img in $(ctr -n k8s.io images list -q | grep '^nocoly/hap-'); do
echo "remove $img"
ctr -n k8s.io images rm "$img"
done