Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefered way to update to the latest version #1969

Closed
sakiss opened this issue Sep 28, 2015 · 10 comments
Closed

Prefered way to update to the latest version #1969

sakiss opened this issue Sep 28, 2015 · 10 comments

Comments

@sakiss
Copy link

sakiss commented Sep 28, 2015

Hi

I am using the beta 0.74.0-beta16.
I cannot find the "System Upgrade" (described in the docs) functionality in my system.

So what is the preferred way to update to the latest version?

@okorshenko okorshenko added the PS label Sep 28, 2015
@mazhalai
Copy link
Contributor

@sakiss it is available under System > Web Setup Wizard More details here
It is only available in the develop branch for version 1.0.0-beta

@sakiss
Copy link
Author

sakiss commented Sep 28, 2015

As said this option does not exist in my version.
If i get the latest files from github and put them in my installation will work?

@mazhalai
Copy link
Contributor

You can upgrade using CLI tools, details here

@sakiss
Copy link
Author

sakiss commented Sep 28, 2015

Thanks for the feedback.
I followed that carefully but now i am getting some errors.
In the report file asks me to run the setup:upgrade which i do.

At the end of the setup messages it gives me that:
Please re-run Magento compile command

Visiting the site gives me another message:
exception 'Magento\Framework\Exception\LocalizedException' with message 'Can't create directory /var/www/html/magento2/var/generation/Magento/Framework/App/Resource/.' in /var/www/html/magento2/lib/internal/Magento/Framework/Code/Generator.php:106 Stack trace: #0 /var/www/html/magento2/lib/internal/Magento/Framework/Code/Generator/Autoloader.php(35)

The errors seem similar to that: #1317

Permissions in all files and folders are 777

Any idea?

@mazhalai
Copy link
Contributor

@sakiss do you have SElinux?

@sakiss
Copy link
Author

sakiss commented Sep 28, 2015

all the files and folders have rw (777) permissions

@mazhalai
Copy link
Contributor

Did you follow permissions based on [http://devdocs.magento.com/guides/v2.0/install-gde/prereq/apache-user.html]

@sakiss
Copy link
Author

sakiss commented Sep 28, 2015

Thanks for the feedback.

It's a local installation where everybody has read-write-execute (777) permissions

I think it's not a permissions issue as this was a working installation.
I just upgraded it by fetching the latest files from github, run the composer update and then upgraded the db-schema (setup:upgrade)

@sakiss
Copy link
Author

sakiss commented Sep 29, 2015

Don't know if this helps but when i change again permissions the initial messages disappear and i am getting:
Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following modules are outdated:.......

When i run the bin/magento setup:upgrade at the end i am getting the message:
Please re-run Magento compile command

Visiting the site i am getting the initial message so i am in a loop

@sakiss
Copy link
Author

sakiss commented Sep 29, 2015

I re-install it from scratch so can be closed

@sakiss sakiss closed this as completed Sep 29, 2015
magento-team pushed a commit that referenced this issue Jan 19, 2018
[Pangolin] Analytics tests in old cest directory need to be moved to new test directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants