YunoHost-Apps / flarum_ynh

Flarum, an open-source forum software, packaged for YunoHost
https://flarum.org/
MIT License
19 stars 5 forks source link

Installation failed - ERROR 1146 #17

Closed nimch closed 7 years ago

nimch commented 7 years ago

Debian Jessie Yunohost 2.5 beta Warning: ERROR 1146 (42S02) at line 1: Table 'flarum.api_keys' doesn't exist Error: Installation failed

tituspijean commented 7 years ago

Can you provide a detailed log of your local package removal (mentionned here) as well as the installation log with the error you quoted ? Don't forget to remove any private information.

Thank you !

nimch commented 7 years ago

Well... I removed flarum within admin web gui and I can't access to log anymore. I can't find log file... Any advice ? I've checked some points before new install : no flarum directory in /var/www/, no flarum database or user in mariaDB.

New install logs :

Choose a domain name for Flarum (default: mydomain.tdl):
Choose a path for Flarum (default: /flarum):
Choose an admin user: myuser
Put your password:
Choose a title for your forum (default: ): fofo
Is it a public application? [0 | 1] (default: 1):
Warning: Installing flarum/flarum (v0.1.0-beta.6)
Warning:   - Installing flarum/flarum (v0.1.0-beta.6) Loading from cache
Warning: Created project in .
Warning: Loading composer repositories with package information
Warning: Updating dependencies (including require-dev)
Warning: Package operations: 84 installs, 0 updates, 0 removals
Warning:   - Installing tobscure/json-api (v0.3.0) Loading from cache
Warning:   - Installing nikic/fast-route (v0.6.0) Loading from cache
Warning:   - Installing psr/http-message (1.0.1) Loading from cache
Warning:   - Installing dflydev/fig-cookies (v1.0.2) Loading from cache
Warning:   - Installing symfony/process (v3.2.2) Loading from cache
Warning:   - Installing symfony/filesystem (v3.2.2) Loading from cache
Warning:   - Installing psr/log (1.0.2) Loading from cache
Warning:   - Installing symfony/polyfill-mbstring (v1.3.0) Loading from cache
Warning:   - Installing symfony/debug (v2.7.23) Loading from cache
Warning:   - Installing symfony/console (v2.8.16) Loading from cache
Warning:   - Installing franzl/studio (0.11.2) Loading from cache
Warning:   - Installing components/font-awesome (4.7.0) Loading from cache
Warning:   - Installing doctrine/lexer (v1.0.1) Loading from cache
Warning:   - Installing doctrine/inflector (v1.1.0) Loading from cache
Warning:   - Installing doctrine/collections (v1.3.0) Loading from cache
Warning:   - Installing doctrine/cache (v1.6.1) Loading from cache
Warning:   - Installing doctrine/annotations (v1.3.1) Loading from cache
Warning:   - Installing doctrine/common (v2.7.2) Loading from cache
Warning:   - Installing doctrine/dbal (v2.5.8) Loading from cache
Warning:   - Installing zendframework/zend-diactoros (1.3.9) Loading from cache
Warning:   - Installing filp/whoops (2.1.5) Loading from cache
Warning:   - Installing franzl/whoops-middleware (0.4.1) Loading from cache
Warning:   - Installing danielstjules/stringy (1.10.0) Loading from cache
Warning:   - Installing illuminate/contracts (v5.1.41) Loading from cache
Warning:   - Installing paragonie/random_compat (v1.4.1) Loading from cache
Warning:   - Installing illuminate/support (v5.1.41) Loading from cache
Warning:   - Installing illuminate/pipeline (v5.1.41) Loading from cache
Warning:   - Installing illuminate/bus (v5.1.41) Loading from cache
Warning:   - Installing symfony/translation (v2.7.23) Loading from cache
Warning:   - Installing nesbot/carbon (1.22.1) Loading from cache
Warning:   - Installing illuminate/cache (v5.1.41) Loading from cache
Warning:   - Installing symfony/finder (v2.7.23) Loading from cache
Warning:   - Installing illuminate/filesystem (v5.1.41) Loading from cache
Warning:   - Installing illuminate/config (v5.1.41) Loading from cache
Warning:   - Installing illuminate/container (v5.1.41) Loading from cache
Warning:   - Installing illuminate/database (v5.1.41) Loading from cache
Warning:   - Installing illuminate/hashing (v5.1.41) Loading from cache
Warning:   - Installing swiftmailer/swiftmailer (v5.4.5) Loading from cache
Warning:   - Installing illuminate/mail (v5.1.41) Loading from cache
Warning:   - Installing symfony/http-foundation (v2.7.23) Loading from cache
Warning:   - Installing illuminate/validation (v5.1.41) Loading from cache
Warning:   - Installing illuminate/events (v5.1.41) Loading from cache
Warning:   - Installing illuminate/view (v5.1.41) Loading from cache
Warning:   - Installing guzzlehttp/psr7 (1.3.1) Loading from cache
Warning:   - Installing intervention/image (2.3.9) Loading from cache
Warning:   - Installing league/flysystem (1.0.32) Loading from cache
Warning:   - Installing matthiasmullie/path-converter (1.0.8) Loading from cache
Warning:   - Installing matthiasmullie/minify (1.3.42) Loading from cache
Warning:   - Installing monolog/monolog (1.22.0) Loading from cache
Warning:   - Installing oyejorge/less.php (v1.7.0.10) Loading from cache
Warning:   - Installing s9e/text-formatter (0.6.2) Loading from cache
Warning:   - Installing symfony/yaml (v2.8.16) Loading from cache
Warning:   - Installing http-interop/http-middleware (0.2.0) Loading from cache
Warning:   - Installing zendframework/zend-escaper (2.5.2) Loading from cache
Warning:   - Installing zendframework/zend-stratigility (1.3.2) Loading from cache
Warning:   - Installing ircmaxell/security-lib (v1.1.0) Loading from cache
Warning:   - Installing ircmaxell/random-lib (v1.2.0) Loading from cache
Warning:   - Installing guzzlehttp/promises (v1.3.1) Loading from cache
Warning:   - Installing tijsverkoyen/akismet (1.1.1) Loading from cache
Warning:   - Installing guzzlehttp/guzzle (6.2.2) Loading from cache
Warning:   - Installing league/oauth2-client (1.4.2) Loading from cache
Warning:   - Installing flarum/core (v0.1.0-beta.6) Loading from cache
Warning:   - Installing flarum/flarum-ext-flags (v0.1.0-beta.6) Loading from cache
Warning:   - Installing flarum/flarum-ext-approval (v0.1.0-beta.6) Loading from cache
Warning:   - Installing flarum/flarum-ext-akismet (v0.1.0-beta.6) Loading from cache
Warning:   - Installing league/oauth2-facebook (1.4.4) Loading from cache
Warning:   - Installing flarum/flarum-ext-auth-facebook (v0.1.0-beta.6) Loading from cache
Warning:   - Installing league/oauth2-github (0.2.2) Loading from cache
Warning:   - Installing flarum/flarum-ext-auth-github (v0.1.0-beta.6) Loading from cache
Warning:   - Installing league/oauth1-client (1.7.0) Loading from cache
Warning:   - Installing flarum/flarum-ext-auth-twitter (v0.1.0-beta.6) Loading from cache
Warning:   - Installing flarum/flarum-ext-bbcode (v0.1.0-beta.5) Loading from cache
Warning:   - Installing flarum/flarum-ext-emoji (v0.1.0-beta.6) Loading from cache
Warning:   - Installing flarum/flarum-ext-english (v0.1.0-beta.6) Loading from cache
Warning:   - Installing flarum/flarum-ext-likes (v0.1.0-beta.6) Loading from cache
Warning:   - Installing flarum/flarum-ext-lock (v0.1.0-beta.6) Loading from cache
Warning:   - Installing flarum/flarum-ext-markdown (v0.1.0-beta.5) Loading from cache
Warning:   - Installing flarum/flarum-ext-mentions (v0.1.0-beta.6) Loading from cache
Warning:   - Installing pusher/pusher-php-server (2.6.3) Loading from cache
Warning:   - Installing flarum/flarum-ext-pusher (v0.1.0-beta.6) Loading from cache
Warning:   - Installing flarum/flarum-ext-sticky (v0.1.0-beta.6) Loading from cache
Warning:   - Installing flarum/flarum-ext-subscriptions (v0.1.0-beta.6) Loading from cache
Warning:   - Installing flarum/flarum-ext-suspend (v0.1.0-beta.6) Loading from cache
Warning:   - Installing flarum/flarum-ext-tags (v0.1.0-beta.7) Loading from cache
Warning: symfony/console suggests installing symfony/event-dispatcher ()
Warning: filp/whoops suggests installing symfony/var-dumper (Pretty print complex values better with var-dumper available)
Warning: filp/whoops suggests installing whoops/soap (Formats errors as SOAP responses)
Warning: paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
Warning: illuminate/support suggests installing jeremeamia/superclosure (Required to be able to serialize closures (~2.0).)
Warning: illuminate/support suggests installing symfony/var-dumper (Improves the dd function (2.7.*).)
Warning: symfony/translation suggests installing symfony/config ()
Warning: illuminate/cache suggests installing illuminate/redis (Required to use the redis cache driver (5.1.*).)
Warning: illuminate/filesystem suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).)
Warning: illuminate/filesystem suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
Warning: illuminate/database suggests installing fzaninotto/faker (Required to use the eloquent factory builder (~1.4).)
Warning: illuminate/database suggests installing illuminate/console (Required to use the database commands (5.1.*).)
Warning: illuminate/database suggests installing illuminate/pagination (Required to paginate the result set (5.1.*).)
Warning: illuminate/mail suggests installing aws/aws-sdk-php (Required to use the SES mail driver (~3.0).)
Warning: illuminate/mail suggests installing jeremeamia/superclosure (Required to be able to serialize closures (~2.0).)
Warning: intervention/image suggests installing intervention/imagecache (Caching extension for the Intervention Image library)
Warning: league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)
Warning: league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3)
Warning: league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
Warning: league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
Warning: league/flysystem suggests installing league/flysystem-copy (Allows you to use Copy.com storage)
Warning: league/flysystem suggests installing league/flysystem-dropbox (Allows you to use Dropbox storage)
Warning: league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
Warning: league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
Warning: league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)
Warning: league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
Warning: league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
Warning: monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
Warning: monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
Warning: monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
Warning: monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
Warning: monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
Warning: monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
Warning: monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
Warning: monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
Warning: monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
Warning: monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
Warning: monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
Warning: s9e/text-formatter suggests installing ext-xsl (Enables the XSLT renderer)
Warning: Writing lock file
Warning: Generating autoload files
Warning: ERROR 1146 (42S02) at line 1: Table 'flarum.api_keys' doesn't exist
Error: Installation failed

I hope it will help you.

Thx

tituspijean commented 7 years ago

Should be solved with https://github.com/YunoHost-Apps/flarum_ynh/commit/3de168d103c2b82b53c2be25212fd8977d7b3053.