Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 00:23

    sbrl on master

    Refactor themes - more theme-re… (compare)

  • Aug 24 20:56

    sbrl on master

    Bump page-help version (compare)

  • Aug 24 19:47

    sbrl on master

    Add note to search page linking… (compare)

  • Aug 24 19:05

    sbrl on master

    Add table of contents to help p… (compare)

  • Aug 24 18:56

    sbrl on master

    Do some documentation work, and… (compare)

  • Aug 23 00:29

    sbrl on master

    Tweak stas-parse action output (compare)

  • Aug 23 00:27

    sbrl on master

    Add debug stas-parse action Add apiDoc comment (compare)

  • Aug 22 23:51

    sbrl on master

    Add STAS parsing to query-searc… (compare)

  • Aug 22 21:23

    sbrl on master

    Fix intitle: & intags: syntax -… (compare)

  • Aug 22 21:11

    sbrl on master

    Fix some mroe odd bugs in the n… (compare)

  • Aug 22 20:38

    sbrl on master

    Fix a *huge* number of bugs in … (compare)

  • Aug 22 16:43

    sbrl on master

    Finish refactoring invindex_que… (compare)

  • Aug 19 00:13

    sbrl on master

    Add editing file for diagram (compare)

  • Aug 18 20:25

    sbrl on master

    Start refactoring query_invinde… (compare)

  • Aug 18 19:11

    sbrl on master

    Add searhc index format diagram (compare)

  • Aug 18 17:52

    sbrl on master

    Start refactoring the search sy… (compare)

  • Aug 17 19:56

    sbrl on master

    [search] Add StorageBox.php as … (compare)

  • Aug 17 12:07

    sbrl on master

    Minor code formatting (compare)

  • Aug 16 00:14

    sbrl on master

    minor formatting (compare)

  • Aug 15 22:46

    sbrl on master

    Bugfix: Correct search query pe… (compare)

Starbeamrainbowlabs
@sbrl
But if your server is listening on Ipv6 only, you need to ensure that you enter the address of your server in your web browser correctly
So if you enter the IPv4 address of your server into your web browser, your not going to see any services hosted via IPv6
sunjam
@sunjam
hmm, my device is statically assigned by mac address to it's 192.168.1.50 ip address
this is how I connect to all of the services above. only one not working is pepperminty
I'm trying to connect by typing 192.168.1.50:8080
Starbeamrainbowlabs
@sbrl
Right. It's definitely not a Pepperminty Wiki-specific issue here, if you can't connect to the web server.
That sounds like the issue then. You're trying to connect via IPv4, but it's hosting on IPv6-only.
Try ip addr. Find the appropriate network interface, and find the inet6 bit
There should be more than 1 IPv6 address there
each with a scope XXXXX after it
A scope of link is the loopback address
You can enter that address into your web browser to access the web server over IPv6. Do this like so: http://[fe80::1ebc:c4d1:8319:6122]:8080/
(That address is my loopback address)
Starbeamrainbowlabs
@sbrl
Hrm. Looks like your server doesn't have an IPv6 address.
Why it's listening on IPv6-only is baffling
And how nextcloud is working over IPv4 when Apache isn't even listening even more so
I assume it's not in a docker container?
(I've no experience with Docker)
sunjam
@sunjam
this is all with docker containers. Yeah, it is confusing to me as well. :)
Starbeamrainbowlabs
@sbrl
Right!
That might be why we can't see whether it's listening or not
I think if the Apache server is inside a docker container, it will be listening on port 8080 on the docker container, not on the outside server
I think of docker containers a bit like virtual machines in that respect
I think there's a mechanism built-in to docker to port-forward from a container to the server itself
sunjam
@sunjam
I did expose the port 8080 when creating the container that houses nextcloud + pepperminty. That is why I'm able to see it when running netstat from the overall server. Container itself does not have netstat installed. after creating the container with exposed port I cloned the git repo to /var/www and added a vhost file to apache
Starbeamrainbowlabs
@sbrl
right
Can we try curl again then? I think it's curl -vvvIL http://192.168.1.50:8080/ you want.
curl should give us a much clearer picture as to why it can't connect
This is from the machine with the browser on it
sunjam
@sunjam
$ curl -vvvIL http://192.168.1.50:8080/
  • Trying 192.168.1.50...
  • TCP_NODELAY set
  • connect to 192.168.1.50 port 8080 failed: Connection refused
  • Failed to connect to 192.168.1.50 port 8080: Connection refused
  • Closing connection 0
    curl: (7) Failed to connect to 192.168.1.50 port 8080: Connection refused
Starbeamrainbowlabs
@sbrl
Right. So it definitely can't connect. I think the docker port-forwarding is probably to blame here
But I don't have much experience with docker
sunjam
@sunjam
Hmm, I'm asking the nextcloud help forums. I'll see what they can chime in. Just need to add these updates to the forum post. Thanks for your help!
Reason I want to get this going is Nextcloud does not have wiki functionality built in. It is a file sharing service (self hosted dropbox meets whole google suite of tools) which could be a very nice way to serve up and share wiki pages between many users
Starbeamrainbowlabs
@sbrl
Good idea! I've posted a comment on there too.
I see. Yeah - Pepperminty Wiki would complement Nextcloud very well!
Currently the storage system for the user accounts isn't scalable though - it uses peppermint.json
I can say that I've got a wiki is ~570 pages and 70K+ words on it, and it performs fine :D
Particularly the full-text search engine (~330ms single word, ~500ms 2-word searches). I'm very pleased with that bit.
sunjam
@sunjam
hmm, I'd love to store my wiki pages on nextcloud in specified directory. Nextcloud also has full-text search via elastic + tesseract OCR
Starbeamrainbowlabs
@sbrl
Ah
You can tell Pepperminty Wiki you want it to store it's data in an arbitrary directory
sunjam
@sunjam
Nice!
Starbeamrainbowlabs
@sbrl
The trick would be getting nextcloud to recognise that
It's the data_storage_dir setting in peppermint.json
sunjam
@sunjam
Cool, I'll look into it once I have pepperminty up and running
Starbeamrainbowlabs
@sbrl
(peppermint.json is auto-generated on first load)
Awesome!
I've even got an auto-generated configuration guide that details every setting an what it does
My general rule is "if I might want to change it later, make it a setting"