1. When initializing the Yii2 advanced template, an error occurs: Error. Directory frontend/web/assets does not exist, as shown in Figure 1

2. Navigate to the directory inside the container: /mcloud/www/channel-pub-api/frontend/web, and confirm that the directory: /assets does not exist, as shown in Figure 2

3. Analyzing the source code confirms that the directory: /frontend/web/assets does exist, as shown in Figure 3

4. The root cause is ultimately identified: the directory: /mcloud/www/channel-pub-api/frontend/web has been mapped to the storage mounted by the container, rather than the source code directory: /frontend/web, which causes the error. Delete the mount on the storage, as shown in Figure 4

/webtv/wangjiedev/channel-pub-api/frontend/web:/mcloud/www/channel-pub-api/frontend/web
5. Upgrade again, and the initialization succeeds, as shown in Figure 5

