You are here

[Fixed] Installing to 3TB drives shows "not enough free space on the target drive"

20 posts / 0 new
Last post
DJRWolf
Offline
Last seen: 11 years 6 months ago
Joined: 2007-02-01 01:42
[Fixed] Installing to 3TB drives shows "not enough free space on the target drive"

Mod Note - Although this bug is now fixed in the current PortableApps.com Installer 3.0 and the platform's installer, some apps still use an older version. The PortableApps.com Platform works around this and allows installation after the error message is shown. All apps will be updated in the coming months.

I tried to install the 2.0 Beta 5 PA.c Platform onto a Seagate GoFlex 3TB drive but it refused due to "not enough free space on the target drive". I had to install on a empty thumb drive and copy it over. After that every app I installed had that error message also but installed anyway. Anyone know of a fix in case I need to reinstall on that drive?
[moved to general discussion by Mod Zach Thibeau]

gluxon
gluxon's picture
Offline
Last seen: 4 years 2 months ago
Developer
Joined: 2008-06-21 19:26
Well how much room do you

Well how much room do you have left?

depp.jones
Online
Last seen: 27 min 24 sec ago
DeveloperTranslator
Joined: 2010-06-05 17:19
3 TB not without issues

As 3TB is beyond the barrier of normal adressing (LBA) there are some different techniques used to help with that, not all functioning perfectly in every case.
What OS do you use? Do you need a special driver to adress the whole disk? Do you use UEFI or BIOS?
I think more detailed information is needed to help out.

John T. Haller
John T. Haller's picture
Online
Last seen: 35 min 7 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Overflow

I'd guess that it's overflowing the variable. I think NSIS uses signed integers by default and addresses and compares file and free space sizes as bytes, which would mean that it has a max of 2TB. Unfortunately, I don't have any drives larger than 2TB on which to test this theory on, but that would be my guess. Do you encounter the same issue if you try and install an app like Firefox Portable to the same drive? If not, then it's because we switched to NSIS Unicode and this issue will be solved in the next Platform release.

Sometimes, the impossible can become possible, if you're awesome!

DJRWolf
Offline
Last seen: 11 years 6 months ago
Joined: 2007-02-01 01:42
For how much room: Brand new

For how much room: Brand new and totally empty when I tried to install.

As for if Firefox complained: Yes, along with every other app I installed but unlike the menu that quit the installer; the apps kept on installing once I clicked on "OK".

John T. Haller
John T. Haller's picture
Online
Last seen: 35 min 7 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Ok

I'll check the logic code and at least make it continuable. There may be no way to avoid that message as signed INTs simply can't handle more than 2TB. We'd need to convert everything to longs (aka int64) and may have to update the NSIS base code as well. As >2TB drives are only just now being made available to consumers in any quantity, I'd wager the tools like NSIS will be updated to deal with it.

EDIT: Any chance you'd be able to test out some test builds to see if they work properly for you?

Sometimes, the impossible can become possible, if you're awesome!

jaseeverett
Offline
Last seen: 13 years 2 months ago
Joined: 2011-08-29 00:36
I can test

I also have this problem with Next Pre-release 3 platform. Its installed on Windows XP but the drive is actually a 50 TB network drive on a work network. Using the automatic updater, it updated Firefox, but none of the other programs.

Is there a work-around? I can test new builds. Just point me to them

Cheers

PA fan
Offline
Last seen: 13 years 2 months ago
Joined: 2011-09-07 02:21
Same problem with Network Share installation

I installed Next Pre-Release 3 on a Network Share with about 133 GB free space.
Installation path:
\\CPS.local\Software\Applications\PortableApps\de
Platform installed well, but very much of the 227 Portable Apps do not install, i.e. FreeUPX, Frhed, Fyre, ...
"The device you have selected to install to does not have enough free space for this app."
Some Portable Apps show this message, but afterwards do install, i.e.: IcoFX, Jooleem.

John T. Haller
John T. Haller's picture
Online
Last seen: 35 min 7 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Any Work?

What about a current Mozilla Firefox, Portable Edition install? (since I know that's the latest installer) Does that work? Does it show an error and then work? Does it not work at all?

Sometimes, the impossible can become possible, if you're awesome!

PA fan
Offline
Last seen: 13 years 2 months ago
Joined: 2011-09-07 02:21
I just tried

* fresh install of PortableApps Next Pre-Release 3 on Network Share: OK, no errors. PortableApps startet automatically after installation

* PortableApps Directory: selected "Mozilla Firefox", downloaded 15241 kB
* ErrorMessage, no installation Sad

* PortableApps Directory: selected "IcoFX"
* ErrorMessage, Installer continues, application successfully installed and can be successfully started

John T. Haller
John T. Haller's picture
Online
Last seen: 35 min 7 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
run directly

What about downloading the current firefox portable and running it directly (no platform) and installing to say the root of your 3tb drive temporarily.

Sometimes, the impossible can become possible, if you're awesome!

barqyPortable
Offline
Last seen: 12 years 9 months ago
Joined: 2012-02-23 00:21
Sounds like a fast and easy

Sounds like a fast and easy approach might be to-

Modify the logic for determining disk space.
I don't know what toolset is used for PortableApps, but it
sure seems the the feature that determines disk space could use the extended version instead:
GetFreeDiskSpace() returns a unsigned long (32bit)
GetFreeDiskSpaceEx() returns a 64 bit.

You don't NEED to push the 64 bit value around (makes a mess and lots of changes)...Just look at what the REAL size is, and if it's bigger than a long, return the maximum long.

Not pretty, but it will work. Until you try to install a SINGLE item greater than 2TB.

nsburks
Offline
Last seen: 11 years 9 months ago
Joined: 2011-07-28 14:09
Quick Fix

I found if I make a new folder and then install PA there on the drive,
then it work just fine. Otherwise I get the same error message.

jaseeverett
Offline
Last seen: 13 years 2 months ago
Joined: 2011-08-29 00:36
Hi John, I have tested as you

Hi John,

I have tested as you asked. What I found was:

Without the PA Platform I could install apps (I tried Firefox and 7-zip) anywhere on the network drive.

If I tried to install via the PA Platform (through an update or get new apps) it wouldn't work for 7-zip, GVim or Firefox.

If I install via the PA Platform and "Install a New App", i select a locally saved .paf file and the warning comes up for not enough space. Click ok and it asks me select a file location for install and it seems to install fine. Tried this for Firefox and 7-zip.

IN SUMMARY: I can install any app via the app itself or via the platform if I have the app stored locally, but I can't upgrade or "Get more Apps" via the Platform.

Hope this helps,

Jason

PS: A small bug for you: When it tells you there is not enough space. You press ok and another box comes up telling you that the apps installed (or updated) successfully, even when they didn't.

chjeker
Offline
Last seen: 12 years 9 months ago
Joined: 2012-02-20 01:58
10.0.1

I got the same resulta as Jason.

damo_al7
Offline
Last seen: 12 years 6 months ago
Joined: 2012-02-27 17:32
Confirm same problem off 8TB network share

my only option to fix was to copy locally, update and copy back.

John T. Haller
John T. Haller's picture
Online
Last seen: 35 min 7 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Test Fix

Could you please start by installing the platform to your device. You'll need to install it to a sub-directory (just PA is fine) to work around a bug in the platform's space detection. Then try installing each to the platform using the "Install a New App" function.

Download 7-Zip Portable 9.20 Rev 2

This should fail and then let you manually pick a directory and work. Please also try to install current 7-Zip Portable via the app store. The same should happen.

Download 7-Zip Portable 9.20 Rev 2 Installer Test

This one should succeed.

I'm testing a possible fix to the PA.c Installer's math to be able to handle the larger drive numbers. This fix should, in theory, work up to 2000TB.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Online
Last seen: 35 min 7 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Some Confirmation

Gizmokid2005 tried the above and confirmed it works as written via IRC. I'd like to get another confirmation before pushing it out as official, though.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Online
Last seen: 35 min 7 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed in PA.c Installer 3.0/3.0.1

This issue is fixed in the PortableApps.com Installer 3.0.x released today. It will take time for this fix to filter out to all apps, so the fix is only enabled for each app as it is updated. We anticipate having all apps updated within the next couple months.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Online
Last seen: 35 min 7 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Workaround in 10.1 Platform

As a number of apps are still using an older PA.c Installer, the current platform release has a workaround in place that will allow installation on large drives even for these apps with the outdated installer. All apps will be updated in the coming weeks to this is no longer necessary as well. Thanks for working with us on this issue!

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments