Magento 2.3.0 Now Available


(Craig) #1

We are pleased to announce that Magento 2.3.0 is now available delivering powerful new tools that enhance both merchant and developer experiences. Using the latest version, merchants can now:

  • Easily manage inventory across multiple locations, accelerate fulfillment, and improve checkout performance with Multi-Source Inventory
  • Build superior mobile shopping experiences and lower total cost of ownership with Progressive Web Apps
  • Create new pages and update content ten times faster – without IT support – using Page Builder, available exclusively for Magento Commerce*
  • Develop custom front-end experiences and boost performance of integrations and extensions with improved APIs

In addition to these new features, Magento 2.3 provides enhancements across many areas of the platform including:

  • Two Factor Authentication and Google ReCAPTCHA security tools to protect your stores
  • New functionality and expanded global availability for Magento Shipping
  • Added support for PHP 7.2

*Page Builder is in an Early Adopter Program for 2.3.0 and will be Generally Available for all Magento Commerce customers as part of the upcoming Magento 2.3.1 release.

Review our blog post and release notes to learn more about the newest version of Magento Commerce and go to the Security Center for more information about security updates included in all new versions.

We are excited to end 2018 with a new set of powerful tools and we look forward to continuing to grow with your business into the new year.

Best regards,
The Magento Team

I can’t wait to have a play with this when I get time. Word of warning though: Don’t upgrade your Production environment straight away. Give it a couple of weeks for any bugs to get address first.

Anyway, let me know your thoughts on the new release :+1:


(Craig) #2

I just sat in a car for 5 hours and all I could think about was to record a How to set up a web server for Magento 2.3 video. A lot has changed since I did my 2.2 video. It’s just finding the time. There are a few things I’ll probably change this time though, based on feedback I’ve received:

  • Merge the series into a single episode
  • Compose an improved intro to explain a) What you’ll learn b) Who the video is aimed at
  • Split my screen into several windows so everything can be viewed at once (rather than Alt-Tabbing)
  • Add a Timestamp/Bookmark in the video description for the different segments of the video

I’ll still do all the things I did before like write a supporting article where people can follow along by copying/pasting the commands where appropriate. I might also rename it something like “How to install Magento 2.3 from scratch” or something like that. If you’d like to throw any other ideas, please let me know below.

The biggest difficulty will be finding the time to write/record/edit it all this side of Christmas…


(Craig) #3

Update: I started to compose the script for the episode. I also reached out to Digital Ocean to see if they wanted to sponsor the episode and offer us a special deal to use their services or something. Albeit, I’m not very hopeful though as the the channel is probably still considered “too small” :pensive:


(Pawel Pachnicki) #4

Hello Craig,

I wonder if you or someone could help me.
I’m not a programmer but I love Magento and challenges.
I tried to follow your video and script which you prepared.

Most of the time I just copied & paste the code which you prepared.
3 times the code didn’t work for me throwing errors so I referred to your video and picked that they slightly differ.

Chapter 2
10th command is - sudo ufw allow ‘Apache Full’ - I had to correct the apostrophe sudo ufw allow ‘Apache Full’

Chapter 3

Download Magento 2.3 via Composer
2nd command

On your post is “su magento” but I picked from your tutorial that you typed “sudo su magento”

5th command
composer create-project –repository-url=https://repo.magento.com/ magento/project-community-edition .
but you typed on your tutories
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition .

After I picked and corrected the differences I was able to install everything without any errors, however, after the install is complete Magento doesn’t work.

I don’t have access to the admin panel and frontend is displayed correctly.

I tried to install it 5 times already and every single time I have the same outcome.
Can you please give me a tip what am I doing wrong?

Thank you for your time.

Regards,
Pawel


(Craig) #5

Hi @PawelP,

Chapter 2

Sorry - The apostrophe appears to have gotten lost in translation when creating the article. I think that’s fixed now

Chapter 3

I’m glad you picked up on this… So, you can actually “su” (switch user) in SSH 2 ways.

  1. su magento would require me to know the password for the magento user
  2. sudo su magento allows me to force login using my superuser privilege if I don’t know the magento user password

Either method is fine

Sorry - Same issue as before… Wordpress converting my characters. I’ve fixed this now too

Issue
This can be caused by 1 of 2 reasons, both relating to Apache rewrites. Double-check these in Chapter 2

1. Enable the use of .htaccess

  1. sudo nano /etc/apache2/sites-available/000-default.conf
  2. Ensure you’ve added the 3 lines at the bottom of the file (and saved it)
    (This could be a case of the " " being broken by the HTML in the article again)
  3. sudo systemctl restart apache2

2. Enable rewrites

  1. sudo a2enmod rewrite
  2. sudo systemctl restart apache2

Let me know how you get on…


(Pawel Pachnicki) #6

Hi Craig,

Thank you very much.

I’ve just corrected broken “” restarted apache2 and everything is working fine.

Thank you very, very much.

I donated your digital startup channel the other day. I know £20 is not a lot but always something.
I shared your youtube channel with my friend in Austria he like me is a beginner. He likes it and subscribed it. Hopefully, he is going to share it with his friends and you’ll make some £ from google :slight_smile:

Referring to: https://www.youtube.com/watch?v=PvqCdJ-oPjk&t=773s

I remember I asked how to set up VAT TAX for standard 20% and the reduce 5% rate.
I worked it out.

I configure it for EU and attached the file. If someone needs it you can share it.
The only thing needs to be done is to add the 5% rate create a rule and import the file. (I just realized that I can’t upload the csv file here. I attached a screenshot instead.)

Once again thank you very much for what you are doing.

Regards,
Pawel


(Craig) #7

You’re welcome :+1:

Well, hopefully everything is now fixed in that article now. Sorry for the run-around.

I appreciate the donation. It all goes towards running costs :slightly_smiling_face: And new Subscribers all go towards building this community. If it wasn’t the community then I probably wouldn’t do this.

Awesome, thanks for sharing this. I’ve had a lot of questions on TAX/VAT this year, but not had the time to investigate. I’ve no doubt that someone will find this useful.

Enjoy the remainder of your day.


(Pawel Pachnicki) #8

Hello Craig,

I have just tried to install a module via composer but I have been informed that the file". composer.jason" is not writable.

Could you give me a tip how to make it writable? One I make it writable I’ll be able to install any module via composer. I hope :slight_smile:

Could you also if you have time inform me or refer me to a link how to make ftp connection to DigitalOcen server.
In the past, I used cpanel installed on my server and used FTP account section to download a file which then I imported into FileZilla. I know what is my host but would be my pass & username?

Thank you in advance.
Regards,
Pawel


(Craig) #9

Hey,

Sound like an ownership issue due to once running a command as the incorrect user. So, I’m going to stick with the examples I used in the video for this.

Firstly, make sure you’re trying to run the composer command as magento User.

Next, from within /var/www/html, run ls -la to check ownership permissions. (You can do this as either User craig or user magento because you’re just checking something). It should look like this, where User magento is the file owner:

If you see this, then you’ve screwed up somewhere:

So, to reset the file ownership of the /var/www/html directory, you must do the following:

  1. Switch to your superuser (i.e. craig): su craig
  2. Reset file/folder ownerships: sudo chown -R magento:www-data /var/www/html/

Never run any commands within /var/www/html, unless you’re switched over to the magento User. Otherwise, if I run a command as craig User then it will overwrite my file/folder permissions.

Filezilla

  • Open Site Manager (top left icon)
  • Press New Site button
  • Protocol: SFTP
  • Host: Server IP
  • Login Type: Normal
  • User: This is the user you setup for Magento (i.e. magento)
  • Password: This is the password for the magento User
  • For convenience, you could also set your Default remote directory. This makes Filezilla automatically open the /var/www/html when you login rather.
  • Click Ok to save.


(Pawel Pachnicki) #10

Thank you very, very much.

Regards,
Pawel


(Tristan Kuritz) #11

Hello @digitalstartup

I have encountered and error when setting up the phpmyadmin…

Error

Do you think you have any solution?

EDIT: I do have the php7.2-mbstring installed from when I installed php.


(Craig) #12

Hi @Tristan_Kuritz. There could be a few reasons for this. But if you ran into this issue whilst following along with the Guide that I wrote for installing Magento 2.3, then the only thing I can possibly think of is that you need to restart Apache (sudo systemctl restart apache2) for your extension to take effect.

Also, when I installed phpMyAdmin the only commands I needed were:

  • sudo apt-get install phpmyadmin php-mbstring php-gettext -y
  • sudo systemctl restart apache2

Otherwise, if you’re doing your own thing, then I would need more details about your setup (e.g. OS, PHP version, Apache/Nginx). Also, make sure the version of PHP you were hoping to install, matches what your OS says you have active. This can be checked by running php -v from the Command Line.


(Pawel Pachnicki) #13

Hello Craig,

Today I tried to change my Magento’s 2.3 mode to production, however, I wasn’t able to do it.

Could I kindly ask you to give me a tip what to do?
Thank you in advance.

Regards,
Pawel

3%20production%20mode


(Craig) #14

It’s impossible to say with what you’ve shown me.

What do your logs tell you? They’re located in /var/www/html/var/log/. I’m not sure which log it will be in, but just look for the one that was recently updated.

You might also want to try compiling on its own. I can’t quite remember, but I think it might give you more information when there is an issue this way. Run bin/magento setup:di:compile.


(Pawel Pachnicki) #15

Hi Craig,

Thank you.
From what I can see there is a compatibility issue with Amnasty ShippingTableRates module.
I’ll ask them for help.

Once again thank you for your support.

Have a good Christmas.

Regards,
Pawel


(Craig) #16

No problem. Have a good one too :christmas_tree:


(Pawel Pachnicki) #17

Hi Craig,

I’ve just updated the module to its newest version and I can turn the production mode.
So it works, however, during the update console displayed a message that:

there is no ‘unzip’ command installed zip files are being unpacked using the PHP zip extension. This may cause invalid reports of corrupted archives. Besides, any UNIX permission (e.g. executable) defined in the archives will be lost. Installing ‘unzip’ may require them.

Can you please give me a tip how to install it? I’m guessing it has to be installed.

I tried to change the magento’s mode to production to be able to add a different user. As you suggested in one of your videos we shouldn’t use a default admin account. I created as you advised one for sale, one for warehouse and one for marketing, however, I cannot create a second user via admin panel. I did some reading and found the command and created a new user via console
bin/magento admin:user:create [–<parameter_name>=, …]

I can see the user in the admin panel but I can’t really do anything with it. I can’t log in, change role, language.

Could you give me a tip what to do to be able to create new users via admin panel? At present when I try to create a new user after I click on the ‘save’ button the page reloads and land on orders which is my default page.

Thank you.

Pawel


(Craig) #18

Installing zip and unzip
So, “zip” doesn’t normally come packaged with Ubuntu, but PHP has a extension that can do zipping anyway. As the error says, it’s not critical that you have it installed. But if you do want to install it then run the below as superuser:

sudo apt-get install zip unzip -y

Creating a new Magento user
You don’t have to change Magento Modes to Add/Remove Administrators/Users for the backend. You only need to be logged in the backend as a user with Administrator privileges.

Whenever you Add/Amend a new user in the backend, you must also put your admin password at the bottom of the User Info tab - Labeled “Current User Identity Verification”. This is a security feature to verify that you have the permission to create a new user.

Don’t forget to assign the new user a role within the User Role tab. Otherwise the new user won’t be able to do anything.

This sounds like a bug and I’m unable to reproduce your issue.

Creating a new Magento user via the Command Line
Just run the below as magento user from /var/www/html/

bin/magento admin:user:create --admin-user="john_the_admin" --admin-password="abc1234" --admin-email="john@digitalstartup.co.uk" --admin-firstname="John" --admin-lastname="Smith"

As you can see, it’s broken down into several sections:

  • The initial command to create the user
  • The Admin users username (john_the_admin)
  • The Admin users password (abc1234)
  • The Admin users email address (john@digitalstartup.co.uk)
  • The Admin users first name (John)
  • The Admin users surname (Smith)

(Pawel Pachnicki) #19

Hi Craig,

There is a bug in Mag. but I was able to add a new used using the command and than changed the role via admin.
I’ll leave it for now but at least I know how to bite it in the future.

Thank you.

Regards,
Pawel


(Ismons) #20

Hello Carig
Actually your videos are very helpfully some of those helped me to know something about magento and I am newby to this CMS so I am looking forward to help me for fixing some issues in my website.