Jump to content

andrut

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by andrut

  1. I have similar problem. About 1-2 hours after updating container it usually comes up with notification that update is ready. When I update it again it pulls 0 bytes and recreates container. Its pretty annoying. I'm using Uniraid 6.12.8 and I remember seeing this problem back in 2023.

  2. I have similar problem. About 1-2 hours after updating container it usually comes up with notification that update is ready. When I update it again it pulls 0 bytes and recreates container. Its pretty annoying. I'm using Uniraid 6.12.8 and I remember seeing this problem back in 2023.

  3. 1 minute ago, knights_of_pine said:

    thank you, i appreciate the help!

    for the maintenance, i put this in the config.php file that is in my appdata>nextcloud>congfig.php? do i put it in the section with dbtype, version, dbname, etc?

     

    database indices worked and cleared the error, thank you!

    I switched to cron and set the command in the scripts plugin.

     

     

     

     

     

    Yes, in config.php put it somewhere in that section.

    • Upvote 1
  4. 8 hours ago, knights_of_pine said:

    I am getting the below errors in the admin console and the background jobs.  i am not sure how to resolve these.  I am new to some of this but can follow directions.  can someone help me understand/resolve these?  thank you!

     

    image.thumb.png.94b4e45d400da68b32de3c104ceebfe2.png

     

    image.thumb.png.abb719b440b918f466665ba46ef88184.png

    For maintenance window just paste this line into config.php file:

    'maintenance_window_start' => 1,

    If you set it to 1, the maintenance window will be set between 1 and 5 am.

     

    With the database thing just try to run the command it tells you to use. If you're using nextcloud official image just go to the Unraid terminal and paste this command:

    docker exec -u 99 nextcloud php ooc db:add-missing-indices

     

    And with the background jobs change AJAX to Cron and if you have User Scripts plugin just add a new script and paste this command:

    docker exec -u 99 nextcloud php cron.php

    Save and set it to run every 5 minutes with custom schedule */5 * * * *.

    • Like 1
  5. 1 hour ago, KptnKMan said:

    Thanks, I totally forgot about docker interactive console.

     

    I'm trying to resolve a problem where I think the webserver files are wrong permissions.

     

    In particular I think the followind dirs:

     

    - /var/www/html/

    - /var/www/html/config

    - /var/www/html/data

    Do you know the correct permissions and owners for these dirs?

     

     

    These are mine. Everything is stock and is working fine since January 2023.

    1628028862_Zrzutekranu2024-02-27o19_21_53.png.6b314f00abbe1efcc64f60514cfc6493.png

  6. 1 hour ago, KptnKMan said:

    Thanks, that helps with docker exec.

     

    However, I still cannot su within the container console, and its annoying because my container has stopped working and I have no su/sudo access.

     

    How can I get the root password?

    You can try "docker exec -it -u root nextcloud bash" in Unraid console to access nextcloud console as root.

    • Thanks 1
  7. 26 minutes ago, KptnKMan said:

     

    Hi, I've been trying to get this to work for some time and I'm unable.

    When I run the command, I get:

    Console has to be executed with the user that owns the file config/config.php
    Current user id: 33
    Owner id of config.php: 99

     

    I'm trying to get cron running using the mentioned 2nd method.

    When I check the /etc/passwd file, there is no user 99.

    Any ideas?

     

    Also, whenever I try to su within the container, I get a password prompt, but what is the password?

    Additionally, when I try to sudo I get an error that sudo is not found.

    Any help would be appreciated?

    Just go with "docker exec -u 99 nextcloud php cron.php". On Unraid nextcloud files are owned by user 99. There's no www-data. Sometimes you're gonna get a warning because of using different user than www-data but it's nothing to worry about.

    • Thanks 1
  8. 1 minute ago, EArroyo said:

    Upgraded unRAID from 6.9.2 to 6.12.6 and now my NextCloud is giving me an error:

    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.

     

    Can you provide the server log?

×
×
  • Create New...