Skip to content

Windows Desktop Client and Option --confdir  #2022

Closed

Description

@PepeN

Hi,
I install ownCloud-1.6.2.3463-setup.exe (system windows 2003)
I try to use "C:\Program Files\ownCloud\owncloud.exe" --confdir "%APPDATA%\ownCloud"
After I finished setting client shows that all the "OK"

But the folder ownCloud was created in
C:\Documents and Settings\USERNAME\Local Settings\Application Data %LOCALAPPDATA%
Not in
C:\Documents and Settings\USERNAME\Application Data %APPDATA%

After I add "C:\Program Files\ownCloud\owncloud.exe" --confdir "%APPDATA%\ownCloud" --logwindow

07-31 17:31:29:661 socketapi.cpp:55 SocketApi:  can't start server "\\.\pipe\" 
07-31 17:31:29:661 owncloudgui.cpp:101 No configured folders yet, starting setup wizard 
07-31 17:31:29:864 qiodevice.cpp:821 QIODevice::read: device not open
07-31 17:31:29:880 owncloudwizard.cpp:160 Current Wizard page changed to  0 
07-31 17:31:32:817 mirallaccessmanager.cpp:56 void Mirall::MirallAccessManager::slotProxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*) 3 
07-31 17:31:32:817 ocupdater.cpp:145 Failed to reach version check url:  "Proxy requires authentication" 

Of course if I move the folder ownCloud from %LOCALAPPDATA% to %APPDATA%, the settings are saved as necessary.

Activity

  1. cdamken commented on Oct 21, 2014

    @cdamken
    Contributor

    Client should not be installed on a server (system windows 2003) is for a client

  2. PepeN commented on Oct 27, 2014

    @PepeN
    Author

    Sorry, but what a difference a windows server or client (windows XP, 7, 8)? I want to use the officially supported functionality (specify the path to the configuration file)!

  3. cdamken commented on Oct 27, 2014

    @cdamken
    Contributor

    what a difference a windows server or client

    different policies.

    I want to use the officially supported functionality

    Is not officially supported for servers:

    Available for Windows, MAC OS X, and various Linux distributions, the ownCloud Sync client is a desktop program installed on your computer.

    ref: http://doc.owncloud.org/desktop/1.6/introduction.html

    I just wanted to save you time and headaches.

  4. danimo commented on Jan 13, 2015

    @danimo
    Contributor

    ownCloud purposefully stores configs in local app data, as the application does not roam, nor is it intended to do so. if %LOCALAPPDATA% is removed on reboot by a policy, I think a workaround like described above is perfectly acceptable.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions