Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can't update the app from 1.11.0 to 1.12.0 #198

Closed
JVT038 opened this issue Apr 26, 2022 · 3 comments
Closed

Can't update the app from 1.11.0 to 1.12.0 #198

JVT038 opened this issue Apr 26, 2022 · 3 comments

Comments

@JVT038
Copy link

JVT038 commented Apr 26, 2022

Describe the bug
So I tried updating the app to 1.12.0, and I got an error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Nextcloud
  2. Click on Apps
  3. Scroll down to Recognize
  4. Click on 'Update'
  5. See error

Expected behavior
I expected the app to update like normal

Recognize (please complete the following information):

  • JS-only mode: Yes
  • Enabled modes: Face recognition, object recognition, landmark recognition, music genre recognition
  • 0 CPU cores (so no limit)

Server (please complete the following information):

  • Nextcloud: 23.0.4
  • OS: Nextcloud is running on a synology NAS, my client is windows 10
  • RAM: Nextcloud has 12GB, my client has 32GB
  • Processor Architecture Nextcloud is x86_64

Additional context
The logs are:

Error: preg_replace(): Unknown modifier 't' at /volume1/web/nextcloud/3rdparty/pear/archive_tar/Archive/Tar.php#2140

    <<closure>>

    OC\Log\ErrorHandler::onError(2, "preg_replac ... '", "/volume1/we ... p", 2140, { 0: "And 19 ... "})

    /volume1/web/nextcloud/3rdparty/pear/archive_tar/Archive/Tar.php - line 2140:

    preg_replace("@^/volume1/ ... @", "", "/volume1/@t ... r")

    /volume1/web/nextcloud/3rdparty/pear/archive_tar/Archive/Tar.php - line 573:

    Archive_Tar->_extractList("/volume1/@t ... r", [ { 0: "And ... "], "complete", 0, "", false, true)

    /volume1/web/nextcloud/3rdparty/pear/archive_tar/Archive/Tar.php - line 320:

    Archive_Tar->extractModify("/volume1/@t ... /", "", false, true)

    /volume1/web/nextcloud/lib/private/Archive/TAR.php - line 284:

    Archive_Tar->extract("/volume1/@t ... /")

    /volume1/web/nextcloud/lib/private/Installer.php - line 312:

    OC\Archive\TAR->extract("/volume1/@t ... /")

    /volume1/web/nextcloud/lib/private/Installer.php - line 194:

    OC\Installer->downloadApp("*** sensiti ... *", false)

    /volume1/web/nextcloud/apps/settings/lib/Controller/AppSettingsController.php - line 536:

    OC\Installer->updateAppstoreApp("*** sensiti ... *")

    /volume1/web/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 217:

    OCA\Settings\Controller\AppSettingsController->updateApp("*** sensiti ... *")

    /volume1/web/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 126:

    OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings ... {}, "updateApp")

    /volume1/web/nextcloud/lib/private/AppFramework/App.php - line 157:

    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "updateApp")

    /volume1/web/nextcloud/lib/private/Route/Router.php - line 302:

    OC\AppFramework\App::main("OCA\\Settin ... r", "updateApp", OC\AppFramew ... {}, { appId: "** ... "})

    /volume1/web/nextcloud/lib/base.php - line 1008:

    OC\Route\Router->match("/settings/a ... e")

    /volume1/web/nextcloud/index.php - line 36:

    OC::handleRequest()
Exception: Could not extract app recognize: Out-of-path file extraction {/volume1/@tmp/oc_tmp_LSO7pL-folder/recognize/node_modules/sass-loader/node_modules/.bin/semver --> ../semver/bin/semver.js}

    /volume1/web/nextcloud/lib/private/Installer.php - line 194:

    OC\Installer->downloadApp("*** sensiti ... *", false)

    /volume1/web/nextcloud/apps/settings/lib/Controller/AppSettingsController.php - line 536:

    OC\Installer->updateAppstoreApp("*** sensiti ... *")

    /volume1/web/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 217:

    OCA\Settings\Controller\AppSettingsController->updateApp("*** sensiti ... *")

    /volume1/web/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 126:

    OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings ... {}, "updateApp")

    /volume1/web/nextcloud/lib/private/AppFramework/App.php - line 157:

    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "updateApp")

    /volume1/web/nextcloud/lib/private/Route/Router.php - line 302:

    OC\AppFramework\App::main("OCA\\Settin ... r", "updateApp", OC\AppFramew ... {}, { appId: "** ... "})

    /volume1/web/nextcloud/lib/base.php - line 1008:

    OC\Route\Router->match("/settings/a ... e")

    /volume1/web/nextcloud/index.php - line 36:

    OC::handleRequest()
@marcelklehr
Copy link
Member

Does this still happen with the latest release?

@JVT038
Copy link
Author

JVT038 commented May 18, 2022

No, it doesn't.

@stale
Copy link

stale bot commented Jun 1, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 1, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants