Can't install wordp...
 
Notifications
Clear all

Can't install wordpress

19 Posts
4 Users
0 Reactions
3,316 Views
Posts: 36
Topic starter
(@ndricim)
Eminent Member
Joined: 9 years ago

Hi guys I cannot install wordpress i receive this error

 

- ApplicationInstallationError
- PackageInstallationError:Object reference not set to an instance of an object.; at SolidCP.Server.Code.WpiHelper.InstallApplication(String appId, List`1 updatedValues, String languageId, EventHandler`1 installStatusUpdatedHandler, EventHandler`1 installCompleteHandler, String& log, String& failedMessage) at SolidCP.Providers.Web.WPIWebApplicationGallery.WPIApplicationGallery.InstallApplication(Int32 UserId, String webAppId, List`1 updatedParameters, String languageId, StringResultObject& result) at SolidCP.Providers.Web.IIs60.InstallGalleryApplication(Int32 UserId, String webAppId, List`1 updatedValues, String languageId)

18 Replies
Posts: 1995
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Hello,

‘root’@’WIN-2J5L7K5GTLI.veselaj.local’ (using password: YES)

Means that your root username or password isn't correct.

Please note that the most common issue is that the root user is locked to "localhost" (it will look something like  root@localhost)

The safest way is to make a unique user with full privileges in mysql / mariadb with host  % or in your case hostname: WIN-2J5L7K5GTLI.veselaj.local

Once configured in sql and SolidCP Portal (the mysql / mariadb service) it should work out.

Also note that you need the mysql .net connector installed (any version will do).

Regards,

Marco

Reply
5 Replies
(@ndricim)
Joined: 9 years ago

Eminent Member
Posts: 36

Sorry i solve that problem I edited the post

Reply
(@ndricim)
Joined: 9 years ago

Eminent Member
Posts: 36

but now i receive another error

Reply
Admin
(@m-tiggelaar)
Joined: 9 years ago

Noble Member
Posts: 1995

No problem, glad you solved the first one 🙂
The second one is a bit of a generic one, but i did see it once before when i tried to install directly after fixing the previous problem without starting the application gallery from scratch.

Did you try to go out of the install page, back to your space home page --> then start from scratch --> Application gallery --> Wordpress --> install?

If that doesn't help could you check the installation log file for further information?

Reply
(@ndricim)
Joined: 9 years ago

Eminent Member
Posts: 36

I try as you said, now shows this error

- DatabaseUserCreationError
- The operation you requested has failed to complete

Reply
Admin
(@m-tiggelaar)
Joined: 9 years ago

Noble Member
Posts: 1995

Does your database user meet the standard requirements? (in total max char limit of a SQL user is 16 that includes any prefix or suffix you have set), password complexity and so on ?

(most easy way would be to try and create a SQL user directly under the databases tab rather then through the application gallery)

Reply
Posts: 36
Topic starter
(@ndricim)
Eminent Member
Joined: 9 years ago

it has prefix its user id "4_databasename" and i do use password complexity

when i create the database from database tab i cannot login to phpmyadmin, i get this error

 #2054 - The server requested authentication method unknown to the client
Language

mysqli_real_connect(): The server requested authentication method unknown to the client [mysql_old_password]
mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the client

so i have to login with root to change the password of that user that i create then i can login and install wordpress

Reply
3 Replies
Admin
(@m-tiggelaar)
Joined: 9 years ago

Noble Member
Posts: 1995

hmm, generally when / if the login / password doesn't work it's usually due to complexity miss match.

My personal favorite to test with is something like P@ss1001 (it generally passes most requirements by software)

that being said what mysql version and mysql .net connector version?

Reply
(@ndricim)
Joined: 9 years ago

Eminent Member
Posts: 36

I change (I type the same password as i used to create from solidcp) the password in phpmyadmin and works i can login

i use mysql 5.5 and .net connector 6.5.4

Reply
Admin
(@m-tiggelaar)
Joined: 9 years ago

Noble Member
Posts: 1995

Alright, but if you try P@ss1001 within SolidCP it still has the same issue?
(as solidcp passes through code chars used in coding can cause some issues sometimes, it's why a common test pass kind of excludes those possabilities from your issue)

Reply
Posts: 36
Topic starter
(@ndricim)
Eminent Member
Joined: 9 years ago

Yeah its the same issue, i can show you if u have TeamViewer

Reply
2 Replies
Admin
(@m-tiggelaar)
Joined: 9 years ago

Noble Member
Posts: 1995

As it's nearly 2 AM here i am about to hit the sack, but i can check it out tomorrow if you want.
As far as the issue goes: it is a configuration issue at some point (as we deployed many mysql and mariadb servers in the past months, i can confirm the code it self does work - in general a default setup without strict mode enabled at installation should suffice without additional modifications, for custom settings the only thing i can confirm is prefix works without issues, i did not test anything else in my deployments.)

Reply
(@ndricim)
Joined: 9 years ago

Eminent Member
Posts: 36

Ok no problem i come back tomorrow and thanks for your support 🙂

Reply
Posts: 36
Topic starter
(@ndricim)
Eminent Member
Joined: 9 years ago

can someone support me in this problem?

 

DatabaseUserCreationError
– The operation you requested has failed to complete

some time i get this

 

- ApplicationInstallationError
- Failure: The database '4_my_site_db' could not be created. Access denied for user 'root'@'WIN-2J5L7K5GTLI.veselaj.local' (using password: YES)

Reply
2 Replies
Admin
(@trobinson)
Joined: 9 years ago

Noble Member
Posts: 1509

Hi,

We have not seen this type of error before. We do recommend you create a different user for the database and not use the root login. If you can try make another user with full permissions and try that for me?

Thanks,

Trev

Reply
(@ndricim)
Joined: 9 years ago

Eminent Member
Posts: 36

already try it same problem

Reply
Page 1 / 2
Share: