yunohost-apps / yunohost.multimedia Goto Github PK
View Code? Open in Web Editor NEWDossier multimedia pour les app Yunohost
License: GNU General Public License v3.0
Dossier multimedia pour les app Yunohost
License: GNU General Public License v3.0
On Debian Stretch, I get this when I delete a user:
Attention : ./50-ynh_media: ligne 6 : [: -n : opérateur binaire attendu
By the way, the hook assigns $1 to $user, but then uses $1 again...
Salut, j'essaye d'utiliser yunohost.multimedia pour l'app Couchpotato mais il semble manquer l'option dont j'ai besoin.
Je cherche à ajouter un dossier "Movie" dans share/video. Ce dossier movie n'existe que dans yunohost.multimedia, il n'a pas de source liée.
Est-il possible de faire cela avec ynh_media_addfolder.sh ? Je n'ai pas l'impression
Merci
D'abord merci pour ce package!
Sur nextCloud 19.0.3, activer yunohost.multimedia crée une erreur lorsque NextCloud rescanne ses dossiers:
# cd /var/www/nextcloud
# sudo -u nextcloud php7.3 occ files:scan sl
Starting scan for user 1 out of 1 (sl)
Exception during scan: Following symlinks is not allowed
#0 /var/www/nextcloud/lib/private/Files/Storage/Local.php(161): OC\Files\Storage\Local->getSourcePath('/Share')
#1 /var/www/nextcloud/lib/private/Files/Storage/Common.php(884): OC\Files\Storage\Local->getMetaData('/Share')
#2 [internal function]: OC\Files\Storage\Common->getDirectoryContent('')
#3 /var/www/nextcloud/lib/private/Files/Cache/Scanner.php(408): iterator_to_array(Object(Generator))
#4 /var/www/nextcloud/lib/private/Files/Cache/Scanner.php(388): OC\Files\Cache\Scanner->handleChildren('', true, 3, 377, true, 0)
#5 /var/www/nextcloud/lib/private/Files/Cache/Scanner.php(340): OC\Files\Cache\Scanner->scanChildren('', true, 3, 377, true)
#6 /var/www/nextcloud/lib/private/Files/Utils/Scanner.php(260): OC\Files\Cache\Scanner->scan('', true, 3)
#7 /var/www/nextcloud/apps/files/lib/Command/Scan.php(151): OC\Files\Utils\Scanner->scan('/sl', true, NULL)
#8 /var/www/nextcloud/apps/files/lib/Command/Scan.php(207): OCA\Files\Command\Scan->scanFiles('sl', '/sl', Object(Symfony\Component\Console\Output\ConsoleOutput), false, true, false)
#9 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\Files\Command\Scan->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/nextcloud/core/Command/Base.php(169): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1012): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/nextcloud/3rdparty/symfony/console/Application.php(272): Symfony\Component\Console\Application->doRunCommand(Object(OCA\Files\Command\Scan), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/nextcloud/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/nextcloud/console.php(100): OC\Console\Application->run()
#16 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#17 {main}
+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 26 | 4023 | 00:00:01 |
+---------+-------+--------------+
Et effectivement, dans /home/yunohost.app/nextcloud/data/nextcloud.log
on trouve:
{"reqId":"Ropa9zVO7SyUEfRXwEsB","level":3,"time":"2020-09-29T12:00:10+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Following symlinks is not allowed ('/home/yunohost.multimedia/sl//Share' -> '/home/yuno
host.multimedia/share/' not inside '/home/yunohost.multimedia/sl/')","userAgent":"--","version":"19.0.3.1"}
Est-ce que ce symlink est indispensable? Il rend yuhonhost.multimedia inutilisable avec nextCloud, à moins de retirer cette ligne manuellement.
Salut,
Je ne sais pas si c'est intéressant (et utile), mais est-il possible de donner l'accès en écriture qu'à certains dossiers ? Par exemple juste à share/video ?
Merci
I have an NFS read only mount on
$ mount
[snip]
192.168.0.25:/home/arthur/Music on /home/yunohost.multimedia/share/Music type nfs4 (rw,relatime,vers=4.1,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.17,local_lock=none,addr=192.168.0.25)
$ touch /home/yunohost.multimedia/share/Music/test
touch: cannot touch '/home/yunohost.multimedia/share/Music/test': Read-only file system
When installing calibreweb https://github.com/YunoHost-Apps/calibreweb_ynh I seem to end up in code from this repo
31245 ? S 0:00 | \_ /bin/bash ./yunohost.multimedia-master/script/ynh_media_build.sh
31897 ? S 0:00 | \_ sudo setfacl -RnL -m d:g:multimedia:rwX,g::rwX,o:r-X /home/yunohost.multimedia
31898 ? D 0:25 | \_ setfacl -RnL -m d:g:multimedia:rwX,g::rwX,o:r-X /home/yunohost.multimedia
yunohost tries to go through all the files and do setfacl on them and is failing. Could this be detected ?
The admin interface gets too many warnings and starts to lag, and the load reaches 10 quite fast.
Hi
Is it possible to share the app folder eg. /var/www/mywebapp/www into the Nextcloud for a user so that its easy to put files in the app folder without changing the app permissions?
Salut,
Sur un VPS, les ACL ne sont pas obligatoirement supportées. L'utilisation de setfacl
empêche l'installation de, par exemple, Transmission :(
Salut,
Je me demandais. Y a-t-il un intérêt à télécharger le master.zip puis le dézipper plutôt que git clone ?
Merci
How can I give the write access to the multimedia folder in the home/$user/Multimedia
I can only see the media folder in the home folder from owncloud for now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.