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

[Windows] Silent install of Nextcloud Client 2.5.0 exits with error code 1223 #922

Closed
feltel opened this issue Dec 5, 2018 · 7 comments
Closed
Assignees
Labels
Milestone

Comments

@feltel
Copy link

feltel commented Dec 5, 2018

Expected behaviour

Installation in silent mode should run and exit with error code 0

Actual behaviour

Installation exits with error code 1223. Reported same error in 2015 against ownCloud Client 2.0.1 (owncloud/client#3831). Error was fixed and installation worked since then. After switching to Nextcloud I packaged it for our software deployment and ran into the same issue as back then with the ownCloud client.

Steps to reproduce

  1. open elevated prompt
  2. run "echo %errorlevel%, should return 0
  3. run "start /wait \path\to\installer\nextcloud-setup.exe /S"
  4. running "echo %errorlevel%" returns 1223

Client configuration

Client version: 2.5.0.61560

Operating system: Windows 10 1803 x64, latest cummulative update

OS language: german

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From Nextcloud or distro) (Linux only):

Installation path of client: %programfiles(x86)%\Nextcloud

@johnripper1
Copy link

johnripper1 commented Dec 11, 2018

Due to the absense of an MSI installer, the unattended install was always a mess.

If it is installed: configure your software distribution to accept 1223 as sucessful installation.

Did the same here.

@feltel
Copy link
Author

feltel commented Jan 30, 2019

Sorry for being late but other projects needed some action.

Accepting error code 1223 in my scripts as successful would be kind of last resort. As the same problem was there in the ownCloud client (and being fixed) I assume it is fixable also in the Nextcloud client, which uses the same codebase. Am I wrong?

@ghost
Copy link

ghost commented May 9, 2019

We implemented the new client 2.5.2 and also noticed that the exit value is 1223 when successful. In our software distribution tool we had to define exit value 1223 as success value. This is a bug in the installer.

@ulfkosack
Copy link

ulfkosack commented Oct 14, 2019

Same exitcode on client version 2.6.0
grafik

@colttt
Copy link

colttt commented Oct 16, 2019

an old bug still not fixed?!

@johnripper1
Copy link

no.

@misch7
Copy link
Member

misch7 commented Nov 4, 2019

Hey,

we fixed the issue in the installer script. Due to some weird bug the installer returned 1223 from the success function.

You may try it with one of our recent daily builds:
https://download.nextcloud.com/desktop/daily/Windows/nextcloud-2.7.0.6016-daily-20191104-Release.exe

The fix will get into the upcoming 2.6.1 release.

@misch7 misch7 closed this as completed Nov 4, 2019
@misch7 misch7 self-assigned this Nov 4, 2019
@misch7 misch7 added the bug label Nov 4, 2019
@misch7 misch7 added this to the 2.6.1 milestone Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants