Beiträge von TonyNGUYEN

    I have errors in nextcloud log :

    • 09/09/2023 15:32:41 [migrations] started
    • 09/09/2023 15:32:41 [migrations] 01-nginx-site-confs-default: executing...
    • 09/09/2023 15:32:41 [migrations] 01-nginx-site-confs-default: succeeded
    • 09/09/2023 15:32:41 [migrations] 02-default-location: executing...
    • 09/09/2023 15:32:42 grep: /config/nginx/site-confs/default.conf: No such file or directory
    • 09/09/2023 15:32:42 [migrations] 02-default-location: succeeded
    • 09/09/2023 15:32:42 [migrations] done
    • 09/09/2023 15:32:44 ───────────────────────────────────────
    • 09/09/2023 15:32:44
    • 09/09/2023 15:32:44 ██╗ ███████╗██╗ ██████╗
    • 09/09/2023 15:32:44 ██║ ██╔════╝██║██╔═══██╗
    • 09/09/2023 15:32:44 ██║ ███████╗██║██║ ██║
    • 09/09/2023 15:32:44 ██║ ╚════██║██║██║ ██║
    • 09/09/2023 15:32:44 ███████╗███████║██║╚██████╔╝
    • 09/09/2023 15:32:44 ╚══════╝╚══════╝╚═╝ ╚═════╝
    • 09/09/2023 15:32:44
    • 09/09/2023 15:32:44 Brought to you by linuxserver.io
    • 09/09/2023 15:32:44 ───────────────────────────────────────
    • 09/09/2023 15:32:44
    • 09/09/2023 15:32:44 To support LSIO projects visit:
    • 09/09/2023 15:32:44 https://www.linuxserver.io/donate/
    • 09/09/2023 15:32:44
    • 09/09/2023 15:32:44 ───────────────────────────────────────
    • 09/09/2023 15:32:44 GID/UID
    • 09/09/2023 15:32:44 ───────────────────────────────────────
    • 09/09/2023 15:32:44
    • 09/09/2023 15:32:44 User UID: 1003
    • 09/09/2023 15:32:44 User GID: 100
    • 09/09/2023 15:32:44 ───────────────────────────────────────
    • 09/09/2023 15:32:44
    • 09/09/2023 15:32:45 Setting resolver to 127.0.0.11
    • 09/09/2023 15:32:45 Setting worker_processes to 2
    • 09/09/2023 15:32:45 generating self-signed keys in /config/keys, you can replace these with your own keys if required
    • 09/09/2023 15:32:46 ....+......+.........+.....+++++++++++++++++++++++++++++++++++++++*..+.........+......+....+...+......+..+++++++++++++++++++++++++++++++++++++++*....+.........+....+...+.......................+............+.............+..+....+...+.....+...+....+....................+.+............+..+.........+....+...+............+......+......+.....+......+...+.+...+...+..+...+..........+...+............+..+......+......+...+..........+........+............+.+......+...++++++
    • 09/09/2023 15:32:46 .....+.+..+.......+..+...+++++++++++++++++++++++++++++++++++++++*.+....+........+.......+........+...+....+++++++++++++++++++++++++++++++++++++++*.+.+...+........+.........+.+...............+..+.+......+.....+....+.........+....................................+..............+...+...+............+.......+..+.+...+..+....+.....+...+...+....+......+...+......+...+..+.........+.+.........+...........+...+......+.......+...+..+...+......+...+.+...........+.........+.+...+............+........+............+....+..+.........+...+............+....+.....+....+..+...+...+....+...+............+...+......+.....+....++++++
    • 09/09/2023 15:32:46 -----
    • 09/09/2023 15:32:48 Initializing nextcloud 27.0.2.1 (this can take a while) ...
    • 09/09/2023 15:34:39 Setting permissions
    • 09/09/2023 15:34:39 New nextcloud instance
    • 09/09/2023 15:34:39 Please run the web-based installer on first connect!
    • 09/09/2023 15:34:39 Initializing finished
    • 09/09/2023 15:34:43 After completing the web-based installer, restart the Nextcloud container to apply default memory caching and transactional file locking configurations.
    • 09/09/2023 15:34:43 Alternatively, you can apply your own configurations by editing /config/www/nextcloud/config/config.php following the documentation:
    • 09/09/2023 15:34:43 https://docs.nextcloud.com/ser…aching_configuration.html
    • 09/09/2023 15:34:43 https://docs.nextcloud.com/ser…ocking_transactional.html
    • 09/09/2023 15:34:46 # do daily/weekly/monthly maintenance
    • 09/09/2023 15:34:46 # min hour day month weekday command
    • 09/09/2023 15:34:46 */15 * * * * run-parts /etc/periodic/15min
    • 09/09/2023 15:34:46 0 * * * * run-parts /etc/periodic/hourly
    • 09/09/2023 15:34:46 0 2 * * * run-parts /etc/periodic/daily
    • 09/09/2023 15:34:46 0 3 * * 6 run-parts /etc/periodic/weekly
    • 09/09/2023 15:34:46 0 5 1 * * run-parts /etc/periodic/monthly
    • 09/09/2023 15:34:46 # nextcloud cron
    • 09/09/2023 15:34:46 */5 * * * * s6-setuidgid abc php -f /app/www/public/cron.php
    • 09/09/2023 15:34:46 cp: not replacing '/config/crontabs/root'
    • 09/09/2023 15:34:46 [custom-init] No custom files found, skipping...
    • 09/09/2023 15:34:46 [ls.io-init] done.
    • 09/09/2023 15:35:01 Exception: Not installed in /app/www/public/lib/base.php:285
    • 09/09/2023 15:35:01 Stack trace:
    • 09/09/2023 15:35:01 #0 /app/www/public/lib/base.php(712): OC::checkInstalled()
    • 09/09/2023 15:35:01 #1 /app/www/public/lib/base.php(1180): OC::init()
    • 09/09/2023 15:35:01 #2 /app/www/public/cron.php(43): require_once('...')
    • 09/09/2023 15:35:01 #3 {main}
    • 09/09/2023 15:40:01 Exception: Not installed in /app/www/public/lib/base.php:285
    • 09/09/2023 15:40:01 Stack trace:
    • 09/09/2023 15:40:01 #0 /app/www/public/lib/base.php(712): OC::checkInstalled()
    • 09/09/2023 15:40:01 #1 /app/www/public/lib/base.php(1180): OC::init()
    • 09/09/2023 15:40:01 #2 /app/www/public/cron.php(43): require_once('...')
    • 09/09/2023 15:40:01 #3 {main}
    • 09/09/2023 15:45:01 Exception: Not installed in /app/www/public/lib/base.php:285
    • 09/09/2023 15:45:01 Stack trace:
    • 09/09/2023 15:45:01 #0 /app/www/public/lib/base.php(712): OC::checkInstalled()
    • 09/09/2023 15:45:01 #1 /app/www/public/lib/base.php(1180): OC::init()
    • 09/09/2023 15:45:01 #2 /app/www/public/cron.php(43): require_once('...')
    • 09/09/2023 15:45:01 #3 {main}
    • 09/09/2023 15:42:38 [migrations] started
    • 09/09/2023 15:42:38 [migrations] 01-nginx-site-confs-default: skipped
    • 09/09/2023 15:42:38 [migrations] done
    • 09/09/2023 15:42:39 ───────────────────────────────────────
    • 09/09/2023 15:42:39
    • 09/09/2023 15:42:39 ██╗ ███████╗██╗ ██████╗
    • 09/09/2023 15:42:39 ██║ ██╔════╝██║██╔═══██╗
    • 09/09/2023 15:42:39 ██║ ███████╗██║██║ ██║
    • 09/09/2023 15:42:39 ██║ ╚════██║██║██║ ██║
    • 09/09/2023 15:42:39 ███████╗███████║██║╚██████╔╝
    • 09/09/2023 15:42:39 ╚══════╝╚══════╝╚═╝ ╚═════╝
    • 09/09/2023 15:42:39
    • 09/09/2023 15:42:39 Brought to you by linuxserver.io
    • 09/09/2023 15:42:39 ───────────────────────────────────────
    • 09/09/2023 15:42:39
    • 09/09/2023 15:42:39 To support the app dev(s) visit:
    • 09/09/2023 15:42:39 Certbot: https://supporters.eff.org/donate/support-work-on-certbot
    • 09/09/2023 15:42:39
    • 09/09/2023 15:42:39 To support LSIO projects visit:
    • 09/09/2023 15:42:39 https://www.linuxserver.io/donate/
    • 09/09/2023 15:42:39
    • 09/09/2023 15:42:39 ───────────────────────────────────────
    • 09/09/2023 15:42:39 GID/UID
    • 09/09/2023 15:42:39 ───────────────────────────────────────
    • 09/09/2023 15:42:39
    • 09/09/2023 15:42:39 User UID: 1003
    • 09/09/2023 15:42:39 User GID: 100
    • 09/09/2023 15:42:39 ───────────────────────────────────────
    • 09/09/2023 15:42:39
    • 09/09/2023 15:42:39 using keys found in /config/keys
    • 09/09/2023 15:42:41 Variables set:
    • 09/09/2023 15:42:41 PUID=1003
    • 09/09/2023 15:42:41 PGID=100
    • 09/09/2023 15:42:41 TZ=Europe/Paris
    • 09/09/2023 15:42:41 URL=mydomain.duckdns.org
    • 09/09/2023 15:42:41 SUBDOMAINS=wildcard
    • 09/09/2023 15:42:41 EXTRA_DOMAINS=
    • 09/09/2023 15:42:41 ONLY_SUBDOMAINS=false
    • 09/09/2023 15:42:41 VALIDATION=duckdns
    • 09/09/2023 15:42:41 CERTPROVIDER=
    • 09/09/2023 15:42:41 DNSPLUGIN=
    • 09/09/2023 15:42:41 EMAIL=mydomain@gmail.com
    • 09/09/2023 15:42:41 STAGING=
    • 09/09/2023 15:42:41
    • 09/09/2023 15:42:45 the resulting certificate will only cover the subdomains due to a limitation of duckdns, so it is advised to set the root location to use http://www.subdomain.duckdns.org
    • 09/09/2023 15:42:45 Different validation parameters entered than what was used before. Revoking and deleting existing certificate, and an updated one will be created
    • 09/09/2023 15:42:49 Saving debug log to /var/log/letsencrypt/letsencrypt.log
    • 09/09/2023 15:42:49 No certificate found with name mydomain.duckdns.org (expected /etc/letsencrypt/renewal/mydomain.duckdns.org.conf).
    • 09/09/2023 15:42:49 Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
    • 09/09/2023 15:42:49 Using Let's Encrypt as the cert provider
    • 09/09/2023 15:42:49 SUBDOMAINS entered, processing
    • 09/09/2023 15:42:49 Wildcard cert for mydomain.duckdns.org will be requested
    • 09/09/2023 15:42:49 E-mail address entered: mydomain@gmail.com
    • 09/09/2023 15:42:49 dns validation via duckdns plugin is selected
    • 09/09/2023 15:42:49 Generating new certificate
    • 09/09/2023 15:42:52 Saving debug log to /var/log/letsencrypt/letsencrypt.log
    • 09/09/2023 15:42:53 Account registered.
    • 09/09/2023 15:42:53 Requesting a certificate for *.mydomain.duckdns.org
    • 09/09/2023 15:42:54 Unsafe permissions on credentials configuration file: /config/dns-conf/duckdns.ini
    • 09/09/2023 15:42:54 Unsafe permissions on credentials configuration file: /config/dns-conf/duckdns.ini
    • 09/09/2023 15:42:54 Waiting 30 seconds for DNS changes to propagate
    • 09/09/2023 15:43:29
    • 09/09/2023 15:43:29 Successfully received certificate.
    • 09/09/2023 15:43:29 Certificate is saved at: /etc/letsencrypt/live/mydomain.duckdns.org/fullchain.pem
    • 09/09/2023 15:43:29 Key is saved at: /etc/letsencrypt/live/mydomain.duckdns.org/privkey.pem
    • 09/09/2023 15:43:29 This certificate expires on 2023-12-08.
    • 09/09/2023 15:43:29 These files will be updated when the certificate renews.
    • 09/09/2023 15:43:29 NEXT STEPS:
    • 09/09/2023 15:43:29 - The certificate will need to be renewed before it expires. Certbot can automatically renew the certificate in the background, but you may need to take steps to enable that functionality. See https://certbot.org/renewal-setup for instructions.
    • 09/09/2023 15:43:29
    • 09/09/2023 15:43:29 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    • 09/09/2023 15:43:29 If you like Certbot, please consider supporting our work by:
    • 09/09/2023 15:43:29 * Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
    • 09/09/2023 15:43:29 * Donating to EFF: https://eff.org/donate-le
    • 09/09/2023 15:43:29 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    • 09/09/2023 15:43:31 New certificate generated; starting nginx
    • 09/09/2023 15:43:31 The cert does not expire within the next day. Letting the cron script handle the renewal attempts overnight (2:08am).
    • 09/09/2023 15:43:31 [custom-init] No custom files found, skipping...
    • 09/09/2023 15:43:31 [ls.io-init] done.
    • 09/09/2023 15:43:36 Server ready

    I have deployed the following stack in Portainer :

    I do not know if I want to use sub-domain. Do you think that I have to delete this line ?

    My output :

    Code
    -rw-r--r-- 1 root root 2023  8 sept. 17:52 /srv/dev-disk-by-uuid-c8a4644c-e22d-4b2c-924b-456dc4b1a801/appdata/swag/nginx/proxy-confs/nextcloud.subfolder.conf