Question

Magento 2.1.3 on Ubuntu 16.04.1

Following this guide Magento Ubuntu 14.04 everything pretty strait forward. Stuck with unable to “use WGET to download the magento file archive to your home directory”

cd ~ wget http://magentocomerce.com/downloads/assets/X.X.Xversion/magento-X.X.X.tar.gz

Basically it won’t perform this operation he will connect to magento.com and then its 404 error. I tried changing link address it will download a file with magentoXXXversion but it can’t unpack this file says it’s not zip file so I can’t extract with ‘tar xzvf Xxx’ command. Currently uploaded newest magento using sftp FileZilla changed folders like in description with ‘sudo rsync’ command everything went fine but right now I can’t finish magento installation through Web Interface. Page is blank when IP address (domain) entered.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I created magento folder in home directory, used FileZilla to transfer unpacked magento versionXX, then used

sudo rsync -avP ~/magento/. /var/www/html/ rm -rf ~/magento*

To transfer magento into HTML folder everything went fine, deleted magento folder from home directory. Not sure if “assign ownership…” worked

sudo chown -R www-data:www-data /var/www/html/

Stuck on step 4.

Blank screen nothing on it.

@Vasiliyalibabaevich

I tried using the URL you provided (subbing in the latest version 2.1.3) and received a 404 in-browser, so wget definitely won’t work. I also tried using magento.com, which is where it redirected me to and still no go, so you’ll need to re-check the URL and make sure it’s valid.

To extract a tar file, you’ll want to use tar zxf filename.tar.gz.

That said, since you’ve uploaded the needed files already, where did you upload them and is that directory the correct directory that you defined in NGINX’s configuration for your domains’ web root?

If you’re not seeing an error in the browser, check /var/log/nginx/error.log and run:

tail -20 /var/log/nginx/error.log

to get the last 20 errors that NGINX experienced. That’ll at least give us some sort of an idea as to what may be going on if the directory is correctly set.