{"action":"created","issue":{"url":"https://api.github.com/repos/monicahq/monica/issues/1667","repository_url":"https://api.github.com/repos/monicahq/monica","labels_url":"https://api.github.com/repos/monicahq/monica/issues/1667/labels{/name}","comments_url":"https://api.github.com/repos/monicahq/monica/issues/1667/comments","events_url":"https://api.github.com/repos/monicahq/monica/issues/1667/events","html_url":"https://github.com/monicahq/monica/issues/1667","id":348217900,"node_id":"MDU6SXNzdWUzNDgyMTc5MDA=","number":1667,"title":"\"undefined variable: id\" upon artisan update with the most recent version (2018-08-07)","user":{"login":"gregoryseibert","id":22794437,"node_id":"MDQ6VXNlcjIyNzk0NDM3","avatar_url":"https://avatars3.githubusercontent.com/u/22794437?v=4","gravatar_id":"","url":"https://api.github.com/users/gregoryseibert","html_url":"https://github.com/gregoryseibert","followers_url":"https://api.github.com/users/gregoryseibert/followers","following_url":"https://api.github.com/users/gregoryseibert/following{/other_user}","gists_url":"https://api.github.com/users/gregoryseibert/gists{/gist_id}","starred_url":"https://api.github.com/users/gregoryseibert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregoryseibert/subscriptions","organizations_url":"https://api.github.com/users/gregoryseibert/orgs","repos_url":"https://api.github.com/users/gregoryseibert/repos","events_url":"https://api.github.com/users/gregoryseibert/events{/privacy}","received_events_url":"https://api.github.com/users/gregoryseibert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-07T08:25:52Z","updated_at":"2018-08-09T08:04:34Z","closed_at":null,"author_association":"NONE","body":"I just tried updating from 2.3.1 to 2.4.2 so I have the recent version from the master branch.\r\nWhen I used the command \"php artisan monica:update --force\" I got the following error:\r\n\r\n```\r\nIn 2018_07_08_104306_update-timestamps-timezone.php line 38:\r\n\r\nUndefined variable: id\r\n```\r\n\r\n```\r\nException trace:\r\n Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError() at /var/www/monica/vendor/sentry/sentry/lib/Raven/Breadcrumbs/ErrorHandler.php:34\r\n Raven_Breadcrumbs_ErrorHandler->handleError() at /var/www/monica/database/migrations/2018_07_08_104306_update-timestamps-timezone.php:38\r\n UpdateTimestampsTimezone->{closure}() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2113\r\n Illuminate\\Database\\Query\\Builder->chunkById() at /var/www/monica/database/migrations/2018_07_08_104306_update-timestamps-timezone.php:45\r\n UpdateTimestampsTimezone->up() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:359\r\n Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:366\r\n Illuminate\\Database\\Migrations\\Migrator->runMigration() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:177\r\n Illuminate\\Database\\Migrations\\Migrator->runUp() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:146\r\n Illuminate\\Database\\Migrations\\Migrator->runPending() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:95\r\n Illuminate\\Database\\Migrations\\Migrator->run() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php:70\r\n Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() at n/a:n/a\r\n call_user_func_array() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29\r\n Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87\r\n Illuminate\\Container\\BoundMethod::callBoundMethod() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31\r\n Illuminate\\Container\\BoundMethod::call() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Container/Container.php:564\r\n Illuminate\\Container\\Container->call() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Console/Command.php:184\r\n Illuminate\\Console\\Command->execute() at /var/www/monica/vendor/symfony/console/Command/Command.php:251\r\n Symfony\\Component\\Console\\Command\\Command->run() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Console/Command.php:171\r\n Illuminate\\Console\\Command->run() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Console/Command.php:199\r\n Illuminate\\Console\\Command->call() at /var/www/monica/app/Console/Commands/Helpers/CommandExecutor.php:47\r\n App\\Console\\Commands\\Helpers\\CommandExecutor->artisan() at /var/www/monica/app/Console/Commands/Update.php:87\r\n App\\Console\\Commands\\Update->handle() at n/a:n/a\r\n call_user_func_array() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29\r\n Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87\r\n Illuminate\\Container\\BoundMethod::callBoundMethod() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31\r\n Illuminate\\Container\\BoundMethod::call() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Container/Container.php:564\r\n Illuminate\\Container\\Container->call() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Console/Command.php:184\r\n Illuminate\\Console\\Command->execute() at /var/www/monica/vendor/symfony/console/Command/Command.php:251\r\n Symfony\\Component\\Console\\Command\\Command->run() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Console/Command.php:171\r\n Illuminate\\Console\\Command->run() at /var/www/monica/vendor/symfony/console/Application.php:886\r\n Symfony\\Component\\Console\\Application->doRunCommand() at /var/www/monica/vendor/symfony/console/Application.php:262\r\n Symfony\\Component\\Console\\Application->doRun() at /var/www/monica/vendor/symfony/console/Application.php:145\r\n Symfony\\Component\\Console\\Application->run() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Console/Application.php:89\r\n Illuminate\\Console\\Application->run() at /var/www/monica/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:122\r\n Illuminate\\Foundation\\Console\\Kernel->handle() at /var/www/monica/artisan:35\r\n```\r\n\r\nI've looked into the mentioned php file and it's exactly the same as the recent one in this repo.\r\nI'm using monica inside of a docker container but I don't think that's the issue."},"comment":{"url":"https://api.github.com/repos/monicahq/monica/issues/comments/411673213","html_url":"https://github.com/monicahq/monica/issues/1667#issuecomment-411673213","issue_url":"https://api.github.com/repos/monicahq/monica/issues/1667","id":411673213,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTY3MzIxMw==","user":{"login":"asbiin","id":25419741,"node_id":"MDQ6VXNlcjI1NDE5NzQx","avatar_url":"https://avatars3.githubusercontent.com/u/25419741?v=4","gravatar_id":"","url":"https://api.github.com/users/asbiin","html_url":"https://github.com/asbiin","followers_url":"https://api.github.com/users/asbiin/followers","following_url":"https://api.github.com/users/asbiin/following{/other_user}","gists_url":"https://api.github.com/users/asbiin/gists{/gist_id}","starred_url":"https://api.github.com/users/asbiin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asbiin/subscriptions","organizations_url":"https://api.github.com/users/asbiin/orgs","repos_url":"https://api.github.com/users/asbiin/repos","events_url":"https://api.github.com/users/asbiin/events{/privacy}","received_events_url":"https://api.github.com/users/asbiin/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T08:04:34Z","updated_at":"2018-08-09T08:04:34Z","author_association":"MEMBER","body":"Sorry, I'll fix it.\r\nYou can always skip this migration by removing the `APP_DEFAULT_TIMEZONE` variable from .env file."}}
{"actor":{"display_login":"asbiin"}}