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

Can't delete articles in Sulu 2.0 #409

Closed
almare opened this issue Nov 5, 2019 · 4 comments
Closed

Can't delete articles in Sulu 2.0 #409

almare opened this issue Nov 5, 2019 · 4 comments

Comments

@almare
Copy link

almare commented Nov 5, 2019

Q A
Bug? yes
New Feature? no
SuluArticleBundle Version developer version
Sulu Version 2.0

Actual Behavior

Added articles can't be deleted.
Could not find document with ID or path "49396c20-0dd8-472d-9f33-62042f7244ad"

Expected Behavior

The articles should be deletable inside admin view.

Steps to Reproduce

Add article and try to delete them.

Possible Solutions

@almare
Copy link
Author

almare commented Jan 7, 2020

message {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [su_articles_live]","resource.type":"index_or_alias","resource.id":"su_articles_live","index_uuid":"_na_","index":"su_articles_live"}],"type":"index_not_found_exception","reason":"no such index [su_articles_live]","resource.type":"index_or_alias","resource.id":"su_articles_live","index_uuid":"_na_","index":"su_articles_live"},"status":404}

Is elasticsearch a hard requirement to get it working? I ask due tu the bug with elasticsearch 6.0?

I think I have to explain what I have done so far. Locally I have a elasticsearch 7.5 version running. This is not compatible with sulu at all. So I deactivated the elasticsearch integration completly. Than I installed the article bundle which added the ongr bundle. The error tells me I have a problem with the elasticsearch integration. Do I need the ongr package additionally to the massive search package? It's a bit confusing. Thank you for your attention.

@alexander-schranz
Copy link
Member

@almare Sorry for the late response!

As mentioned in the Readme Elasticsearch is a hard requirement (see also here).

Currently its not yet possible to use elasticsearch 7 see #431. Currently if you want to install SuluArticleBundle you need to use Elasticsearch 6.

So try please the following:

        "elasticsearch/elasticsearch": "^6.5",
        "ongr/elasticsearch-bundle": "^5.2@dev",
        "sulu/article-bundle": "^2.0@dev",

And use ES6 as endpoint.

@almare
Copy link
Author

almare commented Jan 31, 2020

@alexander-schranz Thank you for your explanation.

I don't have generally a problem with elasticsearch. This is from my point of view the right decision, even for small sites. All my projects use es, my problem is I don't want to maintain different versions / instances of es on the same webserver. That's basically all (maybe because of I never tried before).
I just hope sulu will get es 7 support :-) and I am fine

@almare
Copy link
Author

almare commented Feb 8, 2020

The issue is indeed based on the wrong es version. After a downgrade the articles could be deleted. I will close this issue for this reason. Thank you for your support.

@almare almare closed this as completed Feb 8, 2020
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

2 participants