Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Code: 0 #34

Closed
Netsuno opened this issue Dec 31, 2015 · 10 comments
Closed

Error Code: 0 #34

Netsuno opened this issue Dec 31, 2015 · 10 comments

Comments

@Netsuno
Copy link

Netsuno commented Dec 31, 2015

I get this error some time whit different update (sometime apikey sometime whit server update) it look like the be a error when it creat the cach file, evrything work fine get in error get a update 10 sec after.

ID du processus: qgnCoRAbukkFxgiGF11mJbeCmvay2Z4v
Api: Server
Contexte: Server
Statut: Error 

Last Updater: Processing: ServerStatus

Exception: ErrorException
Error Code: 0
Error Message: file_put_contents(/var/www/vhostsa/seat/storage/framework/cache/b8/3e/b83eb0fd20aa8ef3d06302b33444d4b8): failed to open stream: No such file or directory
File: /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php - Line: 81

Traceback: #0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'file_put_conten...', '/var/www/vhosts...', 81, Array)
#1 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(81): file_put_contents('/var/www/vhosts...', '9999999999s:25:...', 0)
#2 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php(102): Illuminate\Filesystem\Filesystem->put('/var/www/vhosts...', '9999999999s:25:...')
#3 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php(157): Illuminate\Cache\FileStore->put('70e1aed7b257430...', 'seatadmin@local...', 0)
#4 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(183): Illuminate\Cache\FileStore->forever('70e1aed7b257430...', 'seatadmin@local...')
#5 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(238): Illuminate\Cache\Repository->forever('70e1aed7b257430...', 'seatadmin@local...')
#6 [internal function]: Illuminate\Cache\Repository->rememberForever('70e1aed7b257430...', Object(Closure))
#7 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(310): call_user_func_array(Array, Array)
#8 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(219): Illuminate\Cache\CacheManager->__call('rememberForever', Array)
#9 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(219): Illuminate\Cache\CacheManager->rememberForever('70e1aed7b257430...', Object(Closure))
#10 /var/www/vhostsa/seat/vendor/eveseat/services/src/Settings/Settings.php(101): Illuminate\Support\Facades\Facade::__callStatic('rememberForever', Array)
#11 /var/www/vhostsa/seat/vendor/eveseat/services/src/Settings/Settings.php(101): Illuminate\Support\Facades\Cache::rememberForever('70e1aed7b257430...', Object(Closure))
#12 /var/www/vhostsa/seat/vendor/eveseat/eveapi/src/Helpers/PhealSetup.php(81): Seat\Services\Settings\Settings::get('admin_contact')
#13 /var/www/vhostsa/seat/vendor/eveseat/eveapi/src/EveapiServiceProvider.php(67): Seat\Eveapi\Helpers\PhealSetup->__construct()
#14 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Container/Container.php(738): Seat\Eveapi\EveapiServiceProvider->Seat\Eveapi\{closure}(Object(Illuminate\Foundation\Application), Array)
#15 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build(Object(Closure), Array)
#16 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->make('Seat\\Eveapi\\Hel...', Array)
#17 /var/www/vhostsa/seat/vendor/eveseat/eveapi/src/Api/Base.php(97): Illuminate\Foundation\Application->make('Seat\\Eveapi\\Hel...')
#18 /var/www/vhostsa/seat/vendor/eveseat/eveapi/src/Jobs/UpdatePublic.php(98): Seat\Eveapi\Api\Base->__construct()
#19 [internal function]: Seat\Eveapi\Jobs\UpdatePublic->handle()
#20 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Container/Container.php(507): call_user_func_array(Array, Array)
#21 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(193): Illuminate\Container\Container->call(Array)
#22 [internal function]: Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}(Object(Seat\Eveapi\Jobs\UpdatePublic))
#23 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(139): call_user_func(Object(Closure), Object(Seat\Eveapi\Jobs\UpdatePublic))
#24 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Seat\Eveapi\Jobs\UpdatePublic))
#25 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Seat\Eveapi\Jobs\UpdatePublic))
#26 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(205): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#27 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(43): Illuminate\Bus\Dispatcher->dispatchNow(Object(Seat\Eveapi\Jobs\UpdatePublic), Object(Closure))
#28 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(129): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\RedisJob), Array)
#29 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Queue/Jobs/RedisJob.php(50): Illuminate\Queue\Jobs\Job->resolveAndFire(Array)
#30 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(208): Illuminate\Queue\Jobs\RedisJob->fire()
#31 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(159): Illuminate\Queue\Worker->process('redis', Object(Illuminate\Queue\Jobs\RedisJob), '10', '0')
#32 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(109): Illuminate\Queue\Worker->pop('', 'high,medium,low...', '0', '3', '10')
#33 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(71): Illuminate\Queue\Console\WorkCommand->runWorker('', 'high,medium,low...', '0', '128', false)
#34 [internal function]: Illuminate\Queue\Console\WorkCommand->fire()
#35 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Container/Container.php(507): call_user_func_array(Array, Array)
#36 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Console/Command.php(150): Illuminate\Container\Container->call(Array)
#37 /var/www/vhostsa/seat/vendor/symfony/console/Command/Command.php(256): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#38 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#39 /var/www/vhostsa/seat/vendor/symfony/console/Application.php(837): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#40 /var/www/vhostsa/seat/vendor/symfony/console/Application.php(189): Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Queue\Console\WorkCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#41 /var/www/vhostsa/seat/vendor/symfony/console/Application.php(120): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#42 /var/www/vhostsa/seat/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(107): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#43 /var/www/vhostsa/seat/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#44 {main}
@leonjza
Copy link
Member

leonjza commented Dec 31, 2015

Please make sure you have the latest packages installed, and paste the output of:

sudo -u apache php artisan seat:admin:diagnose

Where apache is the user the workers run as.

@Netsuno
Copy link
Author

Netsuno commented Dec 31, 2015

PHP Version: 5.6.16-2+deb.sury.org~trusty+1
Host OS: Linux **** 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64
SeAT Basepath: /var/www/vhostsa

 * Checking DEBUG mode
Debug mode is enabled. This is not recommended in production!

 * Checking storage
/var/www/vhostsa/storage is writable
/var/www/vhostsa/storage/app/pheal/ is writable
/var/www/vhostsa/storage/sde/ is writable
/var/www/vhostsa/storage/logs/laravel.log is writable

 * Checking Database
+------------+-----------+
| Setting    | Value     |
+------------+-----------+
| Connection |           |
| Host       | localhost |
| Database   | *** *     |
| Username   | ******    |
| Password   | ********  |
+------------+-----------+
Connection OK to database: *** *

 * Checking Redis
+----------+-----------+
| Setting  | Value     |
+----------+-----------+
| Host     | 127.0.0.1 |
| Port     | 6379      |
| Database | 0         |
+----------+-----------+
Connected to Redis
Set random key of: PCo6sVABRzBByfTfWpmg6PORHfjUutVREEIhGSXW52ftnriLuMwTY9hPRo7dYYnh
Set key to expire in 10 sec
Read key OK

 * Checking Pheal EVE API Access
Server Online: True
Online Players: 18370

Checking Local and Github Versions. Please wait...
+---------------+---------------+---------------+
| Package Name  | Local Version | Latest Github |
+---------------+---------------+---------------+
| Api           | 1.0.8         | 1.0.8         |
| Console       | 1.0.9         | 1.0.9         |
| Eveapi        | 1.0.7         | 1.0.7         |
| Notifications | 1.0.3         | 1.0.3         |
| Web           | 1.0.17        | 1.0.17        |
| Services      | 1.0.13        | 1.0.13        |
+---------------+---------------+---------------+
SeAT Diagnostics complete

@leonjza
Copy link
Member

leonjza commented Dec 31, 2015

What is your disk space like?

@Netsuno
Copy link
Author

Netsuno commented Dec 31, 2015

10/50 gb used

@leonjza
Copy link
Member

leonjza commented Dec 31, 2015

What is the cache driver config for you at the moment? Can you try flip it to redis? I am not sure why Laravel is unable to get the contents in /var/www/vhostsa/seat/storage/framework/cache for the default file based cache.

You can also try clearing the Laravel cache with php artisan cache:clear to see if that helps.

@Netsuno
Copy link
Author

Netsuno commented Dec 31, 2015

php artisan cache:clear first thing i have try
And i dont know why it dosent work cause it the same server whit the same config i have used for the 0.X version.

@leonjza
Copy link
Member

leonjza commented Dec 31, 2015

Its not the same config between 1x and 0x. The framework used by 1x is a major version up from the 0x release, and, 0x defaulted to redis for caching.

@Netsuno
Copy link
Author

Netsuno commented Dec 31, 2015

Bug finded, i reinstall superviserd and now evrything look like ok, maybe whait 1 or 2 day beford close it to be sure but i think it ok

@leonjza
Copy link
Member

leonjza commented Dec 31, 2015

What was the bug?

@Netsuno
Copy link
Author

Netsuno commented Dec 31, 2015

I think it a cooruped file in Superviserd

@leonjza leonjza closed this as completed Jan 2, 2016
@fackir fackir mentioned this issue Mar 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants