Tolete Posted April 13, 2022 Share Posted April 13, 2022 17 minutes ago, blaine07 said: It didn't work for me with just one "l" but does with two? I dont understand lol what do you have for your collabora repository? Quote Link to comment
dius Posted April 13, 2022 Share Posted April 13, 2022 I'm still trying to get Collabora & Nextcloud to work together. Nextcloud shows that the Collabora server is reachable: Yet I can't edit any documents using the Collabora server: The swag log shows an error when I try to edit a document: And I get this error showing up in the Collabora log file: followed by several of these: I know it's asking a lot, but I have no real clue how to troubleshoot this. Any suggestions would be greatly appreciated. Thanks in advance... Quote Link to comment
blaine07 Posted April 13, 2022 Share Posted April 13, 2022 (edited) 25 minutes ago, Tolete said: what do you have for your collabora repository? I figured it out; had to enter alias like "https:/sub.domain.net:443" Any idea on where ADMIN page lies now? My repository: collabora/code:21.11.3.6.1 Edited April 13, 2022 by blaine07 Quote Link to comment
Tolete Posted April 13, 2022 Share Posted April 13, 2022 21 minutes ago, dius said: I'm still trying to get Collabora & Nextcloud to work together. Nextcloud shows that the Collabora server is reachable: Yet I can't edit any documents using the Collabora server: The swag log shows an error when I try to edit a document: And I get this error showing up in the Collabora log file: followed by several of these: I know it's asking a lot, but I have no real clue how to troubleshoot this. Any suggestions would be greatly appreciated. Thanks in advance... please see updated variable entry on my post. Quote Link to comment
blaine07 Posted April 13, 2022 Share Posted April 13, 2022 Oh, admin portal can now be found at: https://[IP]:[PORT:9980]/browser/dist/admin/admin.html FOR REFENCE THE OLD ADMIN was: https://[IP]:[PORT:9980]/loleaflet/dist/admin/admin.html Quote Link to comment
Tolete Posted April 13, 2022 Share Posted April 13, 2022 12 minutes ago, blaine07 said: I figured it out; had to enter alias like "https:/sub.domain.net:443" Any idea on where ADMIN page lies now? My repository: collabora/code:21.11.3.6.1 see updated post. Quote Link to comment
blaine07 Posted April 13, 2022 Share Posted April 13, 2022 (edited) 3 minutes ago, Tolete said: see updated post. See my post above about admin panel. Does this: # Admin Console websocket location ^~ /lool/adminws { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_http_version 1.1; proxy_pass $forward_scheme://$server:$port; proxy_set_header Host $http_host; proxy_read_timeout 36000s; } need to change because admin URL changed? EDIT: also, using above, is there a way to make the ADMIN page only accessible internally and not at all outside LAN? Edited April 13, 2022 by blaine07 Quote Link to comment
Tolete Posted April 13, 2022 Share Posted April 13, 2022 5 minutes ago, blaine07 said: See my post above about admin panel. Does this: # Admin Console websocket location ^~ /lool/adminws { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_http_version 1.1; proxy_pass $forward_scheme://$server:$port; proxy_set_header Host $http_host; proxy_read_timeout 36000s; } need to change because admin URL changed? EDIT: also, using above, is there a way to make the ADMIN page only accessible internally and not at all outside LAN? post updated. new config Quote Link to comment
dius Posted April 13, 2022 Share Posted April 13, 2022 38 minutes ago, Tolete said: please see updated variable entry on my post. Thanks for your response. This is how I setup my aliasgroup1 variable. I've tried it with the port 443 and without. Neither works. I'm using Swag as my reverse proxy, so the config files are different. Would it help if I posted it here? Thanks again for your response. Quote Link to comment
JonathanM Posted April 13, 2022 Share Posted April 13, 2022 I just had a breakthrough, don't know if it's luck or the actual solution, but for me, Key: alias_group1 Value: https://my\\.nextcloud\\.domain:443 worked, finally. Apparently the _ between alias and group1 is quite important. Don't know how others have gotten it to work, but that's what did it for me. Quote Link to comment
dius Posted April 13, 2022 Share Posted April 13, 2022 (edited) On 4/13/2022 at 1:34 PM, JonathanM said: I just had a breakthrough, don't know if it's luck or the actual solution, but for me, Key: alias_group1 Value: https://my\\.nextcloud\\.domain:443 worked, finally. Apparently the _ between alias and group1 is quite important. Don't know how others have gotten it to work, but that's what did it for me. Glad that worked for you. Unfortunately it didn't work for me. I'll keep plugging away... *UPDATE* I got it working with a configuration I had previously tried but didn't work at the time. I set the value for the alliasgroup1 key to https://mycloud.mydomain.org:443. This format now works for me. Hopefully it helps others as well. Edited April 18, 2022 by dius Quote Link to comment
blaine07 Posted April 13, 2022 Share Posted April 13, 2022 I just had a breakthrough, don't know if it's luck or the actual solution, but for me, Key: alias_group1 Value: https://my\\.nextcloud\\.domain:443 worked, finally. Apparently the _ between alias and group1 is quite important. Don't know how others have gotten it to work, but that's what did it for me.What version Collabora you using? Quote Link to comment
JonathanM Posted April 13, 2022 Share Posted April 13, 2022 6 minutes ago, blaine07 said: What version Collabora you using? Quote Link to comment
blaine07 Posted April 13, 2022 Share Posted April 13, 2022 Yeah I don’t see the _ anywhere defined. I’m super confused by all this lol Quote Link to comment
JonathanM Posted April 13, 2022 Share Posted April 13, 2022 2 minutes ago, blaine07 said: Yeah I don’t see the _ anywhere defined. I’m super confused by all this lol Neither did I, except in the logs as an error message. I was watching the collabora container logs in realtime as I attempted to edit a document, and it called out my FQDN and said it wasn't authorized in the alias_groups. So I added 1+1 and got 3. If that is indeed the case, and all the stuff I found online with aliasgroup1 is erroneous, I'm going to be rather upset that the internet wasted half my day. 🤣 All I know is, I made the change, and now it works, and no nastygrams in the logs about my domain not being authorized. Quote Link to comment
blaine07 Posted April 13, 2022 Share Posted April 13, 2022 (edited) 3 hours ago, Tolete said: post updated. new config Is this new config supposed to make /admin not available outside LAN? I can't find any difference between what you initially posted for "Admin" and the new admin config? Also, on bottom of Edit Proxy Host on NPM it says: Please note, that any add_header or set_header directives added here will not be used by nginx. You will have to add a custom location '/' and add the header in the custom config there. The config you have shared includes proxy set header directives? It says they wont work? Edited April 13, 2022 by blaine07 Quote Link to comment
Tolete Posted April 13, 2022 Share Posted April 13, 2022 (edited) 12 hours ago, blaine07 said: Is this new config supposed to make /admin not available outside LAN? I can't find any difference between what you initially posted for "Admin" and the new admin config? everything is running fine for me. -not using _ or \\.// as for limiting the admin portal to local/lan only. no joy yet, have not gotten around it yet. Something like might work. location ^~ /lool/adminws { return 404; } Edited April 14, 2022 by Tolete 1 Quote Link to comment
PoppaJohn Posted April 14, 2022 Share Posted April 14, 2022 After an update (automatic) I can't get into my Next Cloud The screen I am presented with has a white box with "New password" in it, and the button below says "Reset password" Looks like the file syncing on my PC is working, but I can't seem to message my buddy using the talk app anymore either. I was really starting to get into NextCloud. Quote Link to comment
Tolete Posted April 14, 2022 Share Posted April 14, 2022 12 hours ago, blaine07 said: Also, on bottom of Edit Proxy Host on NPM it says: Please note, that any add_header or set_header directives added here will not be used by nginx. You will have to add a custom location '/' and add the header in the custom config there. The config you have shared includes proxy set header directives? It says they wont work? the NPM proxy config on post/using came from NPM github you can refer to post for reference. https://github.com/NginxProxyManager/nginx-proxy-manager/issues/70 1 Quote Link to comment
blaine07 Posted April 14, 2022 Share Posted April 14, 2022 2 minutes ago, Tolete said: the NPM proxy config on post/using came from NPM github you can refer to post for reference. https://github.com/NginxProxyManager/nginx-proxy-manager/issues/70 Hey mate, all the thanks through making these changes! I truly appreciate it! 🙂 Quote Link to comment
PoppaJohn Posted April 15, 2022 Share Posted April 15, 2022 19 hours ago, PoppaJohn said: After an update (automatic) I can't get into my Next Cloud The screen I am presented with has a white box with "New password" in it, and the button below says "Reset password" Looks like the file syncing on my PC is working, but I can't seem to message my buddy using the talk app anymore either. I was really starting to get into NextCloud. No else has this problem? I have no idea how to troubleshoot this. Quote Link to comment
HynesJeff Posted April 17, 2022 Share Posted April 17, 2022 On 1/30/2021 at 5:02 PM, skois said: I haven't done any benchmarks, i just selected model 4 because from the comparison chart on developers github seems the best. haven't tried to do any GPU passthrough, but i would like to, i'm gonna try maybe next week! Right now i'm planning some down time, moving server to rack and whole network! I was planning also to create a docker with pdlib, but once pdlib goes to stable alpine, LSIO said will include it. Right now only if i update the docker or change something needs to reinstall ( i have done some updates to the install script, to check if it is instailled before install it) Here is the updated script #!/bin/bash #FLAG="/config/firstbook.log" FLAG="/usr/lib/php7/modules/pdlib.so" if [ ! -f $FLAG ]; then apk add --no-cache --upgrade make cmake gcc g++ php7-dev libx11-dev openblas-dev re2c rm -rf dlib pdlib git clone https://github.com/davisking/dlib.git cd dlib/dlib mkdir build cd build cmake -DBUILD_SHARED_LIBS=ON .. make sudo make install cd / git clone https://github.com/goodspb/pdlib.git cd pdlib phpize PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig ./configure make sudo make install rm -rf /dlib /pdlib # touch $FLAG else echo "Already run of 1st boot. Delete /config/firstboot.log to run again on next boot" fi this doesn't seem to work for me - any ideas? UI still says "The library pdlib is not available." Quote Link to comment
Pstark Posted April 17, 2022 Share Posted April 17, 2022 (edited) Nextcloud was working fine but now I’m getting a host error. I can’t even access it locally either. Where do I begin to fix it? Edited April 17, 2022 by Pstark Quote Link to comment
szoemi Posted April 17, 2022 Share Posted April 17, 2022 (edited) Hi Sorry for the dumb question. I followed Spaceinvader's youtube video to set up nextcloud on unraid, and it works well. I noticed that the data folder is mapped with an unraid shrare, im my case: /data -> /mnt/user/Cloud/ I always assumed nextcloud keeps user data in a database, and so it is inaccessible from the file system. So it really surprised my that the user files can be accessed through the unraid share (/mnt/user/Cloud). I mounted that share on my linux as: mount -t cifs -o rw,username=szoemi,password='####',uid=1000,gid=100 //192.168.2.134/Cloud/szoemi/files /mnt/tmp to the local /mnt/tmp and I was able to read all files, and write to the directory, too. Files I create do not show up in the Nextcloud files, tough, when looking at them in the nextcloud browser interface. I suspect I am doing somethig I am not supposed to, and maybe screwing up the nextcloud database. But it was too tempting to be able to access the files as a samba share, instead of syncing it with a nextcloud client. Would someone enlighten me? Thanks! Edited April 17, 2022 by szoemi spellcheck Quote Link to comment
cat2devnull Posted April 17, 2022 Share Posted April 17, 2022 1 hour ago, szoemi said: I always assumed nextcloud keeps user data in a database, and so it is inaccessible from the file system. So it really surprised my that the user files can be accessed through the unraid share (/mnt/user/Cloud). The thing to keep in mind is that databases are great for storing data and filesystems are great for storing files. It is possible to store files directly in a database but it's efficient. It's much better for the database to hold a pointer to the file location on the filesystem and then additional metadata about the file. 1 hour ago, szoemi said: Files I create do not show up in the Nextcloud files, tough, when looking at them in the nextcloud browser interface. I suspect I am doing somethig I am not supposed to, and maybe screwing up the nextcloud database. So if you create a file directly on the filesystem without going through the NextCloud web or client interface then NextCloud won't know that the file has been added. There may be a way to get NextCloud to scan over the filesystem and add missing files but I don't know how it would handle the missing metadata such as who owns the file, when it was added, etc. If you want to be able to interact NextCloud like a traditional filesystem then install the client software and you won't need the web interface. I have the client software setup on multiple Macs at home so that the Documents directory is actually the NextCloud filesystem. That way anything added to it, is automatically synced across all my machines and the server is backed up remotely. 1 Quote Link to comment
Recommended Posts
Posted by Squid,
1 reaction
Go to this post
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.