I'm a guy spending too much time breaking things he shouldn't.
wonderfall / dockerfiles Goto Github PK
View Code? Open in Web Editor NEWDiscontinued. Fork at your will.
License: Creative Commons Zero v1.0 Universal
Discontinued. Fork at your will.
License: Creative Commons Zero v1.0 Universal
Jupyter notebook is a web environment for various programming languages. It has quite a big user base and is quickly growing. To get secure connections, your nginx proxy container is great. It works almost out of the box, only the map_module needs to be included.
I was wondering whether you could consider including the map module in the nginx compiling options.
Actually omitting the following line:
--without-http_map_module \
Thanks!
Hi,
I have your lovely next cloud-container running, but I am not able to send mails with the php-mailer. I tried 2 different hoster (start and gmail). But with both hosters, I wasn't able to receive mails. The nextcloud logs told me, that the mail was sent.
Regards
Salut,
quand on utilise le serveur de mail pour les notification, on le configure en smtp, après un restart du conteneur, on perd la configuration.
Cordialement
(c'est juste pour information)
Hi,
to use all features of the "external storage support" app, this container needs ftp and smb support.
Adding php7-ftp to the dockerfile should suffice for ftp support.
I'm not as sure for smb support though. There is an libsmbclient-4.4.4-r0.apk in the alpine/edge/community repo but nextcloud might need a bit more then just this package.
Salut Wonderfall,
Je viens de tester boring-nginx, marche nickel 👌
Par contre, je viens de m'apercevoir qu'il faudrait augmenter un peu la limite par zone par IP, avec Sickrage j'obtiens ce genre d'erreur sur la page d'accueil :
2016/06/01 05:59:24 [error] 12#12: *2 limiting connections by zone "limit_per_ip", client: xx.xx.xx.xx, server: series.domain.tld, request: "GET /ui/get_messages HTTP/2.0", host: "series.domain.tld", referrer: "https://series.domain.tld/home/"
C'était déjà le cas avec l'image reverse, mais j'ai jamais fait gaffe, les images de certaines séries n'apparaissent pas à cause de ça.
J'ai passé limit_conn limit_per_ip
à 128
et depuis plus de soucis.
Bonjour,
après plusieurs test je me rends compte qu'il y a un problème avec l'application Contact.
Je m'explique.
si on prend Thunderbird avec Cardav ou tout autre d'ailleurs et que l'on crée un contact avec plusieurs informations. A priori çà fonctionne sans aucun soucis.
Si on prend un contact et qu' on incorpore un Avatar, Contact App tourne en boucle.
état initial:
Avec un avatar:
Sans Avatar
A priori j'ai lu quelques part qu'il y aurait un problème avec PHP7 (mais je ne trouve plus le lien)
Voici d'autre chose lien que j'ai trouvé.
owncloud/contacts#380
owncloud/contacts#392
owncloud/core#22978
Hi,
Request to add php7-sqlite3. Ideal for quickly testing nextcloud (demo, dev ...)
Thx
Hi,
First of all, thanks for your docker files, I am a big fan.
When I just tried to compile nginx, it showed some problems. These problems seem to be related to:
google/ngx_brotli#39
The following temporary workaround is suggested by PiotrSikora,
For the time being, you can work around this issue by adding -Wno-deprecated-declarations to the --with-cc-opt=.
This seems to work for me
Salut,
Je viens de mettre à jour mon reverse et maintenant j'obtiens ce warning dans les logs docker :
docker logs nginx
WARNING: Tini has been relocated to /sbin/tini.
Please update your scripts to use /sbin/tini going forward.
/usr/bin/tini has been preserved for backwards compatibility in Alpine 3.4,
but WILL BE REMOVED in Alpine 3.5.
ça doit concerner tes autres images aussi, voila :)
Hello.
I'm having troubles with running your container.
Tried different approaches - started with docker-compose, then tried more robust ways.
At the end, I'm running
docker run --name nextcloud --link db_nextcloud:db_nextcloud \
-v /home/kfuntov/nextcloud/data:/data -v /home/kfuntov/nextcloud/config:/config -v /home/kfuntov/nextcloud/apps:/apps2 \
wonderfall/nextcloud:10.0
(default UID and GID, db_nextcloud running well)
Docker version 1.12.1, build 23cf638
And i get those errors
nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
2016/10/03 08:08:33 [emerg] 13#0: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
2016/10/03 08:08:34 [emerg] 20#0: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
...
Tried to do something, but nothing works. Can you help me?
Hi,
I tried many things to make ownpad working, we already have an etehrpad working in our server and we would love to connect to our Nextcloud container. I did everithing on here: https://github.com/otetard/ownpad/blob/master/README.md
except sudo -u www-data php occ files:scan --all
because I do it like on docker like:
docker exec -ti container_name www-data php occ files:scan --all
but get this error:
rpc error: code = 13 desc = invalid header field value "oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"www-data\": executable file not found in $PATH"\n"
Could you give me some help?
Thanks
Hi there,
While looking to use occ commands (specificaly to force a full scan), I was unable to find php cli :
# docker exec -it nextcloud sh
/ # cd /nextcloud/
/nextcloud # su - nextcloud
06fc87f8772b:~$ /nextcloud/occ files:scan --all
env: can't execute 'php': No such file or directory
06fc87f8772b~$ php -v
sh: php: not found
(no more success in root)
Is there an other way to do it ?
I no, can you include php cli on the container ?
Note : by default /nexcloud/oss is not executable.
Regards,
zer.
Do you plan address this: docker-library/php#240?
It may be solution for my problem with LDAP user mapping...
i'd like to setup a small webserver to test several webstuff.
problem. PHP doesnt work
what are the correct settings ind the conf file ?
ig got this and get 502 on php files
location / {
try_files $uri $uri/ /index.html;
}
location ~ \.php$ {
include /etc/nginx/conf/fastcgi.conf;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
I'm getting
Fatal Error Zend OPcache cannot allocate buffer for interned strings
./run: line 5: syntax error: unexpected newline
from the Wonderfall/nextcloud
container after startup.
I've tried tag 10.0
and latest
and an image pulled 44 hours ago.
I'm using an image from 13 days ago now and it works again.
Hi there,
i recently moved my installation from owncloud to nextcloud 10 using the wonderfall/nextcloud:10.0 image. Now i have the problem that my previously used external storage pathes with smb are not usable. It seemed, that smb is not installed or recognized correctly, because it does not show up in the external storage type list.
container crashes in may installation when user_saml app is enabled
It crashes at a sabre function
so maybe something like php-sabre is missing
When you stop the container, all the database, admin and data location information in config.php is lost.
By stopping or halting/deleting the container you lose the config.php file, thus having to redo the initial setup installation in nextcloud.
Mounting /config to a volume isn't good enough because the 'live' config.php file isn't copied back from /nextcloud/config/config.php 😛
Maybe a symbolic/hard link to the /config folder would be better?
I just found out that following this issue of nextcloud https://github.com/nextcloud/server/issues/839, the exif extension has to be installed in order to correctly display the pictures (main issue is that they are rotated and they should not be).
I tried installing the extension which is available in alpine linux under the name of
php7-exif@commuedge
But as I did not have time yet to try and enable the feature, which must be enabled in php.ini I suppose. So that is why I'm filling it in order to get a track of it. :)
Could you look into this?
I got this error with the last build from dockerhub https://hub.docker.com/r/wonderfall/nginx/ :
docker logs -f nginx
chown: /var/run/nginx.pid: No such file or directory
nginx: [emerg] open() "/var/run/nginx.pid" failed (13: Permission denied)
Any idea ? Maybe related to this issue : #37
docker version
Client:
Version: 1.12.1
API version: 1.24
Go version: go1.6.3
Git commit: 23cf638
Built: Thu Aug 18 05:02:53 2016
OS/Arch: linux/amd64
Server:
Version: 1.12.1
API version: 1.24
Go version: go1.6.3
Git commit: 23cf638
Built: Thu Aug 18 05:02:53 2016
OS/Arch: linux/amd64
docker info
Containers: 10
Running: 10
Paused: 0
Stopped: 0
Images: 47
Server Version: 1.12.1
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 120
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null host overlay bridge
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options:
Operating System: Debian GNU/Linux 8 (jessie)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 983.1 MiB
ID: BGXB:SLYS:W24R:XGXO:H4G6:RBTN:LRDL:YDRF:PWLM:R3FA:T7JY:O7EG
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No kernel memory limit support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
Insecure Registries:
127.0.0.0/8
EDIT:
I added touch /var/run/nginx.pid
before chown command in run.sh and then rebuild image, now it works.
Heya
I was just double checking if this image will run on a Raspi or similar ARM based system #
I am not sure if this is something new, or if I only noticed it now when I tried to upgrade my nextcloud instance to 11.0. The default UID and GID are both 991, however, when the container starts, all of the files in the nextcloud folder belong to nobody:nogroup. I wasn't sure why nothing was coming up on my container, so I tried to run the run.sh script manually. It froze at the do loop that chowns all the files to $UID:$GID. I changed the flags on that command to include -v, and sure enough, almost all of the files in the container need to be chowned before the run file completes. I will leave it running and see if and when the nextcloud container actually starts, but for now there is absolutely nothing in the logs.
Hi!
I get the following error when i try to start the privatebin container:
docker run wonderfall/zerobin
[25-Sep-2016 17:22:20] ERROR: An another FPM instance seems to already listen on /tmp/php-fpm.sock
[25-Sep-2016 17:22:20] ERROR: FPM initialization failed
[25-Sep-2016 17:22:21] ERROR: An another FPM instance seems to already listen on /tmp/php-fpm.sock
[25-Sep-2016 17:22:21] ERROR: FPM initialization failed
[25-Sep-2016 17:22:22] ERROR: An another FPM instance seems to already listen on /tmp/php-fpm.sock
[25-Sep-2016 17:22:22] ERROR: FPM initialization failed
[25-Sep-2016 17:22:23] ERROR: An another FPM instance seems to already listen on /tmp/php-fpm.sock
[25-Sep-2016 17:22:23] ERROR: FPM initialization failed
[25-Sep-2016 17:22:24] ERROR: An another FPM instance seems to already listen on /tmp/php-fpm.sock
...
Do you know what's the problem here?
When running wonderfall/nextcloud
with nginx-proxy jwilder/nginx-proxy
and nginx-letsencrypt jrcs/letsencrypt-nginx-proxy-companion
I get an error 'Please use https'. With other services I can use external https and internal http without a problem. Somehow Nextcloud does not recognize the https connection in front of the proxy. Any ideas how to get this working?
sudo docker run -d \
--name db_nextcloud \
-v /mnt/nextcloud/db:/var/lib/mysql \
-e MYSQL_ROOT_PASSWORD=supersecretpassword \
-e MYSQL_DATABASE=nextcloud \
-e MYSQL_USER=nextcloud \
-e MYSQL_PASSWORD=supersecretpassword \
mariadb:10
sudo docker run -d \
--name nextcloud \
-e VIRTUAL_HOST=my.domain \
-e LETSENCRYPT_HOST=my.domain \
-e LETSENCRYPT_EMAIL=my@email \
--link db_nextcloud:db_nextcloud \
-e UID=1000 -e GID=1000 \
-v /mnt/nextcloud/data:/data \
-v /mnt/nextcloud/config:/config \
-v /mnt/nextcloud/apps:/apps2 \
wonderfall/nextcloud
I've used the wonderfall/nextcloud image with the docker-compose given with small modifications. However, after starting the container, the directory used as the config volume is empty.
Docker-compose.yml:
nextcloud:
image: wonderfall/nextcloud
restart: always
links:
- db_nextcloud:db_nextcloud
environment:
- UID=1001
- GID=1001
volumes:
- /media/500GB/nextcloud/data:/data
- /home/ovidiu/nextcloud/config:/config
- /home/ovidiu/nextcloud/apps:/apps2
- /media/4TB/poze/:/external/poze
db_nextcloud:
image: mariadb:10
restart: always
volumes:
- /home/ovidiu/nextcloud/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=xxx
- MYSQL_DATABASE=nextcloud
$ ls -lah /home/ovidiu/nextcloud/config
total 0
drwxrwxr-x. 1 media media 0 iul 6 13:12 .
drwxrwxr-x. 1 ovidiu ovidiu 60 iul 6 13:38 ..
From what I see in the run.sh script, you are not sym-linking the config directory, but copying it's contents. Why?
Hello,
I'm using the nextcloud container image. Everytime I make changes to the config.php i have to restart the container. With every restart the configuration page keeps popping up. Since I already configured a database connection and admin user this makes no sense. Is there a workaround to prevent this behaviour?
I've set up the app from the 10.0 tag and the app doesn't start... The logs keep showing:
nextcloud_1 | nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
nextcloud_1 | 2016/09/17 18:44:45 [emerg] 13#0: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
nextcloud_1 | nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
nextcloud_1 | 2016/09/17 18:44:46 [emerg] 17#0: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
nextcloud_1 | nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
nextcloud_1 | 2016/09/17 18:44:47 [emerg] 19#0: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
I didn't mess with any nginx settings. Should I?
Hello, I am new with docker, I will like how to launch it?
Thank you
Thanks for your nextcloud docker image.
After starting the container together with a mariadb container I get the following message on the admin panel:
php does not seem to be setup properly to query system environment variables. The test with getenv("PATH") only returns an empty response.
Please check the installation documentation for php configuration notes and the php configuration of your server, especially when using php-fpm.
Have you encountered the same problem? Is there an easy way to fix it?
Greetings
Gerrit
could you also include postgresql support into the image? currently you state there's only maria/mysql support.
I have the container all setup, works wonderfully. The only issue im having is, when i enable External storage and go to add any under my personal settings i get this message
Note: "smbclient" is not installed. Mounting of SMB / CIFS, SMB / CIFS using OC login is not possible. Please ask your system administrator to install it.
Is there anyway to resolve this?
Hi Mr Wonderfall :)
after pulling the latest nextcloud image i get 502 error.
this is my compose.yml
nginx:
image: wonderfall/nginx
container_name: nginx
links:
- nextcloud:nextcloud
ports:
- "80:8002"
- "443:8001"
volumes:
- /etc/localtime:/etc/localtime
- /root/.nginx/sites-enabled:/sites-enabled
- /root/.nginx/conf:/conf.d
- /root/.nginx/log:/var/log/nginx
- /root/.nginx/certs:/certs
nextcloud:
image: wonderfall/nextcloud
container_name: nextcloud
links:
- db_nextcloud:db_nextcloud
environment:
- UID=1000
- GID=1000
volumes:
- /etc/localtime:/etc/localtime
- /media/19ad4901-a651-4001-9306-425956e2c501/Cloud/data:/data
- /media/19ad4901-a651-4001-9306-425956e2c501/Cloud/config:/config
- /media/19ad4901-a651-4001-9306-425956e2c501/Cloud/apps:/apps2
db_nextcloud:
image: mariadb:10
volumes:
- /media/19ad4901-a651-4001-9306-425956e2c501/Cloud_db:/var/lib/mysql
container_name: db_nextcloud
environment:
- MYSQL_ROOT_PASSWORD=xxx
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=xxx
collabora:
image: collabora/code
tty: true
container_name: office_nextcloud
ports:
- "192.168.0.107:9980:9980"
environment:
- domain=nextcloud\.mydomain\.com
cap_add:
- MKNOD
this is my nginx reverseproxy conf
server {
listen 8002;
server_name nextcloud.mydomain.com;
#rewrite ^ https://nextcloud.mydomain.com$request_uri? permanent;
return 301 https://$host$request_uri;
}
server {
listen 8001 ssl http2;
server_name nextcloud.mydomain.com;
client_max_body_size 40960M;
ssl_certificate /certs/nextcloud/fullchain.pem; # path to your cacert.pem
ssl_certificate_key /certs/nextcloud/privkey.pem; # path to your privkey.pem
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers "ECDHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA";
ssl_prefer_server_ciphers on;
ssl_ecdh_curve secp384r1;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 5m;
ssl_session_tickets off;
location / {
proxy_pass http://nextcloud;
include /conf.d/proxy-params.conf;
}
}
what is wrong ?
Hello,
since the newst update my cron isn't runnig anymore.
Thanks for your help!
Hi, after the upgrade i receive the following nginx error:
nginx: [emerg] mkdir() "/var/lib/nginx/tmp/proxy" failed (13: Permission denied)
it seems like the chown in run.sh is wrong but it seems okay because its -R...
I got error when running a container from nextcloud:10.0 image:
docker run -it --rm --name nextcloud wonderfall/nextcloud:10.0
Starting automatic configuration...
creating sqlite db
Automatic configuration finished.
An exception occurred while executing 'UPDATE "oc_appconfig" SET "configvalue" = ? WHERE ("appid" = ?) AND ("configkey" = ?) AND ("configvalue" <> ?)' with params ["no", "firstrunwizard", "enabled", "no"]:SQLSTATE[HY000]: General error: 8 attempt to write a readonly database
[06-Nov-2016 13:23:02] NOTICE: fpm is running, pid 84
[06-Nov-2016 13:23:02] NOTICE: ready to handle connections
{"reqId":"V4G7G4NcB1MiLsG1oeLF","remoteAddr":"","app":"cron","message":"An exception occurred while executing 'DELETE FROM "oc_appconfig" WHERE ("appid" = ?) AND ("configkey" = ?)' with params ["core", "cronErrors"]:\n\nSQLSTATE[HY000]: General error: 8 attempt to write a readonly database","level":4,"time":"2016-11-06 13:23:02","method":"--","url":"--","user":"--"}
I've tried to set DB_NAME, DB_USER and DB_PASSWORD but the result was the same.
Accessing the instance from the browser shows an error that the domain is untrusted. After I add it as trusted it shows Internal Server Error upon login (no additional error is in the log).
Hello,
something failed when i try to configure the proxy for postfixadmin and rainloop.
i can just see postfixadmin. i can't connect to rainloop.
i tryied to modify the nginx proxy for that postfixadmin be in a specific directory /pf/ :
Webroot (default is /): /pf/
it indicates that :
WARNING: You might have to add a proxy header to get your custom webroot working.
it request this :
Type the required proxy_set_header (like X-Script-Name):
i know apache2 config, but not really nginx, what would be the good line ?
nginx: [emerg] invalid number of arguments in "proxy_set_header" directive in /sites-enabled/postfixadmin.conf:25
location /pf/ {
proxy_pass http://postfixadmin:8888;
proxy_set_header Host $host/pf/;
include /etc/nginx/conf/proxy_params;
}
Is there a little tuto to do that ? manuals are good, but i don't understand what to do.
thx
I think that the rainloop image needs the same patch than nexcloud for nginx permissions in non root mode (/etc/nginx.conf):
proxy_temp_path /tmp/proxy 1 2;
uwsgi_temp_path /tmp/uwsgi 1 2;
scgi_temp_path /tmp/scgi 1 2;
Thanks for these great images !
Hello,
at the moment for me it isn't possible to upgrade to NC10. :-(
I suspect my database or complete installation is to big (and the execution time to short?).
Therefore I want to use "occ upgrade".
Under Debian the handling ist familar for me, among alpine linux it is not.
It would be great to get an hint or some help, how to execute it.
Thanks a lot in advance!
HI there,
first of all, thank you so much for your great work with the dockerfiles.
i just installed subsonic via docker. i configurated it as far as i could.
I can find the subsonic Server on my sonos System and can also scan the files. but when i try to Play a file, i get the error:connnection with the subsonic Server not possible..
can you help me out here?
thank you so much!
I am passing the port variable in order to access from the host, and it brings up the index.php screen where it is asking to create an admin account. Regardless of what I put in, it continues to spin back to asking for an admin account. Also if I restart the container, it fails to restart. If I destroy and re-run, it will start at the front end asking for an admin account. Logs for the container are below:
C2016-10-14T12:38:32.645684304Z Starting automatic configuration...
�/2016-10-14T12:38:32.877991354Z
�_2016-10-14T12:38:32.878034321Z
�2016-10-14T12:38:32.878047279Z
�82016-10-14T12:38:32.878055730Z
�)2016-10-14T12:38:32.878063034Z <title>
�52016-10-14T12:38:32.878069636Z Nextcloud </title>
�W2016-10-14T12:38:32.878076380Z
�H2016-10-14T12:38:32.878083630Z
�{2016-10-14T12:38:32.878090714Z
�\2016-10-14T12:38:32.878097678Z
�M2016-10-14T12:38:32.878104334Z
�P2016-10-14T12:38:32.878110826Z
�n2016-10-14T12:38:32.878117336Z
�v2016-10-14T12:38:32.878123992Z
�{2016-10-14T12:38:32.878131152Z
�{2016-10-14T12:38:32.878138296Z
�{2016-10-14T12:38:32.878145249Z
�z2016-10-14T12:38:32.878152160Z
�z2016-10-14T12:38:32.878159110Z
�y2016-10-14T12:38:32.878165989Z
�{2016-10-14T12:38:32.878172736Z
�z2016-10-14T12:38:32.878179676Z
�2016-10-14T12:38:32.878187110Z
�{2016-10-14T12:38:32.878194067Z
�2016-10-14T12:38:32.878216539Z
�2016-10-14T12:38:32.878224210Z
�|2016-10-14T12:38:32.878231431Z
�2016-10-14T12:38:32.878238324Z
�2016-10-14T12:38:32.878245241Z
�2016-10-14T12:38:32.878252067Z <script src="/core/vendor/jquery/dist/jquery.min.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878259546Z <script src="/core/vendor/jquery-migrate/jquery-migrate.min.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878266713Z <script src="/core/vendor/jquery-ui/ui/jquery-ui.custom.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878273760Z <script src="/core/vendor/underscore/underscore.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878281091Z <script src="/core/vendor/moment/min/moment-with-locales.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878288419Z <script src="/core/vendor/handlebars/handlebars.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878295252Z <script src="/core/vendor/blueimp-md5/js/md5.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878302155Z <script src="/core/vendor/bootstrap/js/tooltip.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878308915Z <script src="/core/vendor/backbone/backbone.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878315819Z <script src="/core/vendor/es6-promise/dist/es6-promise.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878322675Z <script src="/core/vendor/davclient.js/lib/client.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878329602Z <script src="/core/vendor/clipboard/dist/clipboard.js?v=ba222ded25d957b900c03bef914333cd"></script>
�x2016-10-14T12:38:32.878336502Z <script src="/core/js/placeholders.js?v=ba222ded25d957b900c03bef914333cd"></script>
�y2016-10-14T12:38:32.878343583Z <script src="/core/js/compatibility.js?v=ba222ded25d957b900c03bef914333cd"></script>
�{2016-10-14T12:38:32.878356360Z <script src="/core/js/jquery.ocdialog.js?v=ba222ded25d957b900c03bef914333cd"></script>
�v2016-10-14T12:38:32.878363667Z <script src="/core/js/oc-dialogs.js?v=ba222ded25d957b900c03bef914333cd"></script>
�n2016-10-14T12:38:32.878370524Z <script src="/core/js/js.js?v=ba222ded25d957b900c03bef914333cd"></script>
�p2016-10-14T12:38:32.878377407Z <script src="/core/js/l10n.js?v=ba222ded25d957b900c03bef914333cd"></script>
�v2016-10-14T12:38:32.878384231Z <script src="/core/js/octemplate.js?v=ba222ded25d957b900c03bef914333cd"></script>
�w2016-10-14T12:38:32.878392975Z <script src="/core/js/eventsource.js?v=ba222ded25d957b900c03bef914333cd"></script>
�r2016-10-14T12:38:32.878400075Z <script src="/core/js/config.js?v=ba222ded25d957b900c03bef914333cd"></script>
�y2016-10-14T12:38:32.878406745Z <script src="/core/search/js/search.js?v=ba222ded25d957b900c03bef914333cd"></script>
�{2016-10-14T12:38:32.878413391Z <script src="/core/js/oc-requesttoken.js?v=ba222ded25d957b900c03bef914333cd"></script>
�p2016-10-14T12:38:32.878420161Z <script src="/core/js/apps.js?v=ba222ded25d957b900c03bef914333cd"></script>
�t2016-10-14T12:38:32.878426790Z <script src="/core/js/mimetype.js?v=ba222ded25d957b900c03bef914333cd"></script>
�x2016-10-14T12:38:32.878433503Z <script src="/core/js/mimetypelist.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878440363Z <script src="/core/vendor/snapjs/dist/latest/snap.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878447223Z <script src="/core/vendor/backbone/backbone.js?v=ba222ded25d957b900c03bef914333cd"></script>
�w2016-10-14T12:38:32.878453973Z <script src="/core/js/oc-backbone.js?v=ba222ded25d957b900c03bef914333cd"></script>
�w2016-10-14T12:38:32.878460622Z <script src="/core/js/placeholder.js?v=ba222ded25d957b900c03bef914333cd"></script>
�y2016-10-14T12:38:32.878467268Z <script src="/core/js/jquery.avatar.js?v=ba222ded25d957b900c03bef914333cd"></script>
�2016-10-14T12:38:32.878474058Z <script src="/core/vendor/strengthify/jquery.strengthify.js?v=ba222ded25d957b900c03bef914333cd"></script>
�q2016-10-14T12:38:32.878480901Z <script src="/core/js/setup.js?v=ba222ded25d957b900c03bef914333cd"></script>
�z2016-10-14T12:38:32.878487511Z <script src="/core/js/files/fileinfo.js?v=ba222ded25d957b900c03bef914333cd"></script>
�x2016-10-14T12:38:32.878499349Z <script src="/core/js/files/client.js?v=ba222ded25d957b900c03bef914333cd"></script>
��2016-10-14T12:38:32.878506116Z <script src="/core/js/jquery-showpassword.js?v=ba222ded25d957b900c03bef914333cd"></script>
�x2016-10-14T12:38:32.878512992Z <script src="/core/js/installation.js?v=ba222ded25d957b900c03bef914333cd"></script>
�,2016-10-14T12:38:32.878519748Z
�72016-10-14T12:38:32.878525773Z
�,2016-10-14T12:38:32.878531861Z
�82016-10-14T12:38:32.878539700Z
�R2016-10-14T12:38:32.878711064Z The username is already being used
�W2016-10-14T12:38:32.878743435Z <input type="text" name="adminlogin" id="adminlogin"
�:2016-10-14T12:38:32.878749981Z placeholder="Username"
�32016-10-14T12:38:32.878756013Z value=""
�q2016-10-14T12:38:32.878762111Z autocomplete="off" autocapitalize="off" autocorrect="off" autofocus required>
�[2016-10-14T12:38:32.878769325Z Username
�&2016-10-14T12:38:32.878776249Z
�q2016-10-14T12:38:32.878788234Z <input type="password" name="adminpass" data-typetoggle="#show" id="adminpass"
�:2016-10-14T12:38:32.878795448Z placeholder="Password"
�42016-10-14T12:38:32.878801339Z value=""
�g2016-10-14T12:38:32.878807387Z autocomplete="off" autocapitalize="off" autocorrect="off" required>
�Z2016-10-14T12:38:32.878814217Z Password
�P2016-10-14T12:38:32.878821140Z
�=2016-10-14T12:38:32.878827733Z
�&2016-10-14T12:38:32.878834135Z
�]2016-10-14T12:38:32.879058230Z Database user
�P2016-10-14T12:38:32.879065143Z <input type="text" name="dbuser" id="dbuser"
�@2016-10-14T12:38:32.879073156Z placeholder="Database user"
�62016-10-14T12:38:32.879079271Z value="nextcloud"
�_2016-10-14T12:38:32.879090148Z autocomplete="off" autocapitalize="off" autocorrect="off">
�'2016-10-14T12:38:32.879097064Z
�r2016-10-14T12:38:32.879109039Z <input type="password" name="dbpass" id="dbpass" data-typetoggle="#dbpassword"
�D2016-10-14T12:38:32.879116003Z placeholder="Database password"
�52016-10-14T12:38:32.879122148Z value=""
�_2016-10-14T12:38:32.879128139Z autocomplete="off" autocapitalize="off" autocorrect="off">
�a2016-10-14T12:38:32.879134909Z Database password
�]2016-10-14T12:38:32.879141732Z
�D2016-10-14T12:38:32.879148368Z
�'2016-10-14T12:38:32.879154870Z
�]2016-10-14T12:38:32.879166833Z Database name
�P2016-10-14T12:38:32.879173575Z <input type="text" name="dbname" id="dbname"
�@2016-10-14T12:38:32.879180128Z placeholder="Database name"
�62016-10-14T12:38:32.879186396Z value="nextcloud"
�^2016-10-14T12:38:32.879192505Z autocomplete="off" autocapitalize="off" autocorrect="off"
�?2016-10-14T12:38:32.879199024Z pattern="[0-9a-zA-Z$_-]+">
�'2016-10-14T12:38:32.879205252Z
�]2016-10-14T12:38:32.879217512Z Database host
�P2016-10-14T12:38:32.879224021Z <input type="text" name="dbhost" id="dbhost"
�@2016-10-14T12:38:32.879230633Z placeholder="Database host"
�92016-10-14T12:38:32.879236625Z value="db_nextcloud"
�_2016-10-14T12:38:32.879242940Z autocomplete="off" autocapitalize="off" autocorrect="off">
�'2016-10-14T12:38:32.879250762Z
SQLite will be used as database.
For larger installations we recommend to choose a different database backend.
Especially when using the desktop client for file syncing the use of SQLite is discouraged.
�G2016-10-14T12:38:32.879355562Z
�2016-10-14T12:38:32.879362646Z Need help? See the documentation
�%2016-10-14T12:38:32.879370582Z
�2016-10-14T12:38:32.879412533Z Nextcloud a safe home for all your data
Hi,
i'd really love to use this docker. But i am not used to properly link docker containers. And not familiar with reverse proxy stuff
Can u help me :) ? This is my compose.yml
image: wonderfall/nextcloud
links:
- db_nextcloud:db_nextcloud
environment:
- UID=1000
- GID=1000
ports:
- "8000:80"
- "4430:443"
volumes:
- /data/media/19ad4901-a651-4001-9306-425956e2c501/Cloud/data:/data
- /root/.nextcloud/config:/config
- /root/.nextcloud/apps:/apps2
db_nextcloud:
image: mariadb:10
volumes:
- /root/.nextcloud/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=secret
nginx:
image: wonderfall/nginx
container_name: nginx
links:
- nextcloud:nextcloud
ports:
- "80:8000"
- "443:4430"
volumes:
- /root/.nginx/sites-enabled:/sites-enabled
- /root/.nginx/conf:/conf.d
- /root/.nginx/log:/var/log/nginx
- /root/.nginx/certs:/certs
Salut Wonderfall,
j'ai un petit soucis avec rainloop, après avoir créé le conteneur, je rencontre cette erreur en ouvrant rainloop depuis un navigateur :
[105] Missing version directory
https://github.com/RainLoop/rainloop-webmail/blob/master/index.php#L10
Pourtant j'ai bien ce répertoire dans le conteneur oO :
docker exec -ti rainloop sh
ls -al /rainloop/rainloop/v/1.9.4.415
total 36
drw-rw-rw- 8 rainloop rainloop 4096 May 5 08:56 .
drw-rw-rw- 4 rainloop rainloop 4096 May 5 08:56 ..
drw-rw-rw- 12 rainloop rainloop 4096 May 5 08:56 app
-rw-r--r-- 1 rainloop rainloop 1135 May 5 08:56 check.php
-rw-r--r-- 1 rainloop rainloop 8148 May 5 08:56 include.php
-rw-r--r-- 1 rainloop rainloop 0 May 5 08:56 index.php
-rw-r--r-- 1 rainloop rainloop 447 May 5 08:56 index.php.root
drw-rw-rw- 12 rainloop rainloop 4096 May 5 08:56 static
drw-rw-rw- 28 rainloop rainloop 4096 May 5 08:56 themes
J'ai du oublier un truc, ça doit être tout con mais je vois pas 😄
Hello,
I'd like to be able to extend your image in a convenient way, calling the "occ" command line so that I can pre-configure nextcloud in an automated way.
I'm pretty sure I'm not the only one seeking that kind of feature - care to have a look?
Thank you!
Cheers,
C.
Hi,
I tried to build nextcloud with the official postgres container and everything works fine.
But when I try to restart the container Nextcloud is not able to start.
My docker logs:
An unhandled exception has been thrown:
Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occured in driver: SQLSTATE[08006] [7] could not connect to server: Connection refused
Is the server running on host "db_nextcloud" (172.17.0.8) and accepting
TCP/IP connections on port 5432? in /nextcloud/lib/private/DB/Connection.php:59
Stack trace:
#0 /nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(429): OC\DB\Connection->connect()
#1 /nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(389): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#2 /nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(328): Doctrine\DBAL\Connection->detectDatabasePlatform()
#3 /nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(621): Doctrine\DBAL\Connection->getDatabasePlatform()
#4 /nextcloud/lib/private/DB/Connection.php(142): Doctrine\DBAL\Connection->setTransactionIsolation(2)
#5 /nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(172): OC\DB\Connection->__construct(Array, Object(Doctrine\DBAL\Driver\PDOPgSql\Driver), Object(Doctrine\DBAL\Configuration), Object(Doctrine\Common\EventManager))
#6 /nextcloud/lib/private/DB/ConnectionFactory.php(121): Doctrine\DBAL\DriverManager::getConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Doctrine\Common\EventManager))
#7 /nextcloud/lib/private/Server.php(415): OC\DB\ConnectionFactory->getConnection('pgsql', Array)
#8 /nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
#9 /nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(103): Pimple\Container->offsetGet('DatabaseConnect...')
#10 /nextcloud/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('DatabaseConnect...')
#11 /nextcloud/lib/private/Server.php(1029): OC\ServerContainer->query('DatabaseConnect...')
#12 /nextcloud/lib/private/Server.php(220): OC\Server->getDatabaseConnection()
#13 /nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
#14 /nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(103): Pimple\Container->offsetGet('OC\Authenticati...')
#15 /nextcloud/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('OC\Authenticati...')
#16 /nextcloud/lib/private/Server.php(224): OC\ServerContainer->query('OC\Authenticati...')
#17 /nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
#18 /nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(103): Pimple\Container->offsetGet('OC\Authenticati...')
#19 /nextcloud/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('OC\Authenticati...')
#20 /nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(151): OC\ServerContainer->query('OC\Authenticati...')
#21 /nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
#22 /nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(103): Pimple\Container->offsetGet('OC\Authenticati...')
#23 /nextcloud/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('OC\Authenticati...')
#24 /nextcloud/lib/private/Server.php(239): OC\ServerContainer->query('OC\Authenticati...')
#25 /nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
#26 /nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(103): Pimple\Container->offsetGet('UserSession')
#27 /nextcloud/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('UserSession')
#28 /nextcloud/lib/private/Server.php(906): OC\ServerContainer->query('UserSession')
#29 /nextcloud/lib/private/Server.php(459): OC\Server->getUserSession()
#30 /nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
#31 /nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(103): Pimple\Container->offsetGet('AppManager')
#32 /nextcloud/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('AppManager')
#33 /nextcloud/lib/private/Server.php(1206): OC\ServerContainer->query('AppManager')
#34 /nextcloud/lib/private/legacy/app.php(293): OC\Server->getAppManager()
#35 /nextcloud/lib/private/legacy/app.php(109): OC_App::getEnabledApps()
#36 /nextcloud/lib/base.php(658): OC_App::loadApps(Array)
#37 /nextcloud/lib/base.php(1059): OC::init()
#38 /nextcloud/console.php(48): require_once('/nextcloud/lib/...')
#39 /nextcloud/occ(11): require_once('/nextcloud/cons...')
#40 {main}
If I delete the config I can rebuild the container and you can see the welcomescreen.
Any Idea how to fix this?
Will there be container tags for the beta releases of Piwik?
So I can test the new versions.
Hi there, i am trying to get spreed.me working in conjunction with this nextcloud image. Regarding to this discussion it is possible to check some essential setup stuff, by appanding the following stuff to the nextcloud url:
/index.php/apps/spreedme/admin/debug
This was the point, where i determined some trouble with the current nextcloud image. The second test
testOwncloudJavascriptConfigFile
fails with:
Did not find OwnCloudConfig.js at apps/spreedme/extra/static/config/OwnCloudConfig.js.
Looking at the code shows that they do some static lookup into the root /apps folder.
Now here come the problem with the nextcloud image. I am not able to serve my apps in a persistent way in the root /apps folder. When following your guidelines they are placed in the root /apps2 folder. However i managed to get it temporarily working when symlinking the /nextcloud/apps to /apps and not using the "apps_paths" nextcloud config. But this is not convinient either, because it is not persistent and i need the app content inside a mounted volume.
Is it possible with your nextcloud image to server the apps in the root /apps folder in a mounted volume? More generally spoken, did anyone managed to get the spreed.me docker image running in conjunction with this nextcloud image?
The provided docker-compose.yaml (v2) for wonderfall/nextcloud results to the following output no matter which version/label I try:
Nextcloud is not installed - only a limited number of commands are available
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "upgrade" is not defined.
Trying ownCloud upgrade again to work around ownCloud upgrade bug...
Nextcloud is not installed - only a limited number of commands are available
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "upgrade" is not defined.
Any hints?
Depuis ta dernière modification, il y a une erreur d'intégrité fichiers:
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
=======
- core
- INVALID_HASH
- lib/private/appframework/http/request.php
Raw output
==========
Hello,
What would be the best way to shorten the URL for Nextcloud?
I want to remove index.php from the url. They provide a video here:
https://www.youtube.com/watch?v=yqr22XG8P4w
I'm wondering if there is something that can be easily done from the container side of things or if I should perform url rewriting on the web proxy.
Thanks
Hi,
when i start the armhf container then a nginx error occurs:
2016/11/13 15:05:14 [emerg] 3069#3069: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
the strange thing is that in /etc/nginx/nginx.conf the error log should be /tmp/ngx_error.log:
error_log /tmp/ngx_error.log error;
any suggestion?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.