Comments (11)
@mykbas bin/console (bin/adminconsole) will only create indexes of the admin for the website you need call bin/websiteconsole
from sulu-minimal.
do not know why but after some time publishing posts on 1.6 project the index for 'page_example_published' appeared, but I think the default to see zero found
as in v.1.5 would be better for newly created applications.
from sulu-minimal.
and bin/console massive:search:index:rebuild
doesn't create page_example_published
however there are published pages in database, this index folder is somehow created on publishing new data...
from sulu-minimal.
@alexander-schranz I've just tried removing indexes folders and running with bin/websiteconsole massive:search:index:rebuild
on barebone sulu-minimal v1.6 - only massive_contact
and massive_page-en-i18n
created and same error Search indexes "page_example_published" not known.
for search on homepage.
from sulu-minimal.
@mykbas I'm not able to reproduce it. Can you check it for a new project by running the following commands:
composer create-project sulu/sulu-minimal my-project
cd new-project
bin/adminconsole sulu:build dev
# now you should see a list of indexes
ls var/indexes/
bin/adminconsole massive:search:purge --all --force
# now no indexes should be listed
ls var/indexes/
bin/adminconsole massive:search:reindex
# now the following indexes should be listed
# - massive_category-en-i18n
# - massive_page_example-en-i18n
# - massive_contact
# - massive_media-en-i18n
# - massive_snippet-en-i18n
# - massive_page-en-i18n
ls var/indexes/
bin/websiteconsole massive:search:reindex
# now also the published index is listed there:
# - massive_page_example_published-en-i18n
ls var/indexes/
from sulu-minimal.
@alexander-schranz for comparison I just tried on the same environment PHP7.0 v1.6 and 1.5 (previously tried also v1.3 - indexes worked as in 1.5) with output below:
Sulu CMS 1.6
composer create-project sulu/sulu-minimal project
cd project
# var/indexes - nothing there
bin/adminconsole sulu:build dev
# now you should see a list of indexes
ls var/indexes/
# - massive_contact
# - massive_page-en-i18n
bin/adminconsole massive:search:purge --all --force
# now no indexes should be listed
ls var/indexes/
# var/indexes - nothing there
bin/adminconsole massive:search:reindex
ls var/indexes/
# - massive_contact
# - massive_page-en-i18n
bin/websiteconsole massive:search:reindex
ls var/indexes/
# - massive_contact
# - massive_page-en-i18n
Sulu CMS 1.5
composer create-project sulu/sulu-minimal project 1.5
cd project
# var/indexes - nothing there
bin/adminconsole sulu:build dev
# now you should see a list of indexes
ls var/indexes/
# - massive_contact
# - massive_page_example-en-i18n
# - massive_page_example_published-en-i18n
bin/adminconsole massive:search:purge --all --force
# now no indexes should be listed
ls var/indexes/
# var/indexes - nothing there
bin/adminconsole massive:search:reindex
ls var/indexes/
# - massive_contact
# - massive_page_example-en-i18n
bin/websiteconsole massive:search:reindex
ls var/indexes/
# - massive_contact
# - massive_page_example-en-i18n
# - massive_page_example_published-en-i18n
from sulu-minimal.
@mykbas does this only happens when you have no pages? or when you create a new page in the tree and purge and reindex the published does also exist in 1.6?
from sulu-minimal.
@alexander-schranz it happens with no pages. When I create new page via admin panel published
index folder appears, but after purging and reindexing (also with bin/websiteconsole) published
is missing again for v1.6. Next time index is created after continuing adding new pages via admin panel.
from sulu-minimal.
@mykbas how did you purge and reindex? What is the output of reindexing command.
from sulu-minimal.
@alexander-schranz Thanks for your patience and pointing out the right direction. Probably I messed smth up with consoles or maybe there were leftovers in docker containers, I was reproducing the whole workflow from scratch and it seems to be working now:
- Creating a new project
sulu/sulu-minimal (1.6.16)
composer create-project sulu/sulu-minimal project
cd project
bin/adminconsole sulu:build dev
ls var/indexes/
# - massive_contact
# - massive_page-en-i18n
- Add a new simple page via content in admin panel.
ls var/indexes/
# - massive_contact
# - massive_page-en-i18n
# - massive_page_example-en-i18n
# - massive_page_example_published-en-i18n
- Purge, reindex and check:
bin/adminconsole massive:search:purge --all --force
ls var/indexes/
# empty
bin/adminconsole massive:search:reindex
ls var/indexes/
# - massive_contact
# - massive_page-en-i18n
# - massive_page_example-en-i18n
bin/websiteconsole massive:search:reindex
ls var/indexes/
# - massive_contact
# - massive_page-en-i18n
# - massive_page_example-en-i18n
# - massive_page_example_published-en-i18n
from sulu-minimal.
This is definitely not fixed. Just set up a new sulu instance through sulu-docker and encountered the same problem., the steps above did not help.
from sulu-minimal.
Related Issues (20)
- Admin Login page blank after following "Getting Started" instructions HOT 4
- Route problems HOT 4
- .env file not found at composer create project HOT 1
- Memory error when installing `sulu-minimal` via Composer HOT 2
- Memory error when installing `sulu-minimal` via Composer HOT 4
- admin-bundle javascript hooks advice HOT 6
- No admin dashboard HOT 2
- Routing seems to be messed up right out of the box HOT 3
- no vendor folder after project install HOT 2
- Update deprecated SEO twig functions HOT 1
- Cannot add new media folder - forbidden due to permissions HOT 1
- ProxyManager FileNotWritableException HOT 2
- twig recompile on dev environment
- Parse error: syntax error, unexpected ':', expecting ';' HOT 5
- add Docker container for dev environment HOT 3
- Separate xml templates for each workspace HOT 5
- Teaser missing data after clear indexes folder HOT 2
- Problems on running php bin/adminconsole sulu:build dev HOT 1
- `./bin/console cache:clear` fails when running Sulu minimal on vagrant HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sulu-minimal.