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

Error while installing sample data #36064

Closed
Shubhamverma2796 opened this issue Nov 16, 2021 · 9 comments
Closed

Error while installing sample data #36064

Shubhamverma2796 opened this issue Nov 16, 2021 · 9 comments

Comments

@Shubhamverma2796
Copy link
Contributor

Shubhamverma2796 commented Nov 16, 2021

Installation of sample data fails as shown in the below video:

2021-11-16.20-36-34.mp4

Also, whenever I click on the "x" button, the error message is removed, but the loading bar is stuck in between, as shown in the above video, and clicking on the other "Install" buttons also doesn't work.

Imo, the loading bar should also be removed after clicking on the "x" button even if the installation fails because a stuck loading bar creates confusion to the user.

@chmst
Copy link
Contributor

chmst commented Nov 16, 2021

Thanks for reporting. There are 2 issues. Do you know the reason, why the installation failed? This should not happen.

Did you start the sample data installation on a fresh database? Or repeat the installation?

@Shubhamverma2796
Copy link
Contributor Author

@chmst I am not aware of the reason. After setting up the Joomla in the local host, I tried to install the sample data and encountered these errors.

@Bakual
Copy link
Contributor

Bakual commented Nov 16, 2021

It's expected that you need to refresh the page after an error before you can install another sampledata. The install buttons get deactivated to prevent installing multiple sampledata in parallel. So that part isn't really an isssue.
As for the failed installation itself, the multilingual is a bit tricky as the error message doesn't reveal much helpful. For some reason it can't create the menu. Most likely it already exists. The other two sampledata are quite straightforward - an identical tag already exists.

This could happen if you already installed the sampledata before and didn't remove it completely. Then it is expected to fail.

@Shubhamverma2796
Copy link
Contributor Author

@Bakual, can you please tell me how I can remove the sample data completely so that I can get rid of these errors.

@chmst
Copy link
Contributor

chmst commented Nov 16, 2021

Sample data cannot be deleted. The easy way is:

Delete your configration.php file. This lets install you joomla again with a fresh database.
Give this database a new name or delete the old database before you install new.

@Bakual
Copy link
Contributor

Bakual commented Nov 17, 2021

Delete all Tags, Content Items (articles, contacs, ...), Categories, Menuitems.
Or do like Christiane said and delete the complete database and do a fresh installation :-)

@chmst chmst added the J4 Issue label Nov 21, 2021
@chmst
Copy link
Contributor

chmst commented Nov 21, 2021

So your issue is not the Error while installing, but the fact that the scrollbar is not deleted after an error message. The issue is related to Errors due to multiple starts of sample data installation. Maybe Related to #22634, #20479 - remove or disable the button after first installation of sample data

@Quy
Copy link
Contributor

Quy commented Jan 15, 2022

Duplicate #23633

@Quy
Copy link
Contributor

Quy commented Feb 9, 2022

Closing as duplicate.

@Quy Quy closed this as completed Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants