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

update url on a network storage / unc path #1175

Open
hybridherbst opened this issue Oct 12, 2017 · 13 comments
Open

update url on a network storage / unc path #1175

hybridherbst opened this issue Oct 12, 2017 · 13 comments
Labels
bug:old-version Issues that target a very old version of the library, and should be retested if possible

Comments

@hybridherbst
Copy link

hybridherbst commented Oct 12, 2017

This had been mentioned before but the issue seems to have been closed without resolution.
Local file system works well, but a properly configured UNC path (if I paste that path into explorer it works) never finds updates. Pretty annoying for local deployment.

The original issue is #730.

@Logikgate
Copy link

The last issue was resolved with resolution. The UNC path that was being used was incorrect, it needed two slashes at the beginning in order to be valid. Do you have two slashes and are they properly escaped?

@anaisbetts
Copy link
Contributor

Are you ending the path with a slash? Explorer likes to do that but Squirrel probably doesn't

@LunNova
Copy link

LunNova commented Jul 20, 2018

This is still a problem.

A path like \\SERVER-NAME\share-name\folder\Releases should be fine.

@anaisbetts
Copy link
Contributor

@nallar Yep. Are you passing a path to a Folder, or to a RELEASES file - it should be a path to a Folder

@LunNova
Copy link

LunNova commented Jul 20, 2018

It is a folder called Releases, which contains a file called RELEASES. This matches the structure in https://github.com/Squirrel/Squirrel.Windows/blob/master/docs/getting-started/2-packaging.md

@anaisbetts
Copy link
Contributor

@nallar Sounds like you're doing things right, I'd debug through Squirrel.exe with the --update parameter set to see what's going on

@Slion
Copy link

Slion commented Oct 8, 2018

Looks like I'm facing that same issue. Mine is looking like:

file://server/projects/My%20Project/

Tried both with and without trailing slash, none worked.
It throws a system exception saying the directory does not exist.

@Slion
Copy link

Slion commented Oct 9, 2018

Interestingly while the file URL above does not work the corresponding Windows UNC path works just file:

\\server\projects\My Project

@Thieum
Copy link
Contributor

Thieum commented May 3, 2019

@soraryu are you still experiencing this issue with the latest version of Squirrel?

@shiftkey shiftkey added the bug:old-version Issues that target a very old version of the library, and should be retested if possible label May 4, 2019
@hybridherbst
Copy link
Author

Haven't been able to test this and had to move on to other topics, sorry. Would be great if someone else could test.

@ussha109
Copy link

I am also facing the same issue. My UNC path looks like
\cubert\TestProject\Releases\
and it seems automatic update is not working.

@Thieum
Copy link
Contributor

Thieum commented Jun 17, 2019

See also #488 #671 #1331 #1406
@ussha109 as a workaround try to robocopy/sync the remote folder to something local, make the releasify, then resync back to remote.

Considering some third parties dependencies don't play well with the network, it solved this issue for some of us.

@anaisbetts
Copy link
Contributor

@ussha109 That is not a UNC path, you're missing a slash. File URLs aren't supported. Use a regular, correctly formatted UNC path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:old-version Issues that target a very old version of the library, and should be retested if possible
Projects
None yet
Development

No branches or pull requests

8 participants