[Bug 1874542] [NEW] upgrade from 19.10 to 20.04 changed folder permissions

Jim Marsen 1874542 at bugs.launchpad.net
Thu Apr 23 20:41:51 UTC 2020


Public bug reported:

I successfully upgraded this morning from Ubuntu 19.10 to 20.04 using the procedure described at
https://ubuntu.com/tutorials/tutorial-upgrading-ubuntu-desktop#1-before-you-start

I was logged in as administrative user "jm"

It appears that the upgrade process incorrectly modified the owner of
the /var/www/Nextcloud and /opt/Nextcloud directories from "www-data" to
"User#99"

This caused errors when I tried to access the Nextcloud web app on my
server from a browser (Chrome).

I was able to resolve the issue by issuing the following commands:

cd /var/www
sudo chown -R www-data:www-data nextcloud
cd /opt
sudo chown -R www-data:www-data nextcloud

I was then able to access the Nextcloud application with from a browser.

Regards,
Jim Marsen

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.18
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr 23 15:44:12 2020
InstallationDate: Installed on 2019-01-11 (468 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2020-04-23 (0 days ago)
VarLogDistupgradeXorgFixuplog:
 INFO:root:/usr/bin/do-release-upgrade running
 INFO:root:No xorg.conf, exiting

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade focal third-party-packages

** Attachment added: "dist-upgrade.zip"
   https://bugs.launchpad.net/bugs/1874542/+attachment/5358674/+files/dist-upgrade.zip

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1874542

Title:
  upgrade from 19.10 to 20.04 changed folder permissions

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  I successfully upgraded this morning from Ubuntu 19.10 to 20.04 using the procedure described at
  https://ubuntu.com/tutorials/tutorial-upgrading-ubuntu-desktop#1-before-you-start

  I was logged in as administrative user "jm"

  It appears that the upgrade process incorrectly modified the owner of
  the /var/www/Nextcloud and /opt/Nextcloud directories from "www-data"
  to "User#99"

  This caused errors when I tried to access the Nextcloud web app on my
  server from a browser (Chrome).

  I was able to resolve the issue by issuing the following commands:

  cd /var/www
  sudo chown -R www-data:www-data nextcloud
  cd /opt
  sudo chown -R www-data:www-data nextcloud

  I was then able to access the Nextcloud application with from a
  browser.

  Regards,
  Jim Marsen

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubuntu-release-upgrader-core 1:20.04.18
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Apr 23 15:44:12 2020
  InstallationDate: Installed on 2019-01-11 (468 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to focal on 2020-04-23 (0 days ago)
  VarLogDistupgradeXorgFixuplog:
   INFO:root:/usr/bin/do-release-upgrade running
   INFO:root:No xorg.conf, exiting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1874542/+subscriptions



More information about the foundations-bugs mailing list