Upgrade to 6.5.0 failure under DNN 9.8.0 (DLL in use by another process)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- backend
Hướng nghiên cứu
Tái hiện quá trình nâng cấp từ DNN 9.6.1/Blog 6.4.1 lên DNN 9.8.0 bằng Blog_6.5.0_Install.zip, sau đó bắt đầu với các mục trong ngăn xếp trình cài đặt FileSystemUtils.CopyFile và FileInstaller.InstallFile. So sánh việc cài đặt gói Blog với bốn extension đã nâng cấp thành công. Hoàn tất khi module Blog nâng cấp mà không gặp lỗi DLL-in-use.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
On attempting to upgrade the Blog module from 6.4.1 to 6.5.0, under DNN 9.8.0, the upgrade failed. The upgrade was attempted 3 times, and the same error was seen on each try. The following error was seen in the installer log:
Info Starting Installation - Assembly
Info Assembly already registered - bin\DotNetNuke.Modules.Blog.dll
Info Creating backup of previous version - bin\DotNetNuke.Modules.Blog.dll
Failure ExceptionSystem.Exception: Error on 'C:\inetpub\wwwroot\DNN\Install\Temp\vmbhhtvg\bin/DotNetNuke.Modules.Blog.dll': See InnerException for details. ---> System.ComponentModel.Win32Exception: The process cannot access the file because it is being used by another process --- End of inner exception stack trace --- at SchwabenCode.QuickIO.Internal.InternalQuickIOCommon.NativeExceptionMapping(String path, Int32 errorCode) at DotNetNuke.Common.Utilities.FileSystemUtils.CopyFile(String sourceFileName, String destFileName) at DotNetNuke.Common.Utilities.Internal.RetryableAction.TryIt() at DotNetNuke.Services.Installer.Util.CopyFile(InstallFile installFile, String basePath, Logger log) at DotNetNuke.Services.Installer.Installers.FileInstaller.InstallFile(InstallFile insFile)
Failure Installation Failed - Assembly
This error seems to be specific to the Blog module, because straight after the 3 failed attempts, I successfully upgraded 4 other extensions.
Software Versions
- DNN: 09.08.00
- Blog Module: 06.05.00
To Reproduce
The steps I took were:
- Starting with a DNN 9.6.1 installation running Blog 6.4.1, I upgraded to the new DNN 9.8.0 successfully
- Go to Settings > Extensions > Install Extension
- Drag and drop the Blog_6.5.0_Install.zip package onto the target panel
- Step through the install wizard
- On the PACKAGE INSTALLATION REPORT page, the error is shown
Expected behavior
The upgrade should install correctly.
- Ngôn ngữ chính
- JavaScript
- Star
- 39
- Fork
- 41
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DNNCommunity/DNN.Blog
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
DNNCommunity/DNN.Blog#223 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
DNNCommunity/DNN.Blog#222 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
DNNCommunity/DNN.Blog#208 · 2 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
DNNCommunity/DNN.Blog#207 ·
-
Blog Comment Management ViewĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
DNNCommunity/DNN.Blog#205 ·
Tất cả issue của DNNCommunity/DNN.Blog
Issue tương tự
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
opensearch-project/security-dashboards-plugin#2543 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[quality] refresh-radar-reports.yml runs on ubuntu-latest while every other job pins ubuntu-24.04Đang mởagent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
godotengine/godot-website#1432 ·
-
Add: Mooz RetroĐang mởchannels:add check:passed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày