Comments (24)
Fixed in dec7e58
from recognize.
what other manual way is there besides what i tried? i also tried the webinterface, same issue
Move the recognize
folder out of the apps
folder. Next, download the release archive from the release page and unpack it in the apps
folder. Then chown -R www-data:www-data /var/www/nextcloud/apps/recognize
.
After that, the upgrade is done in the browser.
from recognize.
Hi, sorry for your troubles and thank you for reporting! The new version seems to have some toothing problems. I'll investigate and release patches soon.
from recognize.
It seems I cannot circumvent this bug, so I've reopened it here and over here: nextcloud/server#26708
from recognize.
attempted both 1.6 release and 1.5.8 release, same results
from recognize.
yap exactly.
and if you try to reinstall you receive this error:
Could not extract app recognize: Out-of-path file extraction {/tmp/oc_tmp_T0cTMU-folder/recognize/node_modules/@tensorflow/tfjs-node-gpu/deps/lib/libtensorflow.so.2 --> libtensorflow.so.2.5.0}
from recognize.
Same problem here: Message":"Could not extract app recognize: Out-of-path file extraction {/volume1/@tmp/oc_tmp_aYHmf1-folder/recognize/node_modules/@tensorflow/tfjs-node-gpu/deps/lib/libtensorflow.so.2 --> libtensorflow.so.2.5.0}
from recognize.
When will you push it to the nextcloud store?
Their is still the old version avialable.
from recognize.
New version is available now. Let me know if there are additional issues
from recognize.
Thanks. Upgrade from the GUI failed. On the commandline it reports:
# sudo -u http php74 /var/www/nextcloud/occ app:update recognize
Nextcloud is in maintenance mode - no apps have been loaded
recognize new version available: 1.5.3
/volume1/web/nextcloud/apps/recognize/bin/node-v14.17.4-linux-armv7l: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
recognize updated
Despite the error message recognize is now reported to be on version 1.5.3
The library reported in the error does exist on the filesystem
# ls -l /volume1/web/nextcloud/apps/recognize/bin/node-v14.17.4-linux-armv7l
-rwxr-xr-x 1 http http 67904012 Aug 20 20:06 /volume1/web/nextcloud/apps/recognize/bin/node-v14.17.4-linux-armv7l
from recognize.
@hdridder Are you running on armv7l? The library reported missing is libatomic.so.1
from recognize.
Yes it is armv71 on a synology DS214÷
from recognize.
I just tried to install the app on 21.0.4, raspbian:
sudo -u www-data /usr/bin/php /var/www/nextcloud/occ app:install recognize Error: Could not extract app recognize: Out-of-path file extraction {/tmp/oc_tmp_pofTyG-folder/recognize/node_modules/@tensorflow/tfjs-node-gpu/deps/lib/libtensorflow.so.2 --> libtensorflow.so.2.5.0}
from recognize.
A manual update of the app seems to work.
from recognize.
A manual update of the app seems to work.
what other manual way is there besides what i tried? i also tried the webinterface, same issue
from recognize.
Trying DecaTec's solution showed a 'Saving of node binary failed' message. I had to put the old recognize folder back and manually turn the maintenance mode off in config.php
"message":{
"Exception":"Exception",
"Message":"Saving of node binary failed",
"Code":0,
"Trace":[
{
"file":"/var/www/nextcloud/apps/recognize/lib/Migration/RegisterBinary.php",
"line":55,
"function":"downloadBinary",
"class":"OCA\\Recognize\\Migration\\RegisterBinary",
"type":"->",
"args":[
"v14.17.4",
"arm64"
]
},
{
"file":"/var/www/nextcloud/lib/private/Repair.php",
"line":118,
"function":"run",
"class":"OCA\\Recognize\\Migration\\RegisterBinary",
"type":"->",
"args":[
{
"__class__":"OC\\Repair"
}
]
},
{
"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php",
"line":1062,
"function":"run",
"class":"OC\\Repair",
"type":"->",
"args":[
]
},
{
"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php",
"line":1004,
"function":"executeRepairSteps",
"class":"OC_App",
"type":"::",
"args":[
"*** sensitive parameter replaced ***",
{
"step":"OCA\\Recognize\\Migration\\RegisterBinary"
}
]
},
{
"file":"/var/www/nextcloud/lib/private/Updater.php",
"line":340,
"function":"updateApp",
"class":"OC_App",
"type":"::",
"args":[
"*** sensitive parameters replaced ***"
]
},
{
"file":"/var/www/nextcloud/lib/private/Updater.php",
"line":260,
"function":"doAppUpgrade",
"class":"OC\\Updater",
"type":"->",
"args":[
]
},
{
"file":"/var/www/nextcloud/lib/private/Updater.php",
"line":132,
"function":"doUpgrade",
"class":"OC\\Updater",
"type":"->",
"args":[
"21.0.4.1",
"21.0.4.1"
]
},
{
"file":"/var/www/nextcloud/core/ajax/update.php",
"line":214,
"function":"upgrade",
"class":"OC\\Updater",
"type":"->",
"args":[
]
}
],
"File":"/var/www/nextcloud/apps/recognize/lib/Migration/RegisterBinary.php",
"Line":104,
"CustomMessage":"--"
}
from recognize.
@vanderheyde Make sure you chown to the right user. It should be the user of your http server (the one you use for running occ).
from recognize.
@vanderheyde Make sure you chown to the right user. It should be the user of your http server (the one you use for running occ).
I did. Also attempted to update via commandline with same result:
/var/www/nextcloud/apps$ chown -R www-data:www-data recognize/
/var/www/nextcloud/apps$ cd ..
/var/www/nextcloud$ sudo -u www-data php ./occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Updating <recognize> ...
Exception: Saving of node binary failed
Update failed
Maintenance mode is kept active
Resetting log level
from recognize.
I guess, then you'll have to wait until this issue is fixed :/
from recognize.
fyi, this appears to be fixed in v22
from recognize.
from recognize.
Is it a package size issue?
Yep, I'm working on it :)
from recognize.
Not working since version 1.5.8:
Nextcloud 21.0.3
Recognize 1.6.3
TensorFlow 2.5.0 {/usr/lib/libtensorflow.so.2 -> libtensorflow.so.2.5.0
}
sudo -u www-data php ./occ app:install recognize
Error: Could not extract app recognize: Out-of-path file extraction {/tmp/oc_tmp_UhJNSO-folder/recognize/node_modules/@tensorflow/tfjs-node/deps/lib/libtensorflow.so.2 --> libtensorflow.so.2.5.0}
from recognize.
To be clear: This is a bug in nextcloud < 22 that I cannot circumvent without bloating up the bundle causing the appstore to reject the bundle. (I have tried.)
from recognize.
Related Issues (20)
- Processing loop HOT 14
- Recrawl background jobs only working during the night (but exceeds maintenance window) HOT 5
- recrawl / classify - only not tagged files HOT 8
- Error in recognize file listener HOT 3
- Allowed memory size of xxx bytes exhausted (tried to allocate yyy bytes) at MrdBallTree.php on line 449 HOT 3
- NPU off-loading HOT 1
- Make temporary image cache configurable HOT 1
- Add Marker to tag People on photos HOT 1
- can't set image area used for temporary files HOT 6
- Face detections and clusters in external folders mounted for multiple users
- Support Native Mode for AIO HOT 2
- SQL Error while running landmark recognition HOT 4
- Uploaded file not added to queues (Exception postInsert) HOT 2
- Error with Recognize - fcntl64: symbol not found HOT 5
- NC 30 Support HOT 5
- NextCloud error: Data too long for column 'version' at row 1 HOT 3
- Add option to customize model download location HOT 1
- Share folders on external storage with user groups doesn't work HOT 3
- View/confirm newly added photos HOT 1
- running recognize in userspace HOT 2
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 recognize.