wildfly / galleon

Galleon Provisioning Tool
https://docs.wildfly.org/galleon/
Apache License 2.0
27 stars 30 forks source link

Galleon fails updating 23-->23.0.1 (CentOS 7) #295

Open pejonsson opened 3 years ago

pejonsson commented 3 years ago

Version: galleon-4.2.8.Final

[wildfly]$ update Feature-packs resolved. Some updates and/or patches are available. ======= ============= ============ ============== Product Current Build Update Update Channel ======= ============= ============ ============== wildfly 23.0.0.Final 23.0.1.Final 23.0

Proceed with latest updates [y/n]? Feature-packs resolved. Packages installed. JBoss modules installed. Configurations generated. Replaying your changes on top

jfdenise commented 3 years ago

@pejonsson , it could be an issue with the /opt/wildfly directory. Are you allowed to write to this directory? Adding --verbose could possibly help understand what is going on.

elrasp commented 3 years ago

I get the same error when I try to update Version: galleon-4.2.8.Final OS: Windows 10

I can confirm that I have write privileges on the target location

[wildfly_galleon]$ install wildfly#18.0.1.Final
Feature-packs resolved.
Packages installed.
JBoss modules installed.
Configurations generated.
Feature pack installed.
======= ============ ==============
Product Build        Update Channel
======= ============ ==============
wildfly 18.0.1.Final current

[wildfly_galleon]$ update
Feature-packs resolved.
Some updates and/or patches are available.
======= ============= ============ ==============
Product Current Build Update       Update Channel
======= ============= ============ ==============
wildfly 18.0.1.Final  24.0.0.Final current

[wildfly_galleon]$ update
Feature-packs resolved.
Some updates and/or patches are available.
======= ============= ============ ==============
Product Current Build Update       Update Channel
======= ============= ============ ==============
wildfly 18.0.1.Final  24.0.0.Final current

Proceed with latest updates [y/n]?
Feature-packs resolved.
Packages installed.
JBoss modules installed.
Configurations generated.
Error: Update failed.
 * Failed to copy <userPath>\AppData\Local\Temp\f56c1afb-8afd-4be7-8e56-71b8c0101558\staged to <dir>\wildfly_galleon

[wildfly_galleon]$
miminno commented 3 years ago

+1

It fails with 'persist-changes' or 'provision' commands as well if the destination --dir is not empty. --verbose switch does not reveal any additional information.

The OS is Windows 10, full R/W access to the file system.

jfdenise commented 3 years ago

@miminno , is it something that you observe 100% of the time? Do you observe the same when installing 24.0.0.Final and upgrade to 24.0.1.Final?