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

Migrate to Debian 9 Stretch #13

Closed
Krinkle opened this issue Oct 10, 2017 · 1 comment
Closed

Migrate to Debian 9 Stretch #13

Krinkle opened this issue Oct 10, 2017 · 1 comment
Assignees

Comments

@Krinkle
Copy link
Member

Krinkle commented Oct 10, 2017

Aligning with the goal of Wikimedia Cloud VPS to end Ubuntu support (eventually), as well as to move to a newer operating system in general (Ubuntu Trusty is from 2014), let's start migrating our CVN app servers to Debian 9.

  • Ubuntu 12 Precise (2012)
  • Ubuntu 14 Trusty (2014)
  • Ubuntu 8 Jessie (2015)
  • Ubuntu 9 Stretch (2017)

Upstream: https://phabricator.wikimedia.org/T161899

@Krinkle Krinkle self-assigned this Oct 10, 2017
@Krinkle
Copy link
Member Author

Krinkle commented Oct 10, 2017

Requested quota increase for the new instances during the migration:

https://phabricator.wikimedia.org/T177299

Krinkle added a commit to wikimedia/labs-countervandalism-CVNBot that referenced this issue Oct 13, 2017
Debian 9 comes with Mono 4. [1] Trying to compile the current version of
CVNBot there produced verious errors.

Highlights from release notes at http://www.mono-project.com/docs/about-mono/releases/4.0.0/
* Mono will now only build the .NET 4.5 assemblies.
  We no longer build the reference assemblies for the .NET 2.0, .NET 3.5 or .NET 4.0 APIs.

Changes:

* Replace old log4net.dll with the latest from https://logging.apache.org/log4net/
  Specifically `/bin/mono/4.0/release` from `log4net-2.0.8-bin-newkey.zip`.

* Remove .csproj.user file (appears unused).

* Remove old Mono.Data.SqliteClient.dll.
  Try to use built-in Mono.Data.Sqlite instead.
  https://developer.xamarin.com/guides/ios/advanced_topics/system.data/
  http://www.mono-project.com/docs/database-access/providers/sqlite/

* Set TargetFrameworkVersion to v4.5, given the older APIs are no longer
  supported. This should fix build errors:
  > CSC: error CS0518: The predefined type `System.Object' is not defined or imported
  > CSC: error CS0518: The predefined type `System.ValueType' is not defined or imported

* Remove redundant <BootstrapperPackage> items in csproj file.

[1] https://packages.debian.org/search?keywords=mono-complete

Ref wikimedia/labs-countervandalism-cvn-infrastructure#13.
Krinkle added a commit that referenced this issue Oct 20, 2017
Krinkle added a commit that referenced this issue Nov 15, 2017
Dump current database from cvn-app6 before moving to cvn-app9

Ref #13
Krinkle added a commit that referenced this issue Nov 15, 2017
No longer used per 10cee16 and countervandalism/CVNClerkBot@dc1ba32

Ref #13
@Krinkle Krinkle closed this as completed Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant