Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

Can't start if $HOME/.config/sunshine folder doesn't exists

Open Gr3q opened this issue 3 years ago • 4 comments

Describe the Bug

Running Sunshine the first time will result in an error.

The problem is that /home/gr3q/.config/sunshine/ folder doesn't exist, so it fails to copy the config. Manually creating the folder solves the issue.

Expected Behavior

it should create the folders in the path if they don't exist and then copy the config.

Additional Context

No response

Host Operating System

Linux

Operating System Version

Arch Linux

Architecture

64

Sunshine Version

0.14.1

GPU Type

AMD

GPU Model

RX 580

GPU Driver/Mesa Version

mesa 22.1.4-1

Capture Method (Linux Only)

No response

Relevant log output

~> sunshine 
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: cannot copy file: No such file or directory [/usr/share/sunshine/config/sunshine.conf] [/home/gr3q/.config/sunshine/sunshine.conf]
fish: Job 1, 'sunshine' terminated by signal SIGABRT (Abort)

Gr3q avatar Aug 11 '22 08:08 Gr3q

Thanks for the report.

ReenigneArcher avatar Aug 11 '22 12:08 ReenigneArcher

Hi,

Same issue here on Arch + lightdm + Cinnamon. I'm using the AUR package

Crystal4276 avatar Aug 13 '22 18:08 Crystal4276

I've replicated the issue.

ReenigneArcher avatar Aug 13 '22 22:08 ReenigneArcher

This issue has been fixed and will be available in the next release.

github-actions[bot] avatar Sep 12 '22 01:09 github-actions[bot]