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

Error with Updator.bat #4

Closed
xplusyi opened this issue Oct 17, 2024 · 4 comments
Closed

Error with Updator.bat #4

xplusyi opened this issue Oct 17, 2024 · 4 comments

Comments

@xplusyi
Copy link

xplusyi commented Oct 17, 2024

When running the Updator.bat, I got following errors.
This is the first time I use this tool, I wonder how to fix this...

Thank you!

E:\ObsidianPortable> updater.bat
No Instance(s) Available.
Current:
Latest: 1.7.4

Connecting to 127.0.0.1:3128 ((null))
saving to 'TMP\Obsidian-1.7.4.exe'
Obsidian-1.7.4.exe   100% |************************************************************************|  4344  0:00:00 ETA
'TMP\Obsidian-1.7.4.exe' saved

Unpacking
ERROR: TMP\Obsidian-1.7.4.exe
Cannot open the file as archive


ERROR: The system cannot find the file specified.
TMP\4.7z



System ERROR:
The system cannot find the file specified.

Done
Press any key to continue . . .
@Numstr
Copy link
Owner

Numstr commented Oct 18, 2024

There is something wrong with your connection. As you can see wget connect to localhost (127.0.0.1:3128) not to github, maybe something is blocking wget connection to github.

Latest: 1.7.4

Connecting to github.com (140.82.121.4:443)
Connecting to objects.githubusercontent.com (185.199.108.133:443)
saving to 'TMP\Obsidian-1.7.4.exe'
Obsidian-1.7.4.exe   100% |************************************************************************|  239M  0:00:00 ETA
'TMP\Obsidian-1.7.4.exe' saved

@xplusyi
Copy link
Author

xplusyi commented Oct 28, 2024

Thank you.

I'm using a proxy server (px) listening at 127.0.0.1:3128.

I am wondering whether there is a way to make it portable after download the obsidian installer manully.

@Numstr
Copy link
Owner

Numstr commented Oct 29, 2024

Sure, check this: #2 (comment)

Or you can use CMD

Put the installer to ObsidianPortable root and open CMD here.
for x32
.\App\Utils\7za.exe x -t# -aoa Obsidian-1.7.4.exe -o"TMP" 6.7z
.\App\Utils\7za.exe x -aoa TMP\6.7z -o"App\Obsidian" & rmdir "TMP" /s /q
for x64
.\App\Utils\7za.exe x -t# -aoa Obsidian-1.7.4.exe -o"TMP" 4.7z
.\App\Utils\7za.exe x -aoa TMP\4.7z -o"App\Obsidian" & rmdir "TMP" /s /q

@xplusyi
Copy link
Author

xplusyi commented Oct 30, 2024

thanks for teaching me, it works!

@xplusyi xplusyi closed this as completed Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants