please help needed pharsea

227 views
Skip to first unread message

Antoine Didace

unread,
Oct 26, 2012, 12:00:57 PM10/26/12
to phrasea-i...@googlegroups.com, a.di...@mediactive.fr
hello everyone ,

i am finding certain problems in installing phrasenet  i followed your offical document ( https://docs.phraseanet.com/3.7/fr/Admin/Indexeur.html


for twig  i followed this one   hhttps://gist.github.com/1014846 



i am laging in my deadline a liitle help will be appricaited  and i  am broken and no  ideas r flowing as of now .

i  need oa help from you guys 
phar.docx

Romain Viovi

unread,
Oct 26, 2012, 12:42:47 PM10/26/12
to phrasea-i...@googlegroups.com
Hello Antoine,

I do not understand what is your problem.

-- 
Romain

Attachments:
- phar.docx

Romain Viovi

unread,
Oct 26, 2012, 12:44:04 PM10/26/12
to phrasea-i...@googlegroups.com
FYI Antoine,

there' s a french mailing list : phrasea-i...@googlegroups.com

Google is telling me you're french

-- 
Romain

Antoine Didace

unread,
Oct 29, 2012, 6:36:25 AM10/29/12
to phrasea-i...@googlegroups.com
hello sir ,

i have installed pharsea via the link above and i have installed  pharsea2 adn twig by the links fournished .
I have also installed the necessary packages  associated .

the problem is when i access by the url  i have the error message  as above .
i need ur help please  .

i have also added the neccessary in    /usr/lib/php5/20090626   ( i use  a ubuntu 12 ) 

 

Antoine Didace

unread,
Oct 29, 2012, 6:36:53 AM10/29/12
to phrasea-i...@googlegroups.com


On Friday, October 26, 2012 6:44:06 PM UTC+2, Romain wrote:
FYI Antoine,

there' s a french mailing list : phrasea-install-fr@googlegroups.com

Romain Viovi

unread,
Oct 29, 2012, 6:42:28 AM10/29/12
to phrasea-i...@googlegroups.com
I do not see your image, what is the error message ?

-- 
Romain

Antoine Didace

unread,
Oct 29, 2012, 6:50:06 AM10/29/12
to phrasea-i...@googlegroups.com
here it is  sir for you , i think you may have an idea of what i am saying 
hope it helps you to narrrow down
phar.docx

Romain

unread,
Oct 29, 2012, 6:53:26 AM10/29/12
to phrasea-i...@googlegroups.com
FYI, you should never send email containing attachments in a such proprietary format.

You just have to restart you web server

Antoine Didace

unread,
Oct 29, 2012, 7:02:32 AM10/29/12
to phrasea-i...@googlegroups.com
i am sorry sir , i will take care of it

right now i am this one 

Welcome, You are about to install Phraseanet

Check Online for required list of components and web server setup

You will need a MySQL server, documents storage folders, and setup web server to publish some of these folders

Please take notice of the followings points, and finish installation.

twig missingNo opcode cache detected. Phraseanet highly recommends the use of XCache or APC.It is not recommended to install Phraseanet without HTTPS support

my db is mariadb
can i install a phpmyadmin for mariadb . is it possible ?

 can u help me out  sir   i am just an intermediate only .

Romain Viovi

unread,
Oct 29, 2012, 7:07:54 AM10/29/12
to phrasea-i...@googlegroups.com
Hello Antoine,

MariaDB is a drop in replacement for MySQL, so yes.

You require some sys admin right to install Phraseanet.

-- 
Romain

Antoine Didace

unread,
Oct 29, 2012, 7:19:13 AM10/29/12
to phrasea-i...@googlegroups.com
hello sir ,
thanks for the info  , my web server is ngnix .

I installed everything by root user.
To concerned files of pharsea it is www-data .

what are the db to be added and with what privilege . ?

Antoine Didace

unread,
Oct 29, 2012, 10:25:56 AM10/29/12
to phrasea-i...@googlegroups.com
hello sir ,

hello sir ,


i do find some error in step 2  . You can see the attached file  .

for the indexeur  i have followed this one inthe officiel site ..
git clone https://github.com/alchemy-fr/Phraseanet-Indexer phraseanet_indexer
cd phraseanet_indexer
aclocal
automake -a
autoconf
./configure
make
make install



but after that i see something odd

if test -n ""; \
        then install_name_tool -change `otool -L ./phraseanet_indexer |cut -f1 -d" "|grep libmysql` /libmysqlclient.dylib ./phraseanet_indexer; \
        fi;
root@xxxxxx:/usr/local/src/phraseanet_indexer# make install
if test -n ""; \
        then install_name_tool -change `otool -L ./phraseanet_indexer |cut -f1 -d" "|grep libmysql` /libmysqlclient.dylib ./phraseanet_indexer; \
        fi;
make[1]: Entering directory `/usr/local/src/phraseanet_indexer'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /usr/bin/install -c phraseanet_indexer '/usr/local/bin'
make[1]: Nothing to be done for `install-data-am'.
make[1]: Leaving directory `/usr/local/src/phraseanet_indexer'

can you help me out please
2.docx

Romain Viovi

unread,
Oct 29, 2012, 11:20:43 AM10/29/12
to phrasea-i...@googlegroups.com
This is a known issue

instead of make install, just copy :

sudo copy -f phraseanet_indexer /usr/local/bin/

-- 
Romain

Attachments:
- 2.docx

Antoine Didace

unread,
Oct 29, 2012, 11:41:00 AM10/29/12
to phrasea-i...@googlegroups.com
hello sir ,

i have just done the following ..that does not change  and i have restarted the service that does not change
can u please help

Antoine Didace

unread,
Oct 29, 2012, 11:54:58 AM10/29/12
to phrasea-i...@googlegroups.com
hello sir ,
to just test the indexeur  i have done the following commands  as in your blog


phraseanet_indexer -? 
hraseanet_indexer version 3.9.0.8
Usage : phraseanet_indexer <options>
[-? | --help] : this help
[-v | --version : display version and quit
[-h | --host]=<addr> : host addr. of applicationBox (default '127.0.0.1')
[-P | --port]=<port> : port of applicationBox (default '3306')
[-b | --base]=<base> : database of applicationBox (default 'phrasea')
[-u | --user]=<user> : user account for connection to applicationBox (default 'root')
[-p | --password]=<pwd> : password for connection to applicationBox (default '')
[-s | --socket]=<port> : port for telnet control (default none)
[-f | --flush]=<n> : flush every n records (default 50)
[-o | --old] : use old 'sbas' table instead of 'xbas'
[ --quit] : index once and quit
[-c | --clng]=<lng> : default language for new candidates terms (default 'fr')
[-n | --nolog] : do not log, but out to console
[-d | --debug]=<mask> : debug mask (to console)
1 : xml parsing
2 : sql errors
4 : sql ok
8 : memory alloc.
16 : record ops.
32 : structure ops.
64 : flush ops.
[-@ | --optfile]=<file> : read (more) arguments from text file (see 'sample_args.txt')
[--default-character-set]=<charset> : charset of applicationBox AND dataBoxes (default none)
example:
phraseanet_indexer -h=192.168.0.1 --base=dbTest --clng=en --nolog

/----- xbas from 127.0.0.1:3306:phrasea ----
Can't connect to applicationBox

\-----------------------------


but have 2 db named as databox and phrasenet .

as you have marked in your blog i have done the following

phraseanet_indexer --debug=64 --nolog --optfile=indexerargs.txt
OPTIONFILE : 'indexerargs.txt'
[LOGL_INFO].[LOGC_PROG_START] :
Program starting

i dont find any output as shown in your example .



di...@alchemy.fr

unread,
Oct 29, 2012, 12:20:15 PM10/29/12
to phrasea-i...@googlegroups.com
Hello,

Your phraseanet_indexer compilation is ok, you can find the indexer into /usr/local/bin.
The indexer works with a task (Indexer) you'll discover later after installation.

at step 1/5 :
- enter your php cli executable path (/usr/bin/php)
- the phraseanet indexer path (/usr/local/bin/phraseanet_inder)
- ImageMagick convert executable path (/usr/bin/convert)
- ImageMagick composite executable path (/usr/bin/composite)

and continue by clicking on the next button.

Regards
Message has been deleted

Antoine Didace

unread,
Oct 29, 2012, 12:38:19 PM10/29/12
to phrasea-i...@googlegroups.com
sorry to disturb you again and again ,

i have 2 db  pharasnet et databox  with user pharsent et databox  relative to each db .

which one of these  should i use here in 3/5  in giving db infomation  . as i said i am newbie it  sorry to disturb .

di...@alchemy.fr

unread,
Oct 29, 2012, 1:08:56 PM10/29/12
to phrasea-i...@googlegroups.com
At step 3/5 you must indicate your applicationbox (database for storing users informations, baskets ......) , it can be your "pharasnet" database and it's connexion informations.
At the next step it'll be your databox database (database for storing media informations like storage path, metadatas .....).

If your MySQL user's informations are different from a database to another, you must click on the detail button at the step 4/5 to add the connexion informations for the databox

Regards,

Antoine Didace

unread,
Oct 30, 2012, 4:29:49 AM10/30/12
to phrasea-i...@googlegroups.com
Sorry to disturb you again and again , since i am debutant in  my  carrier , i am little bit worried

my ngnix conf is as follows

 # configuration pour les sous definitions
    location /files { # Point de montage 'X-Accel-Redirect'
            internal;
            alias /var/www/Phraseanet/datas; # Chemin d'acces pour 'X-Accel-Redirect'
    }

    # configuration pour les fichiers de quarantaine
    location /lazaret {
            internal;
            alias /var/www/Phraseanet/tmp/lazaret;
    }

    # configuration pour les telechargements
    location /download {
            internal;
            alias /var/www/Phraseanet/tmp/download;


what should i give in  

 

my root directory of phrasenet is 

xx@xxxxx:/var/www/Phraseanet$ ls -ail
total 680
5900101 drwxr-xr-x 12 www-data www-data   4096 Oct  4 15:03 .
5898967 drwxr-xr-x 10 root     root       4096 Oct 29 13:19 ..
5900383 -rw-r--r--  1 www-data www-data    456 Oct  4 14:53 AUTHORS
5900384 drwxr-xr-x  2 www-data www-data   4096 Oct  4 15:02 bin
5900389 -rw-r--r--  1 www-data www-data   8931 Oct  4 14:55 composer.lock
5900390 -rwxr-xr-x  1 www-data www-data 578456 Oct  4 14:55 composer.phar
5900391 drwxr-xr-x 10 www-data www-data   4096 Oct  4 14:55 config
5900407 -rw-r--r--  1 www-data www-data     27 Oct  4 14:53 CONTRIBUTORS
5900408 drwxr-xr-x  4 www-data www-data   4096 Oct  4 14:55 datas
5900411 drwxr-xr-x  7 www-data www-data   4096 Oct  4 14:55 lib
5901240 -rw-r--r--  1 www-data www-data  35414 Oct  4 14:53 LICENSE
5901241 drwxr-xr-x  7 www-data www-data   4096 Oct  4 14:55 locale
5901273 drwxr-xr-x  2 www-data www-data   4096 Oct  4 15:03 logs
5901274 -rw-r--r--  1 www-data www-data   1125 Oct  4 14:55 README.md
5901275 drwxr-xr-x  4 www-data www-data   4096 Oct  4 14:55 templates
5901562 drwxr-xr-x  9 www-data www-data   4096 Oct  4 15:03 tmp
5900382 -rw-r--r--  1 www-data www-data   1966 Oct  4 14:53 .travis.yml
5901570 drwxr-xr-x 29 www-data www-data   4096 Oct  4 15:02 vendor
5902271 drwxr-xr-x 16 www-data www-data   4096 Oct 26 15:34 www



can you please guide me

Antoine Didace

unread,
Oct 30, 2012, 5:01:33 AM10/30/12
to phrasea-i...@googlegroups.com
hello sir ,

i managed anyhow  by creating a new directory in the root of pharseanet   /var/www/pharseanet/storage ..

as i told you  earlier i do have 2 db :  pharaseanet and databox created with respected user privilege ( via mariadb) .
can you take a look in the attached file  to finish my installation  because i do have an error .

thanks in advance for your help
3.docx

Antoine Didace

unread,
Oct 30, 2012, 5:20:51 AM10/30/12
to phrasea-i...@googlegroups.com
hello  sir , i resolved it 
it is just a user privilege problem .
Message has been deleted

Antoine Didace

unread,
Oct 31, 2012, 1:37:44 PM10/31/12
to phrasea-i...@googlegroups.com

hello  sir i  have a following problem
bin/console scheduler:start

PHP Warning:  Module 'pcntl' already loaded in Unknown on line 0

my   vi /etc/php5/apache2/php.ini

extension_dir=/usr/lib/php5/20090626/


my /usr/lib/php5/20090626 has the extension 
 pcntl.so


can you help me where i went wrong .... i am stuck  please do help

Romain Viovi

unread,
Oct 31, 2012, 4:08:49 PM10/31/12
to phrasea-i...@googlegroups.com

Antoine Didace

unread,
Oct 31, 2012, 7:12:34 PM10/31/12
to phrasea-i...@googlegroups.com
hello sir ,

i have tried all the methods before asking you .. even i have i have consulted my senior staff members in my office  but in vain .
sir , if you have any idea where i went wrong or what has to be corrected in the files ..it will be a really helpfull for me because you have helped me a lot in this project .

i have even restarted the service and rebooted the machine too .


thanks in advance .
Reply all
Reply to author
Forward
0 new messages