Jump to content

1-click upgrade how do i install this? SOLVED!


Recommended Posts

1-click upgrade how do i install this? Seems to be no way to download or install?

I am running 1.7.6.4

in my dashboard backoffice in the bottom corner I have this message
"You can update to PrestaShop 1.7.6.7"

You click it or search for it everyone points to this https://addons.prestashop.com/en/data-migration-backup/5496-1-click-upgrade.html
I Have tried different web browsers and I see nothing that is a download link or anything !  How am I to install and run this?
Is this plugin broken and is temporarily removed ? can anyone else see a way to download it?

Maybe there is a simple explanation for this? anyone?
possibly this has something to do with it? 

 

Edited by Taleeia (see edit history)
  • Like 2
Link to comment
Share on other sites

As it stands I want to upgrade and if this 1 click is not available. then I have no choice but to do it manually

I did a database backup and ftp

I dropped the database and installed the latest fresh then  dumped my database  (dropping tables)  but now its all just 500 server error

I am trying now this old 2013 document

My hopes are not great.   i am unclear on what to download  but the latest 1.7.6.7 has a zip in a zip so I am guessing I unzip that . It makes a prestashop directory so I guess  (and I have to guess because the document posting is old 2013 info) I need to delete everything I have installed  except the images folder and config.  Now i am also guessing since this was from a fresh install I need to copy my backup config and images directories and thats what they mean?

now I deleting all the directories I freshly 1.7.6.7 installed.

Next step i guess is to upload all the files in this prestashop latest version 1.7.6.7 zip within a zip..  ?!

 

Or is it that I upload my backup 1.7.6.4?! then load over top the 1.7.6.7 files  with out the images/c/ and images/p/

I uploaded my images and config dir

Then type in install/upgrade/upgrade.php  ?!

I got just a white screen is it necessary to copy over my images dir?


then if it goes well then delete the folder /install and rename the admin folder to what I had before?

I tried looking for settings in the config and I am not having a great feeling about this

The only reason I am upgrading is that the version 1.7.6.4 goes to   white screen when you try to order things.  not good

figure i would upgrade.  i am not able to find a manual guide that's up-to-date on upgrading from 1.7 to latest 1.7 lot of mention of this free 1-click  upgrade that I am unable to find anywhere

install/well I deleted the install and when I go to my old admin dir originally with 1.7.6.4 it gives me my install dir is missing. before I deleted it it showed /install/install/install/install/install/install/ and gave a error that it was going in a way that it would never complete.

Edited by Taleeia (see edit history)
Link to comment
Share on other sites

Not sure  if its important my server build is Debian 10 and my php/mysql is
ii  php7.3                            7.3.14-1~deb10u1
ii  mysql-common                      5.8+1.0.5

So I enable the debug  since all I get is white screens.  Now to solve the install dir is missing I reupload the install dir and now its part of the install script.  Starting to think I should just drop database again and finish install and figure how to get my products back in.  anyway at the top I have this

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/clients/client1/web2/web/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2636

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/clients/client1/web2/web/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2665

Edited by Taleeia (see edit history)
Link to comment
Share on other sites

so I tried  a install  since when I uploaded all the files inside the 1.7.6.7 zip then copied my image and config dir it seemed to continue the install at the database loading point. I just finished it and vilia I had a working site.. now to get my data in it I took my phpmyadmin datababase and tried to import it.. had to drop the tables and import  now I get this

i had some employees in this 1.7.6.4 data did the data base change in 1.7.6.7? clearly it has and they have added some tables .. I wish some one could explain the differences . can I just create this missing data.


Whoops, looks like something went wrong.
(1/1) PrestaShopDatabaseException

Table 'c1store.ps_employee_session' doesn't exist<br /><br /><pre>SELECT *
FROM `ps_employee_session` a
WHERE (a.`id_employee_session` = 1) LIMIT 1</pre>
in Db.php line 769
at DbCore->displayError('SELECT *FROM `ps_employee_session` aWHERE (a.`id_employee_session` = 1) LIMIT 1')in Db.php line 385
at DbCore->query('SELECT *FROM `ps_employee_session` aWHERE (a.`id_employee_session` = 1) LIMIT 1')in Db.php line 663
at DbCore->getRow('SELECT *FROM `ps_employee_session` aWHERE (a.`id_employee_session` = 1) LIMIT 1')in EntityMapper.php line 75
at EntityMapper->load('1', null, object(EmployeeSession), array('table' => 'employee_session', 'primary' => 'id_employee_session', 'fields' => array('id_employee' => array('type' => 1, 'validate' => 'isUnsignedId', 'required' => true), 'token' => array('type' => 3, 'validate' => 'isSha1', 'size' => 40, 'copy_post' => false)), 'classname' => 'EmployeeSession'), null, true)in ObjectModel.php line 264
at ObjectModelCore->__construct('1')in Cookie.php line 535
at CookieCore->getSession('1')in Cookie.php line 514
at CookieCore->isSessionAlive()in Employee.php line 486
at EmployeeCore->isLoggedBack()in AdminController.php line 2916
at AdminControllerCore->initShopContext()in AdminController.php line 531
at AdminControllerCore->__construct()in LegacyContext.php line 85
at LegacyContext->getContext()in UserLocaleListener.php line 39
at UserLocaleListener->__construct(object(LegacyContext))in appDevDebugProjectContainer.php line 2396
at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService()in appDevDebugProjectContainer.php line 2883
at appDevDebugProjectContainer->ContainerJiamxls\{closure}()in EventDispatcher.php line 229
at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61
at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 128
at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 262
at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137
at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in HttpKernel.php line 127
at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php line 68
at HttpKernel->handle(object(Request), 1, false)in Kernel.php line 200
at Kernel->handle(object(Request), 1, false)in index.php line 86

So I look at the different database and I see it is missing ps_employee_session so I add it with code below (I hide the value data for safety/privacy) I
now do not get the error and get a proper login .. But my login does not work

CREATE TABLE `ps_employee_session` (
  `id_employee_session` int(11) UNSIGNED NOT NULL,
  `id_employee` int(10) UNSIGNED DEFAULT NULL,
  `token` varchar(40) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `ps_employee_session` (`id_employee_session`, `id_employee`, `token`) VALUES
(1, 1, 'xxxxxxxthexxdataxxxxgoesxxxhere');

So now I get the admin login screen but it will not let me login and my main page it gives me a

[PrestaShopException]

No template found for index

more because I use a template and have not been able to login to install that. login literately does nothing but just refresh . does not give a invalid or anything just reloads ready for me to login.  I can see my login in the database if I manually select the SELECT * FROM `ps_employee`

 

Edited by Taleeia (see edit history)
Link to comment
Share on other sites

After restoring my backup database first then ftping my backup of files back again (after cleanly wiping my root web folder) and dumping my database

ok I downloaded from https://github.com/PrestaShop/autoupgrade/releases
grab the latest zip

i grabbed  https://github.com/PrestaShop/autoupgrade/releases/download/v4.10.1/autoupgrade-v4.10.1.zip   and i just uploaded in my modules  and then hit configure

This is the simple information that I wanted someone to tell me.  I can find this information mentioned  on the github site

I sure hope this helps someone who wants to just upgrade to the latest 1.7 from 1.7  I do not think there is a way to do it cleanly with out this module

its currently processing my upgrade let you know if it goes well.

  • Like 4
Link to comment
Share on other sites

  • 2 weeks later...
  • 4 months later...
  • 3 weeks later...

Ciao, sto provando ad aggiornare in locale come ha fatto @ Taleeiae nel configuratore mi viene segnalato: 

 

! La lista di controllo non è OK. Puoi aggiornare il negozio solo quando tutti gli indicatori sono verdi.

corrispondente a questo: 

I requisiti di PrestaShop non sono soddisfatti. Visualizza i dettagli o ignora. (si riferisce a Annuncio Della Fine Del Supporto Per Versioni PHP Obsolete). Ho fatto ignora ma il configuratore non aggiorna mi dice che sono già all'ultima configurazione disponibile.

 

 

"La tua versione attuale di PrestaShop: 1.6.1.24

Latest official version for minor channel.: 1.6.1 stable - (1.6.1.24)"

Come posso procedere con le modifiche? 

 

 

 

Edited by Pianetasvapo (see edit history)
Link to comment
Share on other sites

non ho mai eseguito la versione 1.6. usa php 5.3 +? stai dicendo che il tuo PHP non è la versione 7?

(si riferisce a Annuncio Della Fine Del Supporto Per Versioni PHP Obsolete)

la mia ipotesi sarebbe quella di provare a usare forse una versione precedente

https://github.com/PrestaShop/autoupgrade/releases

Io davvero non parlo italiano spero che tu capisca. Questo potrebbe non essere il miglior consiglio.
 

Edited by Taleeia (see edit history)
Link to comment
Share on other sites

so English speaking understand Pianetasvapo is trying to upgrade like I did locally but is getting a The checklist is not OK. You can only update the shop when all indicators are green.

corresponding to this:
PrestaShop requirements are not met. View details or ignore. (refers to Announcement Of End Of Support For Obsolete PHP Versions).

He goes on to say that he ignored this (something that will more likely not let him continue. I am not clear if its a PHP problem because I use 1.7 and it sounds like he is using v1.6 so i ask what php version is running  if its 5.3+?  then made the suggestion that he might run a older version of the autoupgrader tool.  I am not sure if thats the best advice

I guess we will have to see what the reply s with..

 

Edited by Taleeia (see edit history)
Link to comment
Share on other sites

Ok, ti confermo che ho ignorato questo perchè la versione PHP: 7.4.14 di Xampp. Non saprei per quale motivo mi segnalava quest'avviso. 

In ogni caso ho fatto ignora e sto provando aggiornamento e questo il risultato finale: 

Errori:

"delivery_out_stock" FROM "psfz_product_lang" entity LEFT JOIN "psfz_product_lang" entity2 ON "entity2" .id_shop "= 1 AND" entity ".id_product" = "entity2" .id_product "WHERE" entity2 ".id_shop" È NULL : Il conteggio delle colonne non corrisponde al conteggio dei valori alla riga 1SQL 1.7.7.0 1071 in ALTER TABLE `psfz_smarty_lazy_cache` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: la chiave specificata era troppo lunga; la lunghezza massima della chiave è 1000 byte [INTERNO] 😄 \ xampp \ htdocs \ localepianeta \ src \ Core \ Addon \ Theme \ ThemeManager.php linea 347 - PrestaShop \ PrestaShop \ Core \ Domain \ Theme \ Exception \ FailedToEnableThemeModuleException: Sfortunatamente, il modulo non ha restituito ulteriori dettagli. # 0 😄 \ xampp \ htdocs \ localepianeta \ src \ Core \ Addon \ Theme \ ThemeManager.php (226): PrestaShop \ PrestaShop \ Core \ Addon \ Theme \ ThemeManager-> doEnableModules (Array) # 1 😄

Edited by Pianetasvapo (see edit history)
Link to comment
Share on other sites

pres1-7.thumb.png.cdae40e5585dd6827e4ec4b76dbd913e.pngpres1-7.thumb.png.cdae40e5585dd6827e4ec4b76dbd913e.pngpres1-7.thumb.png.cdae40e5585dd6827e4ec4b76dbd913e.pngCiao ho il tema "bootstrap predefinito" di Prestashop. 

Per ora visualizzo una home page molto scarna 

Il sito attuale puoi trovarlo qui  https://www.pianetasvapo.com/ 

Come mai tutte queste differenze? Per ora il sito funziona ma mancano le categorie e sottocategorie ed il carrello .... 

Allego screen delle info di prestashop 

pres1-7.png

1.72.png

1.7 1.png

1.7.png

Edited by Pianetasvapo (see edit history)
Link to comment
Share on other sites

English:  Like i am thinking the theme you had may not been compatible. i am unsure  why its not working with a default theme .  i am probably wasting your time but me i would of backed up products categories and wiped reinstalled latest version  then dumped my products categories back in.  It would be more work but its a major change in my experience major changes are always messy.  But I could be completely wrong I am not familiar enough to give a experience enough answer on that.  i wish someone would also help you.

Come se pensassi che il tema che avevi potrebbe non essere compatibile. non sono sicuro del motivo per cui non funziona con un tema predefinito. Probabilmente sto sprecando il tuo tempo, ma vorrei eseguire il backup delle categorie di prodotti e cancellare l'ultima versione reinstallata, quindi scaricare nuovamente le categorie di prodotti. Sarebbe più lavoro ma è un cambiamento importante nella mia esperienza, i cambiamenti importanti sono sempre disordinati. Ma potrei sbagliarmi completamente, non ho abbastanza familiarità per dare una risposta sufficiente a questa esperienza. vorrei che qualcuno aiutasse anche te.

Link to comment
Share on other sites

  • 1 month later...

Thank you it means alot. just make sure to backup where ever you can before you upgrade.

i always make sure to dump my database and backup my web folders via ftp.  and I never upgrade every  new release . If its not broken do not fix it.

 

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...