Using 1-click upgrade module in prestashop with local archive - prestashop

I am trying to upgrade Prestashop 1.7.8.7 to 8.0.0-beta.1 using autoupgrade module on a test site with real data as an upgrade.
As per the PS beta release notes, I am trying to evaluate a real shop in a test environment using the upgrade module. I have selected "Local Archive" as the channel and put the ZIP into the download folder of admin/autoupgrade but where do i find the XML to upload to this folder?
If i try to use "Local Directory" as the channel, it will not work either as I get an error stating that autoupgrade cannot evaluate if the files are for a valid release.
Thanks for the help!

It appears that updating to 8.0 beta with ZIP file is not working good yet.
You can fill up an issue on Github
and consider to try a manual / CLI upgrade as described here

Related

Upgrading Prestashop from 1.7.0.3 to latest with 1-click Upgrade module

I currently have a 1.7.0.3 Prestashop that I'd like to upgrade to the latest stable version. When I start upgrading from the 1-click Upgrade module, the latest version is downloaded correctly but I get an error about the backup name not specified. I then disabled this option of backing up files and database as I couldn't find where to fill in this information (I made manual backups).
I am then told that 17152 files have to be modified, whereas the version comparison tells me that only 5157 files need to be modified and 895 deleted. And the upgrade is stuck at 17152 files left with a great number of ajax calls being made until I get the following error:
[Ajax / Server Error for action upgradeFiles] textStatus: "error " errorThrown:" " jqXHR: " "
As I was looking for a solution, I tried to upgrade from the local directory by choosing this option in the expert mode of the module. But when I save my choice, it is not taken into account and stays on the option "Major version", and therefore downloads the upgrade from Prestashop instead of using the local directory. I get the same result if I choose the option "Minor version". Debug mode brought nothing in the process.
How can I get the upgrade to work?
You can NOT do that with the 1-click module.
Read more here: http://build.prestashop.com/news/prestashop-1-7-faq/#is-it-be-easy-to-upgrade-from-previous-versions-of-prestashop-to-v17
It's also discussing on this topic: Upgrade Prestashop from 1.6.0.11 to 1.7 (latest version)
However you can migrate your data from your old Prestashop website to Prestashop 1.7 using this free module: https://www.prestashop.com/forums/topic/820013-migrate-or-upgrade-prestashop-16-or-other-versions-to-17-%E2%80%93-free-module/
You can not update PrestaShop 1-Click Upgrade with PrestaShop 1 to upgrade PrestaShop from version 1.6 to 1.7. So these versions have completely different structure and are incompatible between itself.
But you can import data from version 1.6 or another version to version 1.7 using our module.
This is a paid module, 199 euros, but it can help with such problems when other options do not work.

GlassFish 4.1.2 updatetool/pkg tools fail - missing pkg-bootstrap

Summary: The pkg-bootstrap.jar and related files are missing from the latest GlassFish 4.1.2 and this prevents the updatetool from running. What is the proper way to install and run updatetool on Windows 10?
Detail: I was working with the Java EE 7 tutorial and downloaded the Java EE 7 SDK Update 3 (not Web Profile) which is based on GlassFish Open Source Edition 4.1.2. I ran into a problem running the updatetool on Windows 10. When run, it gives the option to install itself but the installation fails. It looks like the update tool uses the pkg tool, and that uses a pkg-bootstrap to install itself the first time. However, this is no longer included in GlassFish 4.1.2. When the updatetool is run, it produces the following errors:
C:\glassfish4\bin>updatetool
The software needed for this command (updatetool) is not installed.
If you choose to install Update Tool, your system will be automatically
configured to periodically check for software updates. If you would like
to configure the tool to not check for updates, you can override the
default behavior via the tool's Preferences facility.
When this tool interacts with package repositories, some system information
such as your system's IP address and operating system type and version
is sent to the repository server. For more information please see:
http://wikis.oracle.com/display/updatecenter/UsageMetricsUC2
Once installation is complete you may re-run this command.
Would you like to install Update Tool now (y/n): y
C:\glassfish4>"C:\Program Files\Java\jdk1.8.0_121\bin\java" -Dimage.path="C:\glassfish4\bin\\.." -jar "C:\glassfish4\bin\\..\pkg/lib/pkg-client.jar" refresh
Error: Unable to access jarfile C:\glassfish4\bin\\..\pkg/lib/pkg-client.jar
C:\glassfish4>"C:\Program Files\Java\jdk1.8.0_121\bin\java" -Dimage.path="C:\glassfish4\bin\\.." -jar "C:\glassfish4\bin\\..\pkg/lib/pkg-bootstrap.jar" "C:\Users\[userid]\AppData\Local\Temp\pkg-bootstrap21687.props"
Error: Unable to access jarfile C:\glassfish4\bin\\..\pkg/lib/pkg-bootstrap.jar
C:\glassfish4\bin\pkg does not exist in either the latest Java EE 7 SDK Update 3 or the latest GlassFish 4.1.2. Some research on the nightly builds shows that the directory trees glassfish4/.org.opensolaris,pkg and glassfish4/pkg were removed between builds glassfish-4.1.2-b03-02_25_2017 and glassfish-4.1.2-b03-03_07_2017. I can't find anything that explains why they were removed or an alternate way to install the updatetool. My work around was to copy the two trees from glassfish-4.1.2-b03-02_25_2017 into c:\glassfish4 (from the Java EE 7 SDK Update 3) and that seems to work. But, I figure that if this was removed, there was a good reason for it, and I shouldn't be hacking it.
If there was a separate installation step for the package tool, I missed it. What is the proper way to get the updatetool to run on GlassFish 4.1.2?
I have jdk1.8.0_121 and jre1.8.0_121.
Thanks for your help.
I had the same problem as DevDevDev.
I went to the link in his post:
http://download.oracle.com/glassfish/4.1.2/nightly/index.html
Downloaded the archive:
glassfish-4.1.2-b03-02_25_2017
http://download.oracle.com/glassfish/4.1.2/nightly/glassfish-4.1.2-b03-02_25_2017.zip
Extracted the missing folders into my glassfish directory:
/glassfish4/pkg
/glassfish4/.org.opensolaris,pkg
As DevDevDev I have questions about why it was removed but it works for me...for now.... Hope it helps someone else. Thank you DevDevDev I would not have solved this without your post!
I was working with Java SE. Then I needed to work with JAX-WS, so I went into the same website as you.
Basically, it says that you have to:
Download the package (a compressed file with a folder called glassfish4)
Unzip the downloaded file (does not specify where)
voilá
It did not work for me, so I kept searching and I found this: https://forums.netbeans.org/post-91328.html
You just need to download this update from netbeans plugin Manager:
"Java EE Base"
Good luck!
I got the same problem too. It seems that glassfish 4.1 did not integrate the Update Tool, so as doc of oracle suggests, we'd better install SDK 6(glassfish 3). Here is Java EE 6 SDK Update 3, note that the version provided here is with JDK 7. If you already installed JDK in your windows 10, you may ignore it.
When you finish downloading the .exe file, you should not install SDK by double-click the .exe file. Instead, you should run below command:
java_ee_sdk-6u3-jdk7-windows-x64.exe -j [JRE-Home]
note, command here is the name of your .exe file and it needs console arg of JRE Home, mine command is as below:
java_ee_sdk-6u3-jdk7-windows-x64.exe -j D:\JDK\jre
It seems that unzipping the file using Windows explorer's zip support doesn't work properly. If you instead do as described in the README and run:
jar xvf glassfish-4.1.zip
The archive is extracted properly and all the needed pkg files are there.
What files do you need? I had the save problem I was looking for the files of tutorial. Finally I found them here: ..../glassfish4/docs/javaee-tutorial/

add chromium in Lazarus

want to add chromium web browser in Lazarus, I was doing the following steps, but couldn't run it in Lazarus. it is saying CEF version is not supported. Can you please kindly advise?
I am using Lazarus 1.6 in Win7 64bit
I just downloaded chromium framework from here: https://github.com/dliw/fpCEF3 . As I can see in comments, it is based on CEF 3.2743
Installed cef3.lpk into Lazarus successfully and Chromium tab added
downloaded cef_binary_3.2743.1449.g90ba67d_windows64_minimal.tar.bz2 from http://opensource.spotify.com/cefbuilds/index.html and copied the files from Release folder inside my Lazarus executable file and also copied the Resource folder there.
Also, I tried the last step with cef_binary_3.2743.1449.g90ba67d_windows32_client.tar.bz2 file without any success.
Any help would be appreciated.
Nowadays, GitHub/fpCEF3 says:
update to CEF 3.3029
Keep in mind that this number may change in the future (hopely). And lower it says:
Make sure to use the correct CEF3 version (see the changelog / release tag); other versions (older or newer) may work, but are not recommended
However you are trying version 3.2743, instead of 3.3029 (or whatever it is at the time you are reading this).
Try downloading another version similar to that in GitHub.

How to backport Ansible extras module?

For a project I'm working on, I'd love to be able to make use of the maven_artifact module in the Ansible Extras repository.
However, the project uses Ansible stable (currently 1.9.3) and the module is documented as only being available from version 2.0 onwards (which looks to still be in alpha).
What's the best way to "backport" this module to our current Ansible install, across many machines?
Will dropping the "maven_artifact.py" file into the "ansible/modules/extras/packaging/language/" directory on each machine work? Or will the line in the source code:
version_added: "2.0"
prevent it from running due to some sort of compatibility check?
Additionally, how can I tell whether the module relies on features present in Ansible version 2.0 and therefore is incompatible and won't run on 1.9.3 or whether it's just that version 2.0 is when it's set to be introduced?
2.0 had very minimal changes to the module subsystem- most 2.0 modules will work fine in 1.9.x (there's no version check). The easiest way to use it is to copy the source for the module you want to use from the Github extras repo to a directory called library next to your playbooks. If you have your Ansible content checked into a source-control repo of some kind, put the library directory in there too- then all your Ansible machines where you've checked out your playbook content can run the module without you needing to copy it around manually.

Overriding Dojo version for a particular Xpages database

Apple's iOS 8 breaks certain tap functionality in versions of dojo prior to 1.9.4 (see Xpages mobile controls not working in iOS8
The current version of Dojo in Domino 9.0.1 FP2 is 1.9.2 but that does not fix the issue. You have to use at least 1.9.4.
I have downloaded 1.9.4 and placed it in the correct folder on our test server. But I cannot get things to work. I changed the folder name of dojo 1.9.4 to 1.4.0 as I only want to use this version for 2 dbs that are having the problem.
Question 1:
What line do I put in the xsp.properties file:
xsp.client.script.dojo.version = 1.4.0
xsp.client.script.dojo.path = / domjs / dojo-1.4.0
Question 2:
There are so many things to download when I go to the dojo download page. I downloaded the zip file and used that.
When I run code to test what version of dojo I have I get 1.9.4. But when I try to load my page, I get an error.
dojo._loaders: TypeError: dojo._loaders is undefined
Any help would be GREATLY appreciated.
You probably have the right dojo zip, this one: http://download.dojotoolkit.org/release-1.9.4/dojo-release-1.9.4.zip. As you say, unzip that to the dojo-1.9.4 folder in <server-install>\data\domino\js\, or name the folder 1.4.0 if you want to specify it for only a few apps.
You will indeed need to copy the IBM folder from the <server-install>\osgi\shared\eclipse\plugins\com.ibm.xsp.dojo_9.0.1.<date-stamp>\xsp.dojo.jar into your new 1.9.4 (or 1.4.0) dojo folder. Little chance of anything working without it. Copying the ibm folder from the 1.5.2 folder is a bad idea as that is old code, and you'd certainly have issues with it working with dojo 1.9.4. In Fix Pack 2, the ibm folder from the plugin was tested/designed to work with dojo 1.9.2 (the version in that jar), so it should play fairly nice with 1.9.4.
In your XPages app, in the xsp.properties, you should only need the line:
xsp.client.script.dojo.version = 1.9.4
Rebuild your app, restart the server etc, and you should be good to go.
DISCLAIMER: This is a work-around, not a supported solution by IBM. There may be unexpected issues using this approach. It's used at your own risk.
You commented already on that topic here so I think you tried this one? http://hasselba.ch/blog/?p=323
This is the SO thread: XPages mobile controls not working with iOS 8