movim / movim

Movim - Decentralized social platform
https://movim.eu
GNU Affero General Public License v3.0
1.74k stars 252 forks source link

Unable to install #351

Closed frimdo closed 7 years ago

frimdo commented 7 years ago

Movim installed on Debian jessie using

# apt-get update \
  && apt-get install -y vim \
  && apt-get install -y curl git php5-curl  php5-gd php5-pgsql php5-mysqlnd \
  && apt-get install -y libmagickwand-dev --no-install-recommends \
  && git clone https://github.com/movim/movim.git ./ \
  && curl -sS https://getcomposer.org/installer | php \
  && mv composer.phar /usr/local/bin/composer \
  && pecl install imagick \
  && pecl install zip \
  && docker-php-ext-enable imagick \
  && docker-php-ext-enable zip \
  && rm -r /var/lib/apt/lists/* \
  && composer install \
  && cp config/db.example.inc.php config/db.inc.php 

Than the db.inc.php is edited. Command mud.php gives me

# php -d -vvvv mud.php db set

Oops... something went wrong.
But don't panic. The NSA is on the case.

movim/logger.log is empty movim/php.log is empty

# php --version
PHP 5.6.30 (cli) (built: Jan 24 2017 19:28:09) 
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
# composer --version
Composer version 1.3.2 2017-01-27 18:23:41

More asking where to get more information about error than to solve this...

edhelas commented 7 years ago

Does PHP have rights to write in log/php.log ?

p0liper commented 7 years ago
php -r 'ini_set(\'display_errors\',\'1\');' mud.php db set 

What sayin'?

frimdo commented 7 years ago

edhelas: since the log directory and files in it are created after running this command for the first time, I guess it does. Anyway chmoded ./log/ to 777 and both files are still blank...

yanislavb:

# php -r 'ini_set(\'display_errors\',\'1\');' mud.php db set 
bash: syntax error near unexpected token `)'
# php -r "ini_set('display_errors', '1');" mud.php db set
# 

Not sure if repaired the command, but the output is blank

p0liper commented 7 years ago

@frimdo hm. can you re-run this command without arguments before files?

php mud.php db set
edhelas commented 7 years ago

I'm closing the ticket