Skip to content

[Bug] Setup fails on first launch (Can not aquire lock) #9140

Closed

Description

@IngwiePhoenix

Environment

Where are you using Unsloth?

  • Studio desktop application
  • Studio web UI (unsloth studio)
  • Unsloth CLI
  • Python package or notebook
  • Colab or Kaggle

Operating system and version:

GPU model(s) and accelerator backend: NVIDIA RTX 4090, CUD

Versions: Can't even get there... Installer file seems to be for 0.1.800

What happened?

Steps to reproduce:

  1. Download Unsloth Studio for Windows
  2. Run installer
  3. Launch

Expected behavior:

Initial setup to complete and application to start.

Actual behavior:

Diagnostics output

Unsloth Support Diagnostics
diag_report_schema=1
created_at_ms=1787023636352
app_version=0.1.800-beta
os=windows
arch=x86_64
debug_build=false
appimage=false
cpu_logical_count=24
studio_dir=<studio_home>
logs_dir=<studio_home>\logs
app_session_id=app-1787023035652-1
app_started_at_ms=1787023035652
disk_budget=5MiB x 3 segments x 5 groups x 4 kinds ~= 300MiB plus tauri.log/.1

== Trigger/UI state ==
status=install-error
error=Installation failed: Could not create the Studio install lock
current_step_index=-1
progress_detail=unavailable
flow=install
update_phase=unavailable
update_progress=unavailable
elevation_packages=
last_ui_log_tail:
Starting installation...
Using script: \?$HOME\AppData\Local\Unsloth Studio (Desktop)\install.ps1

🦥 Unsloth Studio Installer (Windows)
────────────────────────────────────────────────────

[ERROR] Could not create the Studio install lock: (0) : Die Quelldatei 'C:\Windows\TEMP\05po312x.0.cs' konnte nicht gefunden werden.

(1) : using System;

== Preflight/install state ==
source=live-state
recorded_at_ms=1787023038548
disposition=not_installed
reason=unavailable
port=unavailable
can_auto_repair=false
managed_bin=unavailable

== Flow summaries ==
install: source=live-state flow=install attempt_id=install-1787023108182-4 group_id=none child_type=none started_at_ms=1787023108182 ended_at_ms=1787023108889 exit_status=exit code: 1 intentional_stop=false last_error=Installation failed: Could not create the Studio install lock log_segments=<studio_home>\logs\install-install-1787023108182-4-s01.log
install.steps: omitted=0
unavailable
install.progress_details: omitted=0
unavailable
install.diag_markers: omitted=0
unavailable
install_history:
previous_install: source=live-state-history flow=install attempt_id=install-1787023044053-2 group_id=none child_type=none started_at_ms=1787023044053 ended_at_ms=1787023045268 exit_status=exit code: 1 intentional_stop=false last_error=Installation failed: Could not create the Studio install lock log_segments=<studio_home>\logs\install-install-1787023044053-2-s01.log
previous_install.steps: omitted=0
unavailable
previous_install.progress_details: omitted=0
unavailable
previous_install.diag_markers: omitted=0
unavailable
previous_install: source=live-state-history flow=install attempt_id=install-1787023059646-3 group_id=none child_type=none started_at_ms=1787023059646 ended_at_ms=1787023060353 exit_status=exit code: 1 intentional_stop=false last_error=Installation failed: Could not create the Studio install lock log_segments=<studio_home>\logs\install-install-1787023059646-3-s01.log
previous_install.steps: omitted=0
unavailable
previous_install.progress_details: omitted=0
unavailable
previous_install.diag_markers: omitted=0
unavailable
update: unavailable
repair_groups:
unavailable

== Backend/auth/watchdog ==
backend=unavailable backend_kind=unknown
auth_failure=unavailable
runtime_health:
unavailable: no known backend port

== Lightweight device signals ==
scope=setup/runtime signals, not full hardware inventory
os=windows arch=x86_64
installer_diag_markers:
unavailable

== Log tails ==
file=<studio_home>\tauri.log label=tauri.log source=local-app-log size_bytes=3660 mtime_ms=1787023108889 included_bytes=3660 included_lines=43 truncated=false

03:17:15 [INFO] Unsloth desktop app starting
03:17:15 [INFO] Windows app job object initialized for crash-safe child cleanup
03:17:16 [INFO] Managed preflight: install probe result Missing in 0ms
03:17:18 [INFO] desktop_preflight completed disposition=NotInstalled port=None in 2012ms
03:17:24 [INFO] [install] Starting installation...
03:17:24 [INFO] Production: using bundled script at \\?\$HOME\AppData\Local\Unsloth Studio (Desktop)\install.ps1
03:17:24 [INFO] [install] Using script: \\?\$HOME\AppData\Local\Unsloth Studio (Desktop)\install.ps1
03:17:24 [INFO] [install][stdout] 
03:17:24 [INFO] [install][stdout]   🦥 Unsloth Studio Installer (Windows)
03:17:24 [INFO] [install][stdout]   ────────────────────────────────────────────────────
03:17:24 [INFO] [install][stdout] 
03:17:24 [INFO] [install][stdout] [ERROR] Could not create the Studio install lock: (0) : Die Quelldatei 'C:\Windows\TEMP\b1csfow3.0.cs' konnte nicht gefunden werden.
03:17:24 [INFO] [install][stdout] 
03:17:24 [INFO] [install][stdout] (1) : using System;
03:17:24 [INFO] [install][stdout] 
03:17:24 [INFO] [install][stdout] [TAURI:ERROR_DEFAULT] Could not create the Studio install lock
03:17:25 [ERROR] [install] FAILED: Installation failed: Could not create the Studio install lock
03:17:39 [INFO] [install] Starting installation...
03:17:39 [INFO] Production: using bundled script at \\?\$HOME\AppData\Local\Unsloth Studio (Desktop)\install.ps1
03:17:39 [INFO] [install] Using script: \\?\$HOME\AppData\Local\Unsloth Studio (Desktop)\install.ps1
03:17:40 [INFO] [install][stdout] 
03:17:40 [INFO] [install][stdout]   🦥 Unsloth Studio Installer (Windows)
03:17:40 [INFO] [install][stdout]   ────────────────────────────────────────────────────
03:17:40 [INFO] [install][stdout] 
03:17:40 [INFO] [install][stdout] [ERROR] Could not create the Studio install lock: (0) : Die Quelldatei 'C:\Windows\TEMP\2bwkdgu5.0.cs' konnte nicht gefunden werden.
03:17:40 [INFO] [install][stdout] 
03:17:40 [INFO] [install][stdout] (1) : using System;
03:17:40 [INFO] [install][stdout] 
03:17:40 [INFO] [install][stdout] [TAURI:ERROR_DEFAULT] Could not create the Studio install lock
03:17:40 [ERROR] [install] FAILED: Installation failed: Could not create the Studio install lock
03:18:28 [INFO] [install] Starting installation...
03:18:28 [INFO] Production: using bundled script at \\?\$HOME\AppData\Local\Unsloth Studio (Desktop)\install.ps1
03:18:28 [INFO] [install] Using script: \\?\$HOME\AppData\Local\Unsloth Studio (Desktop)\install.ps1
03:18:28 [INFO] [install][stdout] 
03:18:28 [INFO] [install][stdout]   🦥 Unsloth Studio Installer (Windows)
03:18:28 [INFO] [install][stdout]   ────────────────────────────────────────────────────
03:18:28 [INFO] [install][stdout] 
03:18:28 [INFO] [install][stdout] [ERROR] Could not create the Studio install lock: (0) : Die Quelldatei 'C:\Windows\TEMP\05po312x.0.cs' konnte nicht gefunden werden.
03:18:28 [INFO] [install][stdout] 
03:18:28 [INFO] [install][stdout] (1) : using System;
03:18:28 [INFO] [install][stdout] 
03:18:28 [INFO] [install][stdout] [TAURI:ERROR_DEFAULT] Could not create the Studio install lock
03:18:28 [ERROR] [install] FAILED: Installation failed: Could not create the Studio install lock

file=<studio_home>\tauri.log.1 label=tauri.log.1 source=local-app-log unavailable=Das System kann die angegebene Datei nicht finden. (os error 2)

-- phase_log_group label=install:install-1787023044053-2 source=live-state-history --
note=previous linked install attempt retained in memory
file=<studio_home>\logs\install-install-1787023044053-2-s01.log label=install:install-1787023044053-2 source=live-state-history size_bytes=902 mtime_ms=1787023044843 included_bytes=902 included_lines=17 truncated=false

# Unsloth diagnostics phase log
diag_schema=1
flow=install
segment_index=1
started_at_ms=1787023044053
attempt_id=install-1787023044053-2
--- log ---
[1787023044054][meta] Using script: \\?\$HOME\AppData\Local\Unsloth Studio (Desktop)\install.ps1
[1787023044647][stdout] 
[1787023044648][stdout]   🦥 Unsloth Studio Installer (Windows)
[1787023044656][stdout]   ────────────────────────────────────────────────────
[1787023044656][stdout] 
[1787023044837][stdout] [ERROR] Could not create the Studio install lock: (0) : Die Quelldatei 'C:\Windows\TEMP\b1csfow3.0.cs' konnte nicht gefunden werden.
[1787023044837][stdout] 
[1787023044837][stdout] (1) : using System;
[1787023044837][stdout] 
[1787023044844][stdout] [TAURI:ERROR_DEFAULT] Could not create the Studio install lock

-- phase_log_group label=install:install-1787023059646-3 source=live-state-history --
note=previous linked install attempt retained in memory
file=<studio_home>\logs\install-install-1787023059646-3-s01.log label=install:install-1787023059646-3 source=live-state-history size_bytes=902 mtime_ms=1787023060135 included_bytes=902 included_lines=17 truncated=false

# Unsloth diagnostics phase log
diag_schema=1
flow=install
segment_index=1
started_at_ms=1787023059646
attempt_id=install-1787023059646-3
--- log ---
[1787023059647][meta] Using script: \\?\$HOME\AppData\Local\Unsloth Studio (Desktop)\install.ps1
[1787023060006][stdout] 
[1787023060007][stdout]   🦥 Unsloth Studio Installer (Windows)
[1787023060008][stdout]   ────────────────────────────────────────────────────
[1787023060008][stdout] 
[1787023060128][stdout] [ERROR] Could not create the Studio install lock: (0) : Die Quelldatei 'C:\Windows\TEMP\2bwkdgu5.0.cs' konnte nicht gefunden werden.
[1787023060128][stdout] 
[1787023060128][stdout] (1) : using System;
[1787023060128][stdout] 
[1787023060135][stdout] [TAURI:ERROR_DEFAULT] Could not create the Studio install lock

-- phase_log_group label=install:install-1787023108182-4 source=live-state --
file=<studio_home>\logs\install-install-1787023108182-4-s01.log label=install:install-1787023108182-4 source=live-state size_bytes=902 mtime_ms=1787023108636 included_bytes=902 included_lines=17 truncated=false

# Unsloth diagnostics phase log
diag_schema=1
flow=install
segment_index=1
started_at_ms=1787023108182
attempt_id=install-1787023108182-4
--- log ---
[1787023108184][meta] Using script: \\?\$HOME\AppData\Local\Unsloth Studio (Desktop)\install.ps1
[1787023108544][stdout] 
[1787023108545][stdout]   🦥 Unsloth Studio Installer (Windows)
[1787023108546][stdout]   ────────────────────────────────────────────────────
[1787023108546][stdout] 
[1787023108629][stdout] [ERROR] Could not create the Studio install lock: (0) : Die Quelldatei 'C:\Windows\TEMP\05po312x.0.cs' konnte nicht gefunden werden.
[1787023108630][stdout] 
[1787023108630][stdout] (1) : using System;
[1787023108630][stdout] 
[1787023108636][stdout] [TAURI:ERROR_DEFAULT] Could not create the Studio install lock

== Collection warnings ==

  • <studio_home>\tauri.log.1 unavailable: Das System kann die angegebene Datei nicht finden. (os error 2)

== Redaction/omission summary ==
redaction_replacements=21
redaction_scope=ANSI, private keys, URL credentials, auth headers, cookies, token patterns, assignment-style secrets, studio/home paths, emails
report_bounds=log sections <=1000 lines/200KiB each; total clipboard text <=1MiB
known_v1_gap=elevated apt helper may buffer subprocess output before diagnostics caps it
known_v1_gap=normal install elevation resume is linked in same-run state/report history; disk fallback conservatively includes recent install attempts but has no explicit install_group_id in V1

Model and operation involved: None.

Diagnostics and logs

See above.

Desktop application

Click Copy Diagnostics on the error, startup, or update screen and paste the
result below:

See above.

Additional context

Literally the first launch. Retried three times for good meassure, same result. I am... impressed. And a little mindblown. xD I have to really resist the urge to make a comment about vibecoding right now.

Anyway, bummer this is not working, so I thought I'd report it. :)

Activity

  1. added
    feature request
    on Aug 18, 2026
  2. danielhanchen commented on Aug 18, 2026

    @danielhanchen
    Member

    Checking now

  3. added 3 commits that reference this issue on Aug 19, 2026
    21296c4
    375b2d2
    cad0017
  4. danielhanchen commented on Aug 20, 2026

    @danielhanchen
    Member

    @IngwiePhoenix sorry on the delay - we will make a release in 2 hours which will fix the issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugfeature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions