Skip to content

Instantly share code, notes, and snippets.

@nicosomb
Created January 23, 2016 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicosomb/f53fefb2572402c0f535 to your computer and use it in GitHub Desktop.
Save nicosomb/f53fefb2572402c0f535 to your computer and use it in GitHub Desktop.
Debug log: Untitled wallabag instance
...** SANDSTORM SUPERVISOR: Starting up grain.
+ mkdir -p /var/lib/mysql
+ mkdir -p /var/lib/nginx
+ mkdir -p /var/lib/php5/sessions
+ mkdir -p /var/log
+ mkdir -p /var/log/mysql
+ mkdir -p /var/log/nginx
+ mkdir -p /var/log/wallabag
+ mkdir -p /var/cache/wallabag
+ rm -rf /var/run
+ mkdir -p /var/run
+ mkdir -p /var/run/mysqld
+ HOME=/etc/mysql
+ /usr/bin/mysql_install_db --force
Installing MySQL system tables...
160123 8:42:39 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160123 8:42:39 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0+deb8u1) starting as process 32 ...
OK
Filling help tables...
160123 8:42:39 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160123 8:42:39 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0+deb8u1) starting as process 38 ...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h sandbox password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl
Please report any problems at http://bugs.mysql.com/
+ HOME=/etc/mysql
+ /usr/sbin/mysqld
+ /usr/sbin/php5-fpm --nodaemonize --fpm-config /etc/php5/fpm/php-fpm.conf
+ '[' '!' -e /var/run/mysqld/mysqld.sock ']'
+ echo 'waiting for mysql to be available at /var/run/mysqld/mysqld.sock'
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
+ sleep .2
160123 8:42:39 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160123 8:42:39 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0+deb8u1) starting as process 42 ...
+ '[' '!' -e /var/run/mysqld/mysqld.sock ']'
+ echo 'waiting for mysql to be available at /var/run/mysqld/mysqld.sock'
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
+ sleep .2
+ '[' '!' -e /var/run/mysqld/mysqld.sock ']'
+ echo 'waiting for mysql to be available at /var/run/mysqld/mysqld.sock'
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
+ sleep .2
+ '[' '!' -e /var/run/mysqld/mysqld.sock ']'
+ echo 'waiting for mysql to be available at /var/run/mysqld/mysqld.sock'
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
+ sleep .2
+ '[' '!' -e /var/run/mysqld/mysqld.sock ']'
+ echo 'waiting for mysql to be available at /var/run/mysqld/mysqld.sock'
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
+ sleep .2
+ '[' '!' -e /var/run/mysqld/mysqld.sock ']'
+ echo 'waiting for mysql to be available at /var/run/mysqld/mysqld.sock'
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
+ sleep .2
+ '[' '!' -e /var/run/mysqld/mysqld.sock ']'
+ '[' '!' -e /var/run/php5-fpm.sock ']'
+ cd /opt/app/app
+ ln -s /var/cache/wallabag cache
+ ln -s /var/log/wallabag logs
ln: failed to create symbolic link 'logs': Read-only file system
+ /usr/sbin/nginx -g 'daemon off;'
2016/01/23 08:42:41 [error] 72#0: *2 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to create the cache directory (/opt/app/var/cache/prod)
' in /opt/app/var/bootstrap.php.cache:2507
Stack trace:
#0 /opt/app/var/bootstrap.php.cache(2468): Symfony\Component\HttpKernel\Kernel->buildContainer()
#1 /opt/app/var/bootstrap.php.cache(2257): Symfony\Component\HttpKernel\Kernel->initializeContainer()
#2 /opt/app/var/bootstrap.php.cache(2288): Symfony\Component\HttpKernel\Kernel->boot()
#3 /opt/app/web/app.php(28): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#4 {main}
thrown in /opt/app/var/bootstrap.php.cache on line 2507" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "675aa3af341b354cd518afcba908e3ad.local.sandstorm.io:6080"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment