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

Unable to compile v 1.7 #148

Closed
Pheromon opened this issue Jul 11, 2021 · 15 comments
Closed

Unable to compile v 1.7 #148

Pheromon opened this issue Jul 11, 2021 · 15 comments

Comments

@Pheromon
Copy link

When running npm run buildweb I get this error:

compilation errors [
  ModuleNotFoundError: Module not found: Error: Can't resolve 'path' in '/home/sw/rats-search/node_modules/create-torrent'

  BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
  This is no longer the case. Verify if you need this module and configure a polyfill for it.
[...]
@DEgITx
Copy link
Owner

DEgITx commented Jul 11, 2021

must be fixed in master

@Pheromon
Copy link
Author

So do I need to wait for a 1.7.1 release for fixing it or do I just run master?
My main issue is to not lose the database I build in many weeks

@DEgITx
Copy link
Owner

DEgITx commented Jul 11, 2021

if you run 1.7 the db already must be converted in new format, but i recomented before switching it backup

otherway you can run from master or wait 1.7.1 - both must be fine

@Pheromon
Copy link
Author

Are there any instructions on how to convert the db to the new format? I couldn't find any

@DEgITx
Copy link
Owner

DEgITx commented Jul 11, 2021

it will be automatic in background when you run 1.7 version

@Pheromon
Copy link
Author

it seems like it does not:

[sphinx] sphinx: starting daemon version '3.6.0 96d61d8bf@210504 release' ...

[sphinx] sphinx: listening on 127.0.0.1:9312 for sphinx and http(s)
listening on 127.0.0.1:9306 for mysql
Manticore 3.6.0 96d61d8bf@210504 release
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-2021, Manticore Software LTD (https://manticoresearch.com)

WARNING: key 'max_children' was permanently removed from configuration. Refer to documentation for details.
precaching index 'torrents'

[sphinx] sphinx: WARNING: index 'torrents': prealloc: indexes with meta prior to v.14 are no longer supported (use index_converter tool); /home/sw/rats-search/database/torrents.meta is v.13 - NOT SERVING
precaching index 'files'
WARNING: index 'files': prealloc: indexes with meta prior to v.14 are no longer supported (use index_converter tool); /home/dw/rats-search/database/files.meta is v.13 - NOT SERVING
precaching index 'version'
WARNING: index 'version': prealloc: indexes with meta prior to v.14 are no longer supported (use index_converter tool); /home/sw/rats-search/database/version.meta is v.13 - NOT SERVING
precaching index 'store'

[sphinx] sphinx closing...
[sphinx] revent start
[sphinx] sphinx: WARNING: index 'store': prealloc: indexes with meta prior to v.14 are no longer supported (use index_converter tool); /home/sw/rats-search/database/store.meta is v.13 - NOT SERVING
precaching index 'feed'
WARNING: index 'feed': prealloc: indexes with meta prior to v.14 are no longer supported (use index_converter tool); /home/sw/rats-search/database/feed.meta is v.13 - NOT SERVING

[sphinx] sphinx: accepting connections
prereading 0 indexes

[sphinx] sphinx: prereaded 0 indexes in 0.000 sec

[sphinx] sphinx: caught SIGTERM, shutting down

@DEgITx
Copy link
Owner

DEgITx commented Jul 11, 2021

Create new ticket and upload somewhere full db folder with binlog.*

@Pheromon
Copy link
Author

in the database folder I have a lot of files named feed., files. torrents.* version.*

but I've no binlog.* anywhere

@Pheromon
Copy link
Author

if the "database" folder is useful enough I'll find a way to upload it, but it's almost 4GB in size :-|

@DEgITx
Copy link
Owner

DEgITx commented Jul 11, 2021

oh, maybe it was needed some time for converting some big one

[sphinx] sphinx: prereaded 0 indexes in 0.000 sec

[sphinx] sphinx: caught SIGTERM, shutting down

after this message must start process of converting to new one, I don't see any, and if started with such big db, it can took some time, with my 500mb is around 10 secs was

@DEgITx
Copy link
Owner

DEgITx commented Jul 11, 2021

if it not stating thats meen the problem, it will be great if you share your db somehere for example in google drive

@DEgITx
Copy link
Owner

DEgITx commented Jul 11, 2021

I don't see you db is converted, so I still recomended to backup it before 1.7.x version start

@Pheromon
Copy link
Author

it seems like it's too late... now after having downgraded to 1.6 I got this error:

[sphinx] sphinx: WARNING: index 'torrents': prealloc: indexes with meta prior to v.14 are no longer supported (use index_converter tool); /home/dusty/rats-search/database/torrents.meta is v.13 - NOT SERVING

[sphinx] sphinx closing...
[sphinx] revent start
[sphinx] sphinx: precaching index 'files'
WARNING: index 'files': prealloc: indexes with meta prior to v.14 are no longer supported (use index_converter tool); /home/dusty/rats-search/database/files.meta is v.13 - NOT SERVING
precaching index 'version'
WARNING: index 'version': prealloc: indexes with meta prior to v.14 are no longer supported (use index_converter tool); /home/dusty/rats-search/database/version.meta is v.13 - NOT SERVING
precaching index 'store'
WARNING: index 'store': prealloc: indexes with meta prior to v.14 are no longer supported (use index_converter tool); /home/dusty/rats-search/database/store.meta is v.13 - NOT SERVING
precaching index 'feed'
WARNING: index 'feed': prealloc: indexes with meta prior to v.14 are no longer supported (use index_converter tool); /home/dusty/rats-search/database/feed.meta is v.13 - NOT SERVING

[sphinx] sphinx: prereading 0 indexes
accepting connections
prereaded 0 indexes in 0.000 sec

So I suppose my db is unrecoverable now?

DEgITx pushed a commit that referenced this issue Jul 12, 2021
## [1.7.1](v1.7.0...v1.7.1) (2021-07-12)

### Bug Fixes

* **core:** update to new version ([022b339](022b339))
* **ui:** fix blank screen on app start [#147](#147) ([05d84df](05d84df))
* **web:** fixed compilation with create-torrent [#148](#148) ([678a999](678a999))
@Pheromon
Copy link
Author

How may I upgrade to 1.8 without the risk of losing my db?

@DEgITx
Copy link
Owner

DEgITx commented Sep 13, 2021

Correctly close application and backup database folder before upgrade

DEgITx pushed a commit that referenced this issue Jun 1, 2023
## [1.7.1](v1.7.0...v1.7.1) (2021-07-12)

### Bug Fixes

* **core:** update to new version ([022b339](022b339))
* **ui:** fix blank screen on app start [#147](#147) ([05d84df](05d84df))
* **web:** fixed compilation with create-torrent [#148](#148) ([678a999](678a999))
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