No, the backup and new are root because I copied them with root. The containers should be running as 1000 whichever user that was. What should the permissions be?
Beiträge von rocketcoder
-
-
-
I am going to just delete everything and start over, however, the file/folders in the /data directory are marked as read-only and I can't seem to get around that. I am running as root so permissions shouldn't be the issue. Any ideas on how to delete that?
-
The only thing that the two containers have in common is that they run on the same system and use the same database. My grocy app is on the same server, but doesn't use the same database.
-
Nothing there either.
Code
Alles anzeigenCertificate exists; parameters unchanged; starting nginx, Starting 2019/12/30, GeoIP2 databases require personal license key to download. Please retrieve a free license key from MaxMind,, and add a new env variable "MAXMINDDB_LICENSE_KEY", set to your license key., [cont-init.d] 50-config: exited 0., [cont-init.d] 60-renew: executing... , The cert does not expire within the next day. Letting the cron script handle the renewal attempts overnight (2:08am)., [cont-init.d] 60-renew: exited 0., [cont-init.d] 99-custom-files: executing... , [custom-init] no custom files found exiting..., [cont-init.d] 99-custom-files: exited 0., [cont-init.d] done., [services.d] starting services, [services.d] done., nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html), Server ready,
-
I am running it in docker and using portainer. Here's the log from portainer.
Code
Alles anzeigen[fix-attrs.d] done., [cont-init.d] executing container initialization scripts..., [cont-init.d] 01-envfile: executing... , [cont-init.d] 01-envfile: exited 0., [cont-init.d] 10-adduser: executing... , usermod: no changes, , -------------------------------------, _ (), | | ___ _ __, | | / __| | | / \ , | | \__ \ | | | () |, |_| |___/ |_| \__/, , , Brought to you by linuxserver.io, -------------------------------------, , To support LSIO projects visit:, https://www.linuxserver.io/donate/, -------------------------------------, GID/UID, -------------------------------------, , User uid: 1000, User gid: 1000, -------------------------------------, , [cont-init.d] 10-adduser: exited 0., [cont-init.d] 20-config: executing... , [cont-init.d] 20-config: exited 0., [cont-init.d] 30-keygen: executing... , using keys found in /config/keys, [cont-init.d] 30-keygen: exited 0., [cont-init.d] 40-config: executing... , [cont-init.d] 40-config: exited 0., [cont-init.d] 50-install: executing... , [cont-init.d] 50-install: exited 0., [cont-init.d] 60-memcache: executing... , [cont-init.d] 60-memcache: exited 0., [cont-init.d] 99-custom-files: executing... , [custom-init] no custom files found exiting..., [cont-init.d] 99-custom-files: exited 0., [cont-init.d] done., [services.d] starting services, [services.d] done., [cont-finish.d] executing container finish scripts..., [cont-finish.d] done., [s6-finish] waiting for services., [s6-finish] sending all processes the TERM signal., [s6-finish] sending all processes the KILL signal and exiting., [s6-init] making user provided files available at /var/run/s6/etc...exited 0., [s6-init] ensuring user provided files have correct perms...exited 0., [fix-attrs.d] applying ownership & permissions fixes..., [fix-attrs.d] done., [cont-init.d] executing container initialization scripts..., [cont-init.d] 01-envfile: executing... , [cont-init.d] 01-envfile: exited 0., [cont-init.d] 10-adduser: executing... , usermod: no changes, , -------------------------------------, _ (), | | ___ _ __, | | / __| | | / \ , | | \__ \ | | | () |, |_| |___/ |_| \__/, , , Brought to you by linuxserver.io, -------------------------------------, , To support LSIO projects visit:, https://www.linuxserver.io/donate/, -------------------------------------, GID/UID, -------------------------------------, , User uid: 1000, User gid: 1000, -------------------------------------, , [cont-init.d] 10-adduser: exited 0., [cont-init.d] 20-config: executing... , [cont-init.d] 20-config: exited 0., [cont-init.d] 30-keygen: executing... , using keys found in /config/keys, [cont-init.d] 30-keygen: exited 0., [cont-init.d] 40-config: executing... , [cont-init.d] 40-config: exited 0., [cont-init.d] 50-install: executing... , [cont-init.d] 50-install: exited 0., [cont-init.d] 60-memcache: executing... , [cont-init.d] 60-memcache: exited 0., [cont-init.d] 99-custom-files: executing... , [custom-init] no custom files found exiting..., [cont-init.d] 99-custom-files: exited 0., [cont-init.d] done., [services.d] starting services, [services.d] done.,
Doesn't look like there is anything useful in there.
-
Hi all,
Something happened to my nextcloud seemingly over night. Whenever I go to my domain or locally I get an internal server error. I have tried digging through the logs, but I don't see any errors pertaining to it. Maybe I'm not looking at the right logs? Also my bookstack app is giving the same 500 error. Is it possibly something with my db? I haven't touched the db any time recently.
If there are any logs you guys think might help, please let me know. I really don't want to have to rebuild nextcloud again.
Thanks in advance.
-
I already have a MariaDB setup from my NextCloud container. I am trying to install Bookstack using the same MariaDB to limit the number of MariaDB containers. However I am getting any error at the part "Running config - db_user set"
Here is the containers log
Code
Alles anzeigen_ (), | | ___ _ __, | | / __| | | / \ , | | \__ \ | | | () |, |_| |___/ |_| \__/, , , Brought to you by linuxserver.io, -------------------------------------, , To support LSIO projects visit:, https://www.linuxserver.io/donate/, -------------------------------------, GID/UID, -------------------------------------, , User uid: 1000, User gid: 1000, -------------------------------------, , [cont-init.d] 10-adduser: exited 0., [cont-init.d] 20-config: executing... , [cont-init.d] 20-config: exited 0., [cont-init.d] 30-keygen: executing... , using keys found in /config/keys, [cont-init.d] 30-keygen: exited 0., [cont-init.d] 50-config: executing... , App Key found - setting variable for seds, Running config - db_user set, , Illuminate\Database\QueryException : SQLSTATE[HY000] [2002] Operation timed out (SQL: select * from information_schema.tables where table_schema = bookstackapp and table_name = migrations and table_type = 'BASE TABLE'), , at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:669, 665| // If an exception occurs when attempting to run a query, we'll format the error, 666| // message to include the bindings with SQL, which will make this exception a, 667| // lot more helpful to the developer instead of just the database's errors., 668| catch (Exception $e) {, > 669| throw new QueryException(, 670| $query, $this->prepareBindings($bindings), $e, 671| );, 672| }, 673|, , Exception trace:, , 1 Doctrine\DBAL\Driver\PDOException::("SQLSTATE[HY000] [2002] Operation timed out"), /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, , 2 PDOException::("SQLSTATE[HY000] [2002] Operation timed out"), /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27, , Please use the argument -v to see more details., [cont-init.d] 50-config: exited 0., [cont-init.d] 99-custom-files: executing... , [custom-init] no custom files found exiting..., [cont-init.d] 99-custom-files: exited 0., [cont-init.d] done., [services.d] starting services, [services.d] done.,
Any ideas on what I am doing wrong?
-
Thanks gderf! That worked.
-
I don't have any of those options.
-
Hi,
I installed linuxserver's plex docker. In the tutorials I was following it should adding library's for your media. Mine just asked me to login, but didn't give me the option to add libraries. I went through all the settings and there isn't any where to add them. All that plex gives me is online content. I have recreated the container multiple time to no success. Has anyone run into this before? What did you do?
-
I figured it out and I feel really stupid. On the letsencrypt docker I didn't passthrough the proper ports so 443 and 80 were getting random port numbers.
For example:
33721 => 443
33722 => 80
Once I corrected that it worked.
-
This is definitely an nginx issue. I forwarded the nextcloud port directly to the file server where the nextcloud container is hosted and got to it from the outside. Something in nginx isn't forwarding the request to the nextcloud container.
-
I can get to it internally with the IP address or the DNS name, but still no outside access.
-
When I try visiting https://192.168.1.4:32773 it forwards on to https://cloud.silverfishdevelopment.com but then I get took too long to respond.
-
No errors from LetsEncrypt just LuaJIT alert. Is it an issue with NextCloud maybe?
-
In the default config file there is no including of subdomain conf files. Just include /config/nginx/proxy-confs/*.subfolder.conf;
Is it included somewhere else? Because it still isn't working.
-
Yes nextcloud is running at that location.
There is this
nginx: [emerg] "server" directive is not allowed here in /config/nginx/proxy-confs/nextcloud.subdomain.conf:15
I included the /config/nginx/proxy-confs/*.subdomain.conf in the default file in site-confs.
EDIT: I moved the include into the nginx.conf file and the error is gone, but still getting the connection refused.
-
Hi All!
I got Letsencrypt installed and nextcloud setup. I have the LetsEncrypt Nginx running in docker on another server and I want it to do reverse proxy to the file server that has nextcloud running on it. I setup the proxy configs with the sample file on the LetsEncrypt container and added the required lines to the nextcloud config.php suggested in the sample proxy. However, when I try to go to my domain name I get refused to connect. I'm sure it's something misconfigured in the reverse proxy that I am not aware of, being new to reverse proxies and nginx.
Code
Alles anzeigen# make sure that your dns has a cname set for nextcloud # assuming this container is called "letsencrypt", edit your nextcloud container's config # located at /config/www/nextcloud/config/config.php and add the following lines before the ");": # 'trusted_proxies' => ['letsencrypt'], # 'overwrite.cli.url' => 'https://nextcloud.your-domain.com/', # 'overwritehost' => 'nextcloud.your-domain.com', # 'overwriteprotocol' => 'https', # # Also don't forget to add your domain name to the trusted domains array. It should look somewhat like thi> # array ( # 0 => '192.168.0.1:444', # This line may look different on your setup, don't modify it. # 1 => 'nextcloud.your-domain.com', # ), server { listen 443 ssl; listen [::]:443 ssl; server_name cloud.silverfishdevelopment.com; include /config/nginx/ssl.conf; client_max_body_size 0; location / { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; set $upstream_app blackbox; set $upstream_port 32773; set $upstream_proto https; proxy_pass https://192.168.1.4:32773; proxy_max_temp_file_size 2048m; } }
Any help would be much appreciated.
-
Turns out some of the upload file size fixes broke the OMV web portal.