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

Update to nextcloud 11.0.3 breaks nextant #168

Closed
linuxrrze opened this issue Apr 25, 2017 · 8 comments
Closed

Update to nextcloud 11.0.3 breaks nextant #168

linuxrrze opened this issue Apr 25, 2017 · 8 comments

Comments

@linuxrrze
Copy link

Hi,

I just upgraded my test instance to nextcloud 11.0.3 and nextant seems to be broken:
Files are no longer indexed.

My setup is fully automated using docker and the only difference between the working
and the broken setup is nextcloud version number:

11.0.2 -> OK
11.0.3 -> 0 files to index

More details:

Nextant config is the same on both installations:

> sudo -u www-data php occ config:list nextant
{
    "apps": {
        "nextant": {
            "configured": "1",
            "enabled": "yes",
            "index_bookmarks_last": "1493097739",
            "index_bookmarks_needed": "0",
            "index_files_filters_audio": "1",
            "index_files_filters_image": "1",
            "index_files_filters_office": "1",
            "index_files_filters_pdf": "1",
            "index_files_filters_text": "1",
            "index_files_last": "1493097739",
            "index_files_needed": "0",
            "index_locked": "0",
            "installed_version": "1.0.6",
            "solr_core": "nextant",
            "solr_timeout": "30",
            "solr_url": "http:\/\/solr.erlug.de:8983\/solr\/",
            "types": "filesystem"
        }
    }
}

However on 11.0.2 index works:

> sudo -u www-data php occ nextant:index
nextant v1.0.6

* Extracting files:

%admin/files                     0/     0 [>---------------------------]   0% 
  [preparing]                                      
  147 file(s) processed ; 0 orphan(s) removed
  147 documents indexed ; 147 fully extracted
  16 file(s) were not processed (failure)

* Updating files:

/admin/files                  1078/  1078 [============================] 100% 
                                                   
  0 document(s) updated ; 0 failure(s)

Time spent: 00:04:07
Your index now contains 9 segments

While on 11.0.3 it doesn't:

> sudo -u www-data php occ nextant:index
nextant v1.0.6

* Extracting files:

%admin/files                     0/     0 [>---------------------------]   0%
  [preparing]
  0 file(s) processed ; 0 orphan(s) removed
  0 documents indexed ; 0 fully extracted

* Updating files:

/admin                           0/     0 [>---------------------------]   0%

  0 document(s) updated ; 0 failure(s)

Time spent: 00:00:00
Your index now contains 0 segments
@Moskito99
Copy link

Same for me on docker and Nextcloud 11.0.3
Yesterday with Nextcloud 11.0.2 everything was working fine.

@alexwyl
Copy link

alexwyl commented Apr 27, 2017

Same for me too on Solr6.5 + NC 11.03 in a virtualbox WM.
BTW: I have spent over 10 hours trying to figure out if I miss some critical steps during the upgrade, and finally end up here.

@enoch85
Copy link
Member

enoch85 commented Apr 27, 2017

I have had emails regarding this with the Nextcloud VM as well.

ArtificialOwl added a commit that referenced this issue Apr 27, 2017
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
@ArtificialOwl
Copy link
Member

Please read 11.0.3/12 in the last commit :]

@linuxrrze
Copy link
Author

I just replaced the mentioned line - however "occ nextant:index" still reports 0 files :-(

@linuxrrze
Copy link
Author

Ah - 145.000 files are indexing again

(That's the one with "$folder->search('%')" )

@Moskito99
Copy link

f2a4cc1 also worked for me!

@enoch85
Copy link
Member

enoch85 commented Apr 28, 2017

Ah - 145.000 files are indexing again

--> closing

@enoch85 enoch85 closed this as completed Apr 28, 2017
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