Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wsl 2 error #1006

Open
nsk opened this issue Mar 1, 2025 · 8 comments
Open

Wsl 2 error #1006

nsk opened this issue Mar 1, 2025 · 8 comments

Comments

@nsk
Copy link

nsk commented Mar 1, 2025

Please enter the drive letter (e.g., C):C

2025-03-01T01:32:10.190+0100 [A] Azote: GetDiskPartition success (26.0457377s)
2025-03-01T01:32:10.191+0100 [Module] MoveDistro
2025-03-01T01:32:10.191+0100 distro store path: C:.olares\distro, user: AZOTE\ness_
2025-03-01T01:32:10.209+0100 Azote exit status 1332
2025-03-01T01:32:10.209+0100 [A] Azote: MoveDistro failed (18.3144ms)
2025-03-01T01:32:10.210+0100 [Job] [Install the System] execute failed
2025/03/01 01:32:10 error: Module[MoveDistro] exec failed:
failed - Azote: [A] Azote: MoveDistro exec failed after 1 retires: exit status 1332

@aby913
Copy link
Contributor

aby913 commented Mar 1, 2025

We're sorry that this issue has affected your experience. It appears to be a Windows permissions problem. It appears to be a Windows permissions issue, which may be caused by these reasons:

  • We are using "Users", which might cause errors on non-English operating systems
  • The account name format is incorrect
  • Insufficient system permissions

could you please let me know which language your Windows system is using?

or you can try the following commands in PowerShell:

takeown.exe /f C:\.olares

icacls.exe C:\.olares /grant Users:F

@nsk
Copy link
Author

nsk commented Mar 1, 2025

hi ,my system language is french , thanks for help

@nsk
Copy link
Author

nsk commented Mar 1, 2025

takeown.exe /f C:.olares
Opération réussie : le fichier (ou dossier) : "C:.olares" appartient désormais à l’utilisateur "AZOTE\ness_".

C:\Users\ness_\Downloads>icacls.exe C:.olares /grant Users:F
Users: Le mappage entre les noms de compte et les ID de sécurité n’a pas été effectué.
0 fichiers correctement traités ; échec du traitement de 1 fichiers

@aby913
Copy link
Contributor

aby913 commented Mar 2, 2025

could you please try this command and then share the command output:

icacls.exe C:.olares /grant *S-1-5-32-545:F

@nsk
Copy link
Author

nsk commented Mar 2, 2025

icacls.exe C:.olares /grant *S-1-5-32-545:F
C:.olares: Le fichier spécifié est introuvable.
0 fichiers correctement traités ; échec du traitement de 1 fichiers

I tried to put the script at the root of C:, still the same error at the output :

current: AZOTE\ness_
2025-03-02T02:53:13.915+0100 [INFO] Start to Install Olares ...
2025-03-02T02:53:13.915+0100 [Job] [Install the System] start ... 2025-03-02T02:53:13.915+0100 [Module] InstallWSL 2025-03-02T02:53:15.402+0100 [A] Azote: DownloadAppxPackage success (1.4868631s) 2025-03-02T02:53:17.189+0100 [A] Azote: InstallAppxPackage success (1.7872123s)
2025-03-02T02:53:17.470+0100 [A] Azote: DownloadWslInstallPackage success (280.7237ms)
2025-03-02T02:53:17.510+0100 WSL Version: 2.4.11.0
2025-03-02T02:53:17.511+0100 [A] Azote: UpdateWSL success (40.4555ms)
2025-03-02T02:53:17.511+0100 [Module] InstallWSLUbuntuDistro
2025-03-02T02:53:17.511+0100 install ubuntu distro...
2025-03-02T02:53:26.155+0100 Install WSL Ubuntu Distro Ubuntu successd

2025-03-02T02:53:26.155+0100 [A] Azote: InstallWSLDistro success (8.6443736s)
2025-03-02T02:53:26.155+0100 [Module] GetDiskPartition

Installing Olares will create a WSL Ubuntu Distro and occupy at least 80 GB of disk space.
Please select the drive where you want to install it.
Available drives and free space:
C:\ Free Disk: 290.30 GB
D:\ Free Disk: 503.41 GB
E:\ Free Disk: 19.07 GB

Please enter the drive letter (e.g., C): C

2025-03-02T02:53:43.829+0100 [A] Azote: GetDiskPartition success (17.6735111s)
2025-03-02T02:53:43.830+0100 [Module] MoveDistro
2025-03-02T02:53:43.834+0100 distro store path: C:.olares\distro, user: AZOTE\ness_
2025-03-02T02:53:43.896+0100 Azote exit status 1332
2025-03-02T02:53:43.897+0100 [A] Azote: MoveDistro failed (66.6946ms)
2025-03-02T02:53:43.898+0100 [Job] [Install the System] execute failed
2025/03/02 02:53:43 error: Module[MoveDistro] exec failed:
failed - Azote: [A] Azote: MoveDistro exec failed after 1 retires: exit status 1332

@nsk
Copy link
Author

nsk commented Mar 2, 2025

C:>icacls.exe C:.olares /grant *S-1-5-32-545:F
fichier traité : C:.olares
1 fichiers correctement traités ; échec du traitement de 0 fichiers

the problem would not be that yes the script is executed in admin but then: olares-cli.exe is not executed in administrator mode ?

@aby913
Copy link
Contributor

aby913 commented Mar 2, 2025

olares-cli.exe is also running with administrator privileges, but during the installation process, an error 1332 occurred when executing icacls.exe.

icacls.exe C:.olares /grant Users:(OI)(CI)F

The 'Users' group was not correctly recognized in the French system.

Based on the command you tried, we've identified the issue:

C:>icacls.exe C:.olares /grant *S-1-5-32-545:F
fichier traité : C:.olares
1 fichiers correctement traités ; échec du traitement de 0 fichiers

I sincerely apologize for the installation issues this caused. We will fix this bug as soon as possible. Thanks again for your help in tracking down this issue!

@nsk
Copy link
Author

nsk commented Mar 2, 2025

thank you to you , I will install the docker version while waiting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants