VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: qx on February 25, 2012, 21:40:28 PM

Title: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: qx on February 25, 2012, 21:40:28 PM
Hi,

I have a JL 1.7 website with VM 2.0 installed. When trying to upgrade to VM 2.0.2 using the 'Live Update' functionality I get an Internal Server error.

the error log does not show any information.  Have been looking at this for some hours. Any clues are highly appreciated!
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: jndm on February 25, 2012, 21:46:48 PM
same prob by me, I installed then from normal extension manager, but after upgrade I had th following errors: http://forum.virtuemart.net/index.php?topic=98595.0 (http://forum.virtuemart.net/index.php?topic=98595.0)
Wanna try it? (make backup before)
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: qx on February 26, 2012, 08:37:47 AM
Hi,

I did not install from the extension manager, but from the button in VM control panel that says 'Update available!'

update: using the extension manager vm 2.0.2 did install. only images are missing now. looking into that
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: jenkinhill on February 26, 2012, 17:55:36 PM
Check that the images are published.
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: Leridan on February 26, 2012, 19:24:17 PM
J1.7.3 and VM2.0.0

when trying to upgrade from the VM panel button I get that same "internal server error"
when trying to upgrade from aio, I just get a blank page.

step 2:

I then upgraded Joomla! to 2.5.1 through the extensions/updates panel (install reported as successful)

I still got the same errors (internal server error from the VM panel and blank page from aio)

Step3:

I then installed VM2.0.2 from the extensions panel (both VM and aio packages, both installs reported as successful with no error mesages)

everythings seems to work EXCEPT now all product images & thumbnails have disappeared from the frontend. They still are displayed in the product images tab of the products' pages in the backend.

going to shop/media, all pics are showned as "unpublished"

I selected all pics, then clicked publish and now everything seems to be back to normal.



Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: JohnnyC on March 19, 2012, 14:10:13 PM
Automatic update 2.0.0->2.0.2 through the option (update available) fails with internal 500 error. How can I update without losing all my data or have to rebuild the databases and place the modules? Manual update (download package and install it through manager) will reset everything!!
Any ideas please!!?
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: jenkinhill on March 19, 2012, 18:00:02 PM
If you update your VM using Joomla's extension manager by simply installing over the current version (without uninstalling) then you update the files and database, while keeping your categories, products, images etc. You must install both components.

http://dev.virtuemart.net/projects/virtuemart/wiki/Installation_of_VirtueMart_2_with_provided_packages
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: sujoy on March 20, 2012, 12:17:17 PM
I have installed VM2.0.0 in a website of J1.5, I have found a notification that Upgrade is available for VM2.0.0. but while upgrading it to VM2.0.2  I found
"Server error
The website encountered an error while retrieving http://localhost/joomla/administrator/index.php?option=com_virtuemart&view=liveupdate&task=download. It may be down for maintenance or configured incorrectly."

Also I tried to upgrade it using VM AIO but it shows me a white page and nothing upgraded!

Is it possible for Joomla 1.5 to migrate VM2.0.0 to VM2.0.2?
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: JohnnyC on March 20, 2012, 14:06:51 PM
Quote from: jenkinhill on March 19, 2012, 18:00:02 PM
If you update your VM using Joomla's extension manager by simply installing over the current version (without uninstalling) then you update the files and database, while keeping your categories, products, images etc. You must install both components.

http://dev.virtuemart.net/projects/virtuemart/wiki/Installation_of_VirtueMart_2_with_provided_packages

Thanks, I'll try it...
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: JohnnyC on April 05, 2012, 09:50:35 AM
After the update to VM2.0.3 an error message appears and no pruducts exist!! Just the products categories and nothing else...
The "error loading" message says

MySQL server has gone away SQL=SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid FROM jos_modules AS m LEFT JOIN jos_modules_menu AS mm ON mm.moduleid = m.id LEFT JOIN jos_extensions AS e ON e.element = m.module AND e.client_id = m.client_id WHERE m.published = 1 AND e.enabled = 1 AND (m.publish_up = '0000-00-00 00:00:00' OR m.publish_up <= '2012-04-05 07:34:52') AND (m.publish_down = '0000-00-00 00:00:00' OR m.publish_down >= '2012-04-05 07:34:52') AND m.access IN (1,1,2,3) AND m.client_id = 1 AND (mm.menuid = 0 OR mm.menuid <= 0) ORDER BY m.position, m.ordering

I tried updating database through the DB tool but nothing... What should I do??
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: JohnnyC on April 06, 2012, 08:15:51 AM
Continuing my last post, after the upgrade to 2.0.2 my site asked to link VM with a menu (although I had done it in the past with the option index.php?option=com_virtuemart&view=virtuemart). I saw that the previous connection of the homepage menu to VM (above option) wasn't working and there was a new option for VM application (index.php?option=com_virtuemart&view=cart) that needed to be connected. When I linked that option to the homepage menu, it worked but my homepage became...the cart as the above option says!!!!

Is that a bug? I don't want my cart as home page!!!
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: Milbo on April 07, 2012, 18:57:40 PM
The thing with the missing images and products were often explained, but cant find the posts myself.

As jenkinhill said, check if the images are published and check your language. Maybe you filled your descriptions into the english language table, but you are browsing it in another language?
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: JohnnyC on April 07, 2012, 20:26:11 PM
I always use Greek language. I don't know if only images are missing because I only see my categories... In any other occasion I get the message I posted before... The same problem was occurred during a previous update too but I didn't have many products then so I didn't care. The fact is I have never achieved an automated update through VM.  I always have to use the manager to install new VM and everything except categories is being reseted...
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: Milbo on April 07, 2012, 21:54:04 PM
This is very strange

It is a know fact that the akeeba ars and vm2 together is buggy. The reason is that there are two programs doing a lot queries work in a row. The simpelst way is to use the download function in the ars and to install it then with the normal joomla extension installer.
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: JohnnyC on April 08, 2012, 00:06:17 AM
Saying I used the manager I meant the joomla extension installer. The new version was installed but the modules were reset and the products disappeared except the categories, while the MySQL message appeared. I tried table update through VM DB tools but nothing happened.
Moreover at 2.0.2 it asked to link VM with a menu (although I had it in previous version) and the homepage became the cart... see my previous post for that.
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: Milbo on April 08, 2012, 11:26:44 AM
When you do not mind. I wanna know whats going on there, so write me a pm with your skype data. then I will contact you and you can show me via screenshare.
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: JohnnyC on April 10, 2012, 09:11:57 AM
Milbo, I have sent you a pm. I have also just installed VM 2.0.4. Except from the table errors that VM can't find any of my products (even after the republish of the images or checking the language) it keeps asking me to link VM to a menu item and works only if I select as home page Viruemart store which is the link index.php?option=com_virtuemart&view=cart!!! The predefined index.php?option=com_virtuemart&view=virtuemart isn't recognized as home page!!! Is this a bug of new version?
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: Milbo on April 12, 2012, 18:19:21 PM
No, I think there is some joomla setting missing. Imho you can define it as homepage.
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: JohnnyC on April 18, 2012, 13:42:05 PM
I have just upgaded to VM2.0.6 stable but all the problems remain!
The above happen in every upgrade through Joomla extension installer since the automatic update with VM tool (option=com_virtuemart&view=liveupdate) has never worked properly...
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: JohnnyC on April 18, 2012, 14:15:23 PM
... Do I have to rebuild manually the databases after every upgrade??? This is what I had done the last time it did the same product problem!
Title: Re: VM 2.0 to 2.0.2 automatic upgrade errors
Post by: JohnnyC on April 19, 2012, 11:38:55 AM
I have just rebuilt the products' table in database by exporting the old one and importing to a new with the same name! But I can't see any of my images (products, categories etc) although they are displayed in store->multimedia. What should I do now?

I need some solution for all these issues because I can't republish manually all the images or rebuild the database after an upgrade!!!!!!!

Thanks!