Ok... I realize that everyone are busy - so, I'll rephrase my request:
We would like to* urgently hire a Foreman expert *to recover a crashed
instance of Foreman 13.x
Please contact me via email or +1 (778) 328-7592
Thank you!
On Monday, October 24, 2016 at 10:06:03 AM UTC-7, Evgeny Vasilchenko wrote:
>
> Please anyone? Any suggestions beside of 1.10 backup restore?
>
> On Friday, October 21, 2016 at 5:03:45 PM UTC-7, Evgeny Vasilchenko wrote:
>>
>> *foreman-rake db:seed*
>>
>> You have 32 pending migrations:
>> 20151104100257 AddHostsCountToHostgroup
>> 20151120153254 DeleteBootableInterface
>> 20151210143537 AddTypeToMailNotification
>> 20151220093801 RemoveSpacesFromSmartVariableKey
>> 20160201131211 AddExpiredLogsToSmartProxy
>> 20160203110216 AddDefaultValueForBookmarkPublicField
>> 20160215143900 AddSubnetDomainRelationConstraints
>> 20160225115638 RemoveDefaultUserRole
>> 20160225131917 RenameAnonymousRole
>> 20160228140111 UpdateParamsPriority
>> 20160307120453 RemoveHostgroupsCountFromPuppetclasses
>> 20160308102459 RemovePermissionsFromRoles
>> 20160317070258 AddViewParamsToFiltersWithEdit
>> 20160404074723 DowncaseDisplayTypes
>> 20160414063050 AddStiToSubnets
>> 20160415134454 AddIpv6ToHosts
>> 20160415135858 AddIpv6Subnet
>> 20160516070529 DivideLookupKeyPermissions
>> 20160527093031 LimitOsDescription
>> 20160609092110 RemoveNilFromMergeOverride
>> 20160616074718 RemoveHostCounterCache
>> 20160626085636 RemovePuppetCounters
>> 20160715131352 SetRoleBuiltinDefault
>> 20160717125402 UnifyPermissions
>> 20160719081324 ChangeTemplatesTypeDefault
>> 20160719095445 ChangeTemplateTaxableTaxonomiesType
>> 20160719100624 ChangeTemplateAuditsType
>> 20160725142557 AddPxeLoaderToHost
>> 20160727142242 AddPxeLoaderToHostgroup
>> 20160817125655 ResetOverrideParams
>> 20160818091420 AddOverrideFlagToFilter
>> 20160914125418 UpdateParameterPriorities
>>
>>
>> On Friday, October 21, 2016 at 5:03:09 PM UTC-7, Evgeny Vasilchenko wrote:
>>>
>>> The OS
>>>
>>> - Oracle Linux 7 :3.8.13-118.13.2.el7uek.x86_64 #2 SMP Wed Oct 5
>>> 11:03:41 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux
>>> - All latest updates as of today
>>>
>>> The 'yum update' was successful - i.e. NO yum errors, etc..but then host
>>> was accidentally rebooted.
>>>
>>> After reboot Wbe GUI did not start and below migrate step has failed.
>>>
>>> *# foreman-rake db:migrate*
>>>
>>> == 20151104100257 AddHostsCountToHostgroup: migrating
>>> =========================
>>> -- add_column(:hostgroups, :hosts_count, :integer, {:default=>0})
>>> -> 0.0086s
>>> rake aborted!
>>> StandardError: An error has occurred, this and all later migrations
>>> canceled:
>>>
>>>
>>> undefined method `counter_cache_column' for
>>> nil:NilClass/opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/counter_cache.rb:38:in
>>>
>>> `block in reset_counters'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/counter_cache.rb:22:in
>>>
>>> `each'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/counter_cache.rb:22:in
>>>
>>> `reset_counters'
>>> /usr/share/foreman/db/migrate/20151104100257_add_hosts_count_to_hostgroup.rb:5:in
>>>
>>> `block in up'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/delegation.rb:46:in
>>>
>>> `each'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/delegation.rb:46:in
>>>
>>> `each'
>>> /usr/share/foreman/db/migrate/20151104100257_add_hosts_count_to_hostgroup.rb:4:in
>>>
>>> `up'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:611:in
>>>
>>> `exec_migration'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:592:in
>>>
>>> `block (2 levels) in migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:591:in
>>>
>>> `block in migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in
>>>
>>> `with_connection'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:590:in
>>>
>>> `migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:768:in
>>>
>>> `migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:998:in
>>>
>>> `block in execute_migration_in_transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:1044:in
>>>
>>> `block in ddl_transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in
>>>
>>> `block in transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in
>>>
>>> `within_new_transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in
>>>
>>> `transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:220:in
>>>
>>> `transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:1044:in
>>>
>>> `ddl_transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:997:in
>>>
>>> `execute_migration_in_transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:959:in
>>>
>>> `block in migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:955:in
>>>
>>> `each'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:955:in
>>>
>>> `migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:823:in
>>>
>>> `up'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:801:in
>>>
>>> `migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/tasks/database_tasks.rb:137:in
>>>
>>> `migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/railties/databases.rake:44:in
>>>
>>> `block (2 levels) in <top (required)>'
>>> NoMethodError: undefined method `counter_cache_column' for nil:NilClass
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/counter_cache.rb:38:in
>>>
>>> `block in reset_counters'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/counter_cache.rb:22:in
>>>
>>> `each'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/counter_cache.rb:22:in
>>>
>>> `reset_counters'
>>> /usr/share/foreman/db/migrate/20151104100257_add_hosts_count_to_hostgroup.rb:5:in
>>>
>>> `block in up'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/delegation.rb:46:in
>>>
>>> `each'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/delegation.rb:46:in
>>>
>>> `each'
>>> /usr/share/foreman/db/migrate/20151104100257_add_hosts_count_to_hostgroup.rb:4:in
>>>
>>> `up'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:611:in
>>>
>>> `exec_migration'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:592:in
>>>
>>> `block (2 levels) in migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:591:in
>>>
>>> `block in migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in
>>>
>>> `with_connection'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:590:in
>>>
>>> `migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:768:in
>>>
>>> `migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:998:in
>>>
>>> `block in execute_migration_in_transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:1044:in
>>>
>>> `block in ddl_transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in
>>>
>>> `block in transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in
>>>
>>> `within_new_transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in
>>>
>>> `transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:220:in
>>>
>>> `transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:1044:in
>>>
>>> `ddl_transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:997:in
>>>
>>> `execute_migration_in_transaction'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:959:in
>>>
>>> `block in migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:955:in
>>>
>>> `each'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:955:in
>>>
>>> `migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:823:in
>>>
>>> `up'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/migration.rb:801:in
>>>
>>> `migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/tasks/database_tasks.rb:137:in
>>>
>>> `migrate'
>>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/railties/databases.rake:44:in
>>>
>>> `block (2 levels) in <top (required)>'
>>> Tasks: TOP => db:migrate
>>> (See full trace by running task with --trace)
>>>
>>
--
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.