u/FlorentR

Internal Server Error when migrating Nextcloud

I have a Nextcloud server instance that was installed along a lot of other things on an Ubuntu server on bare metal. This setup has become a half-broken unmanageable mess (I don't think that Nextcloud instance even works anymore), and so I'm in the process of migrating everything that was on that server to containers / VM on Proxmox (so that everything is properly isolated, I can rebalance containers and VMs across multiple Proxmox hosts, etc).

I have followed the steps in https://docs.nextcloud.com/server/stable/admin_manual/maintenance/migrating.html, and so I have:

  • Set up an LXC with Apache2, MariaDB, PHP, and all the other required dependencies
  • Extracted Nextcloud in the proper location
  • Restored the latest DB backup
  • Copied over the config.php from the initial Nextcloud instance

However, I am greeted with an error message:

>Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

Unfortunately, I cannot find any clue whatsoever in any logs that I can think of (/var/log/apache2/*, /var/www/nextcloud/data/nextcloud.log).

If I perform the exact same migration steps above without restoring the database (and running sudo -u www-data php /var/www/nextcloud/occ maintenance:install ... instead), then Nextcloud runs just fine (though it doesn't know about any users or files at this stage, obviously).

So clearly, something seems to be broken in my database dump. I have a few older dumps, but they are sparse and probably quite outdated.

What would be my best bet here to move forward? Given that we have only used that Nextcloud instance as a way to back up and synchronize files across devices - we haven't used things like Calendar, Talk, etc. So I don't think there is anything I really care about in that database besides user accounts (so they don't have to reconfigure their clients) and making sure that the database is up-to-date with restored files.

Should I try to fix my DB dump somehow? Should I only import some tables from my db dump, and run some maintenance process to catch up the DB with the user files? Something else?

reddit.com
u/FlorentR — 6 days ago
▲ 1 r/ASUS

I have a Zenbook S 14 from 2024, and as of today the internal screen sporadically does not work.

What do I mean by "does not work"? It started with the internal screen working, but being "frozen" (i.e. what the screen shows doesn't change, even if I try to move the mouse or launch something through the keyboard); it then progressed to the internal screen just being completely black. However, in both cases, external screens work just fine.

And this is sporadic - sometimes the screen goes back to fully working for some amount of time (sometimes seconds or minutes, sometimes multiple hours). I have also observed at least once some weird flickering colored lines going across the screen (when playing a Youtube video in Firefox, if that matters), but only on the internal screen.

I checked System Settings, and it correctly identifies the graphics card, as well as both the internal and external displays:

https://preview.redd.it/fwudt3skoezg1.png?width=749&format=png&auto=webp&s=f2cf9951e8eb7182d5269acca74ce413f53922fc

When looking at the device manager, no devices are showing errors, and in particular the graphics card and internal monitor report that they are fine:

https://preview.redd.it/7ojwv1wyoezg1.png?width=1748&format=png&auto=webp&s=2b7648ca21f6f3b131fd09a389acb4db5b083cec

I have checked that the luminosity of the screen is not zero. I haven't recently updated either the drivers, the BIOS, or Windows.

What's going on here? Is that some kind of impending hardware failure? Has anyone else experienced this?

Thanks!

reddit.com
u/FlorentR — 9 days ago