
Recherche avancée
Autres articles (99)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (11466)
-
Anomalie #4668 (Nouveau) : Erreur 500 : failed to open dir : Permission denied
15 février 2021, par Pierre KUHNBonjour,
Avec la dernière version de 4.3.0 on bloque à la fin :
- <span class="CodeRay"><span class="constant">Fatal</span> error: <span class="constant">Uncaught</span> <span class="constant">UnexpectedValueException</span>: <span class="constant">RecursiveDirectoryIterator</span>::__construct(./docker/database/mysql): failed to open dir: <span class="constant">Permission</span> denied in /<span class="keyword">var</span>/www/html/octoshow/spip_loader.php:<span class="integer">998</span> <span class="constant">Stack</span> trace: <span class="comment">#0 [internal function]: RecursiveDirectoryIterator->__construct('./docker/databa...', 12288) #1 [internal function]: RecursiveDirectoryIterator->getChildren() #2 [internal function]: FilterIterator->rewind() #3 /var/www/html/octoshow/spip_loader.php(998): FilterIterator->rewind() #4 /var/www/html/octoshow/spip_loader.php(928): SL_lister_contenus_superflus(Array, './', Array) #5 /var/www/html/octoshow/spip_loader.php(887): SL_comparer_contenus(Array, './') #6 /var/www/html/octoshow/spip_loader.php(1187): SL_nettoyer_superflus(Array, './') #7 /var/www/html/octoshow/spip_loader.php(1345): spip_deballe_paquet('spip/archives/s...', './spip-v3.2.9.z...', '', 0) #8 /var/www/html/octoshow/spip_loader.php(1462): spip_deballe('spip/archives/s...', 'fichier', '', 0) #9 {main} thrown in /var/www/html/octoshow/spip_loader.php on line 998</span>
- </span>
Je travail sur docker, les droits
rw-rw---1 999 999
Merci -
Anomalie #3689 (Nouveau) : Des messages d’erreurs qui ne semblent pas avoir lieu d’être
9 février 2016, par Franck DalotBonjour :-)
SPIP 3.1.0 [22811]
Php 5.6.15
Table en MySQL
Prefix des table : test12Quand je télécharge le squelette "scolaspip" en version 4 http://plugins.spip.net/scolaspip.html via SVP, j’ai systématiquement un message d’erreur qui ne me semble pas avoir lieu d’être (voir copie d’écran erreur 0)
Si dans .../ecrire/ ?exec=admin_plugin&voir=actif je clique sur "Tout cocher", que je choisi "désinstaller", j’ai systématiquement un autre message (voir copie d’écran erreur 1)A savoir que cela fait pareil en SPIP 3.0.21 [22462]
J’ai fait aussi un test en 3.0.21 avec le squelette "SPIPMine 2.0.1 - dev" http://plugins.spip.net/spipmine.html car il necessite également spipr, j’ai le même message que la copie d’écran 0, par contre, je ne peux pas dire pour l’autre message, car SVP semble avoir un problème quand il y a pas mal de necessite, je suis dans l’obligation de réactualiser la page, mais ce point demanderait confirmation par une autre personne
Franck -
Update Database After shell_exec() Using FFMPEG/Laravel
25 avril 2020, par MikeI want to update a database record (MySQL) after the FFMPEG process is complete. Normally I would just call a function just after the FFMPEG command, but I needed to add
> /dev/null 2>/dev/null &
so I didn't have to wait for the FFMPEG process to complete which would mean the REST call would hang for a LONG time and that would cause bad UX for the front-end.


I'm not sure where to begin with it. My first thought is to make a REST request, but maybe calling the method in Laravel directly would be better.



Can I do a curl call after the FFMPEG command ? Or can I call a PHP method ? Or is there a better way ?



PHP FFMPEG Method



private function transcode($movie)
{
 try {
 $name = 'master.' . $movie->extension;
 $this->path = storage_path('app/public/movies/') . $movie->id . '/';
 $fps = $this->getFrameRate($name);
 $width = $this->getVideoWidth($name);
 $height = $this->getVideoHeight($name);

 // ffmpeg commands
 $c = $this->buildCommand($width, $height, $fps);

 // ffmpeg - added '> /dev/null 2>/dev/null &' so it will not wait to finish
 $ffmpeg = shell_exec('ffmpeg -i ' . $this->path . $name . ' -progress ' . $this->path . 'transcode.log' . $c . ' > /dev/null 2>/dev/null &');

 return response()->json(['message' => 'transcode initiated'], 200); 

 }
 catch(\Exception $e)
 {
 return response()->json(['error' => $e->getMessage()], 500);
 }
}




Here is the bash curl post idea



$curl = 'curl --data "param1=value1&param2=value2" http://hostname/transcode/complete';

$ffmpeg = shell_exec('ffmpeg -i ' . $this->path . $name . ' -progress ' . $this->path . 'transcode.log' . $c . '; $curl > /dev/null 2>/dev/null &');




I could be going down the wrong path with the above, but I'm trying to move forward with something.