gevsan

Members
  • Posts

    53
  • Joined

  • Last visited

Everything posted by gevsan

  1. Solved. My switchdied somehow.. I just restarted the switch and my server was back online. Thanks everyone!
  2. Hey, I did try to reboot first. After the reboot i took the diagnostics that are in my first post. Also, before going to work this morning I tried to start up the server again but with the same issue So totally i've restarted the server 3 times now. Could it be the NIC on the mobo that are dead?
  3. Hello, I can't acces the web gui from my LAN. It worked fine some hours ago. I have not installed or changed anything on my server the last 1 or 2 weeks.. I can't access my dockers either. So i assume that something is wrong. But I can acces the "shell". Could anyone check my diagnostics? I had similare issues a while ago when my boot-USB died. Maybe my new drive also died? Thanks.. /G tower-diagnostics-20231108-2129.zip
  4. Hey, I'm sorry for the insanely long delay for reply I did find backup but i'm not sure if it's working... - How do I replace my existing libvirt file with my backup? - Do I have to worry about my dockers when doing this?
  5. Hello. I can't get Tachideck to download as cbz. Also I can't get the authorization to work. Here is my docker run and template.
  6. I had problems with my Redis docker but got it to work again. Now i'm getting this error in the log. 2023/04/26 15:07:16 [error] 324#324: *566 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot declare class OC\Memcache\Redis, because the name is already in use in /config/www/nextcloud/lib/private/Memcache/Redis.php on line 34" while reading response header from upstream, client: 162.158.222.183, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mydomain" 2023/04/26 15:07:43 [error] 318#318: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot declare class OC\Memcache\Redis, because the name is already in use in /config/www/nextcloud/lib/private/Memcache/Redis.php on line 34" while reading response header from upstream, client: 162.158.222.228, server: _, request: "POST /login HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mydomain" 2023/04/26 15:07:48 [error] 319#319: *3 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot declare class OC\Memcache\Redis, because the name is already in use in /config/www/nextcloud/lib/private/Memcache/Redis.php on line 34" while reading response header from upstream, client: 162.158.222.228, server: _, request: "POST /login HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mydomain" /config/www/nextcloud/lib/private/Memcache/Redis.php line 34 class Redis extends Cache implements IMemcacheTTL { /** * @var \Redis $cache */ private static $cache = null; public function __construct($prefix = '', string $logFile = '') { parent::__construct($prefix); if (is_null(self::$cache)) { self::$cache = \OC::$server->getGetRedisFactory()->getInstance(); } } Anyone know what I should do?
  7. php -v root@c9defde43c12:/# php -v PHP 8.1.18 (cli) (built: Apr 13 2023 23:14:07) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.18, Copyright (c) Zend Technologies with Zend OPcache v8.1.18, Copyright (c), by Zend Technologies I've attached the logs. /config/log/nginx/error.log <-- This is Blank empty.
  8. occ status root@c9defde43c12:/# occ status Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade - installed: true - version: 23.0.12.2 - versionstring: 23.0.12 - edition: - maintenance: false - needsDbUpgrade: true - productname: Nextcloud - extendedSupport: false root@c9defde43c12:/# cat /config/www/nextcloud/version.php <?php $OC_Version = array(23,0,12,2); $OC_VersionString = '23.0.12'; $OC_Edition = ''; $OC_Channel = 'stable'; $OC_VersionCanBeUpgradedFrom = array ( 'nextcloud' => array ( '22.0' => true, '23.0' => true, ), 'owncloud' => array ( '10.11' => true, ), ); $OC_Build = '2023-03-21T09:23:03+00:00 62cfd3b4c9ff4d8cdbbe6dcc8b63a1085bb94e3d'; $vendor = 'nextcloud'; root@c9defde43c12:/# cat /config/www/nextcloud/config/config.php | grep version 'version' => '23.0.12.2', occ integrity:check-core root@c9defde43c12:/# occ integrity:check-core Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade - INVALID_HASH: - version.php: - expected: 496b0d7d08003a9eddf37370e7ec64e701f1ea31eaef04d3c26beb1f5777855f608bc436525868473f69d8356b8341a8d3c8ce72830a9f9366643fa7e7c924e8 - current: bfd86c89b63342ba16e67f0c3488a69e03e08b37c490e8d4dd0bec9112e39fc28a6f00ee261d733bad5afc44bf1d3270a1de1a5e3b1d8defc49eb29f22c0cb2a occ maintenance:repair Did not help occ upgrade root@c9defde43c12:/# occ upgrade Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade Setting log level to debug Turned on maintenance mode Updating database schema Updated database UnexpectedValueException: The files of the app "files" were not correctly replaced before running the update Update failed Maintenance mode is kept active Resetting log level Repository: lscr.io/linuxserver/nextcloud:latest But after this I did try docker exec -it nextcloud updater.phar And this actually worked! Now im back at my login screen, but when im trying to login im getting this error: “Internal Server Error The server was unable to complete your request. If this happens again, please send the technical details below to the server administrator. More details can be found in the server log" Im not sure where I can find this log. I've been looking in the "error.log" but that wasn't much of help.. Worth mentioning, Now when I am getting to the login screen I did run these command again: root@c9defde43c12:/# occ status - installed: true - version: 24.0.12.1 - versionstring: 24.0.12 - edition: - maintenance: false - needsDbUpgrade: false - productname: Nextcloud - extendedSupport: false root@c9defde43c12:/# cat /config/www/nextcloud/version.php <?php $OC_Version = array(24,0,12,1); $OC_VersionString = '24.0.12'; $OC_Edition = ''; $OC_Channel = 'stable'; $OC_VersionCanBeUpgradedFrom = array ( 'nextcloud' => array ( '23.0' => true, '24.0' => true, ), 'owncloud' => array ( '10.5' => true, ), ); $OC_Build = '2023-04-19T16:04:20+00:00 5b79bb15b510f52ab598fa45e6977857a9d4895a'; $vendor = 'nextcloud'; root@c9defde43c12:/# cat /config/www/nextcloud/config/config.php | grep version 'version' => '24.0.12.1',
  9. Thank you so much for the help. I did what you explained, and this is what my version.php looks like now <?php $OC_Version = array(23,0,12,2); $OC_VersionString = '23.0.12'; $OC_Edition = ''; $OC_Channel = 'stable'; $OC_VersionCanBeUpgradedFrom = array ( 'nextcloud' => array ( '22.0' => true, '23.0' => true, ), 'owncloud' => array ( '10.11' => true, ), ); $OC_Build = '2023-03-21T09:23:03+00:00 62cfd3b4c9ff4d8cdbbe6dcc8b63a1085bb94e3d'; $vendor = 'nextcloud'; Unfortunately it wasn't that "easy" Im now getting this message..
  10. Thanks for the explanation! I get the problem now. This is what it looks like for me: root@c9defde43c12:/# occ status Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade - installed: true - version: 26.0.0.11 - versionstring: 26.0.0 - edition: - maintenance: false - needsDbUpgrade: true - productname: Nextcloud - extendedSupport: false root@c9defde43c12:/# cat /config/www/nextcloud/version.php <?php $OC_Version = array(26,0,0,11); $OC_VersionString = '26.0.0'; $OC_Edition = ''; $OC_Channel = 'stable'; $OC_VersionCanBeUpgradedFrom = array ( 'nextcloud' => array ( '25.0' => true, '26.0' => true, ), 'owncloud' => array ( '10.11' => true, ), ); $OC_Build = '2023-03-21T09:23:03+00:00 62cfd3b4c9ff4d8cdbbe6dcc8b63a1085bb94e3d'; $vendor = 'nextcloud'; root@c9defde43c12:/# cat /config/www/nextcloud/config/config.php | grep version 'version' => '23.0.12.2', Now if I follow the Blog, I get stuck on second step... I don't realy know what this means or how I should do it docker-compose nextcloud-php apt-get update \ && apt-get install nano \ && nano config/config.php
  11. The problem is that I don't know how to proceed from this message.. If i press "Start Upgrade" I will get this error, "Exception: Updates between multiple major versions and downgrades are unsupported."
  12. I see.. I changed to "lscr.io/linuxserver/nextcloud:latest" Now when i acces nextcloud I'm getting this message
  13. I would love to try this! However even if i try to acces nextcloud from domain or local I allways get this message: This version of Nextcloud requires at least PHP 8.0 You are currently running 7.4.26. Please update your PHP version. Do you know how to get to the "administarion settings" another way?
  14. Hey, I'm not really sure of what you mean? How do I upgrade the GUI?
  15. Im pretty sure I do have a backup on another computer actually. I will check when im home.
  16. This is my output root@Tower:~# find /mnt -name libvirt.img /mnt/user/system/libvirt/libvirt.img /mnt/cache_doc/system/libvirt/libvirt.img
  17. Yes, I tried this. But I always get stuck at "Extracting failed" I've tried all 3 different update steps on the first page aswell.. For upgrading the Nextcloud version there are 3 options. 1. Update via the webui when the upgrade shows as available. 2. Update from the terminal when the upgrade shows as available with: docker exec -it nextcloud updater.phar 3. Manual upgrade using occ. I'll attach my diagnostics aswell tower-diagnostics-20230421-1150.zip
  18. Hello, I can't see my VM on dashboard or in VM tab anymore. I had a W10 VM and I can still see it on my cache disk. It's called vdisk1.img Can I create a new VM somehow and connect my vdisk1.img to it? If Yes, how? tower-diagnostics-20230421-1150.zip
  19. Sorry for the "bump" but from what I understand, I need to downgrade from 26.0.0 somehow. I just don't know how to do it... Or is it possible for me to upgrade to 26.0.1? If yes, how?
  20. Hey, I am also getting this error This version of Nextcloud requires at least PHP 8.0 You are currently running 7.4.26. Please update your PHP version. Whatever I try to do, I allways end up with this error and I don't know to to solve this
  21. After i typed chown nobody:users -R * Some of my folders changed owner to "UNKNOWN" I also lost my VMs somehow...
  22. I get the same message when im trying to docker exec -it nextcloud occ maintenance:mode --off I don't know what to do
  23. Yes I did. I get this message: root@Tower:~# docker exec -it nextcloud occ upgrade Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade Cannot write into "config" directory. This can usually be fixed by giving the web server write access to the config directory. See https://docs.nextcloud.com/server/26/go.php?to=admin-dir_permissions. Or, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it. See https://docs.nextcloud.com/server/26/go.php?to=admin-config Cannot write into "apps" directory. This can usually be fixed by giving the web server write access to the apps directory or disabling the App Store in the config file. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /config/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /config/www/nextcloud/console.php(99): OC\Console\Application->loadCommands() #1 /config/www/nextcloud/occ(11): require_once('...') #2 {main}root@Tower:~#
  24. Thanks! I tried ls -la and I had no owner. So i typed chown nobody:users -R * and it still doesn't give me owner. Below is the output after I typed "chown nobody:users -R *" root@Tower:/mnt/user/appdata/nextcloud# ls -la total 145856 drwxrwxrwx 1 nobody users 192 Apr 12 09:34 ./ drwxrwxrwx 1 65534 users 606 Mar 29 10:56 ../ drwxrwxrwx 1 nobody users 20 Jan 24 2022 .cache/ -rw-r--r-- 1 nobody users 28 Oct 19 17:01 .migrations -rw------- 1 nobody users 1024 Apr 10 19:39 .rnd drwxrwxrwx 1 nobody users 8 Apr 13 07:54 crontabs/ drwxr-xr-x 1 nobody users 0 Feb 27 12:51 custom-cont-init.d/ drwxr-xr-x 1 nobody users 0 Feb 27 12:51 custom-services.d/ drwxrwxrwx 1 nobody users 32 Jan 24 2022 keys/ -rw-r--r-- 1 nobody users 149346219 Apr 12 09:34 latest.tar.bz2 drwxrwxrwx 1 nobody users 48 Apr 13 02:00 log/ drwxrwxrwx 1 nobody users 212 Apr 13 07:54 nginx/ drwxrwxrwx 1 nobody users 44 Jan 24 2022 php/ drwxrwxrwx 1 nobody users 70 Apr 13 07:52 www/
  25. I will try this. Just a noobish question.. I assume you mean to do this through the terminal? How do i cd into the directory?