While upgrading ZENworks 2020 Update 1 and earlier versions to ZENworks 2020 Update 2, ZENworks might not function properly, after upgrade, if you have content-repo as a symbolic link to a folder that is outside the ZENworks folder structure.
For example, if the content is available in /var/my-external-content-repo and /var/opt/novell/zenworks/content-repo points to that directory, then it might not work.
Hence, ensure that you move the /var/my-external-content-repo to a different partition and mount it to /var/opt/novell/zenworks/content-repo.
You can store your data on a local mount or on a network share such as NFS, SMB, or CIFS and mount the share in your content-repo directory to access your data.
Let us assume that /dev/sdb is a partition on which you are planning have the content-repo, perform the following steps:
Stop all the ZENworks services.
Create a directory by running mkdir /tmp/temp-mount
Mount the partition: mount </dev/sdb> /tmp/temp-mount
Move the content-repo by using mv /var/my-external-content-repo/* /tmp/temp-mount
Unmount the directory by using umount /tmp/temp-mount
Remove the directory by running rmdir /tmp/temp-mount
Remove the symbolic link by running rm /var/opt/novell/zenworks/content-repo/
Create a directory by running the mkdir /var/opt/novell/zenworks/content-repo/ command
mount </dev/sdb> /var/opt/novell/zenworks/content-repo. Ensure that these steps are performed automatically by adding an entry in the /etc/fstab file.
Example: //localhost/zenshare /var/opt/novell/zenworks/content-repo cifs username=root,password=rootpass 0 0
To verify, run ls /var/opt/novell/zenworks/content-repo
If the command lists the content and images folder, then the content-repo is configured successfully.
Run permissions.sh
Start all the ZENworks services.