# Introduction:
The doc1002 and doc2001 hosts are on Debian Buster with PHP 7.3 They should be on Debian Bullseye with PHP 7.4.
---
# Pre requisites:
- [x] VM request for doc1003.eqiad.wmnet T332812
- [x] VM request for doc2002.codfw.wmnet T332819
- [x] [[ https://gerrit.wikimedia.org/r/c/902222 | doc: Add role::doc to doc1003 ]]
- [x] [[ https://gerrit.wikimedia.org/r/c/902505 | doc: Add role::doc to doc2002 ]]
---
# Users:
As of now, we don't have standardized fleetwide `uid` and `gid` mappings for the Doc instances. This can cause issues like [[ https://phabricator.wikimedia.org/T314972 | T314972 ]] where one instances `uid` is different than the other instances `uid` causing commands like `rsync` to write files with a different `USER:GROUP` mapping.
Ex. In the `doc1002` instance the `uid 499` is mapped to the`doc-uploader` user and in the `doc1003` instance the `uid 498` is mapped to the `doc-uploader`.
[] Ensure that the the UID/GID for the 'doc-uploader' user are consistent across the 'netmon' instances.
[x] Update the UID/GID of the 'doc-uploader' user in the 'doc1002' instance.
[] Update the UID/GID of the 'doc-uploader' user in the 'doc1003' instance.
[] Update the UID/GID of the 'doc-uploader' user in the 'doc2002' instance.
[] Update the UID/GID of the 'doc-uploader' user in the 'doc2003' instance.
[] Ensure that the UID/GID of the files belonging to the 'doc-uploader' user are consistent across the 'doc' instances.
[] Update UID/GID of the files in the 'doc1002' instance.
[] Update UID/GID of the files in the 'doc1003' instance.
[] Update UID/GID of the files in the 'doc2002' instance.
[] Update UID/GID of the files in the 'doc2003' instance.
[x] [[ https://gerrit.wikimedia.org/r/c/operations/puppet/+/903319/ | doc: Reserve UID/GID for the doc-uploader system user ]].
[x] Add the doc-uploaders' UID/GID to the [[ https://wikitech.wikimedia.org/wiki/UID#Reserved_UIDs_%26_GIDs | Reserved UIDs & GIDs documentation ]].