Installation Fails When Deploying an Intune App on macOS

1. Symptoms

After running the Intune app installer and agreeing to install, the installation stops partway through and shows the following message:

2. Troubleshooting

  1. Open Terminal and enter cat /var/log/install.log . This command shows the log output from the installation. According to the log, the failure is caused by the Installer app lacking permissions.
2023-08-25 19:57:45+08 Hostname Installer[10831]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=110 "提取软件包“CompanyPortal-Installer.pkg”的文件时出错。" UserInfo={NSUnderlyingError=0x600000ff4b40 {Error Domain=PKXARArchiveErrorDomain Code=101 "archive open failed" UserInfo={NSURL=file:///Users/username/Desktop/CompanyPortal-Installer.pkg, NSFileOwnerAccountID=501, NSFileHFSTypeCode=0, NSFileSystemFileNumber=71266333, NSFileExtensionHidden=false, NSFileSystemNumber=16777229, NSFileSize=24795960, NSFileGroupOwnerAccountID=20, NSFileHFSCreatorCode=0, NSFileOwnerAccountName=username, NSFilePosixPermissions=448, NSFileCreationDate=2022-09-28 11:02:21 +0000, NSFileType=NSFileTypeRegular, NSFileProtectionKey=NSFileProtectionCompleteUntilFirstUserAuthentication, NSFileGroupOwnerAccountName=staff, NSFileReferenceCount=1, NSFileModificationDate=2022-09-28 11:03:33 +0000, NSLocalizedDescription=archive open failed}}, NSURL=file:///Users/username/Desktop/CompanyPortal-Installer.pkg#Office16_all_autoupdate.pkg, PKInstallPackageIdentifier=com.microsoft.package.Microsoft_AutoUpdate.app, NSLocalizedDescription=提取软件包“CompanyPortal-Installer.pkg”的文件时出错。}
2023-08-25 19:57:45+08 Hostname installd[5240]: PackageKit: Removing client PKInstallDaemonClient pid=10831, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
2023-08-25 19:57:45+08 Hostname Installer[10831]: Install failed: 安装器遇到了一个错误,导致安装失败。请联系软件生产企业以获得帮助。
2023-08-25 19:57:45+08 Hostname Installer[10831]: IFDInstallController 1DB540 state = 8
2023-08-25 19:57:45+08 Hostname Installer[10831]: Displaying 'Install Failed' UI.
2023-08-25 19:57:45+08 Hostname Installer[10831]: 'Install Failed' UI displayed message:'安装器遇到了一个错误,导致安装失败。请联系软件生产企业以获得帮助。'.

3. Solution

Grant Installer Full Disk Access and the problem is solved.

How to Schedule Backups of GitLab Docker Data

GitLab is a very popular source code management platform, and many development teams use it to store and manage their projects. To protect important code and data, regular backups are essential. This tutorial shows you how to set up automatic scheduled backups of the data in GitLab Docker.

1. Create a GitLab Data Backup Script

Create a new shell script file to perform the GitLab data backup. Here is an example backup script:

Connecting the New Outlook to Tencent Exmail via Exchange

1. Background

When adding a Tencent Exmail (Tencent enterprise email) account to the latest version of Outlook on Windows, Outlook can't find the correct server address. It gets it wrong whether you use POP, IMAP, or Exchange.

2. Solution

1. Open Control Panel and search for Mail

2. Open Email Accounts

Troubleshooting Login Failures After Adding LDAP Users on Synology

1. Symptoms

After adding a user, the user can't log in and gets an "incorrect username or password" error.

2. Troubleshooting

1. Check whether the users added in the LDAP Server have been synced to Synology

1.1. Go to Control Panel > Domain/LDAP > LDAP Users

1.2. Check whether the added users are listed; if not, click the Sync button.