I'm in the process of rebuilding my home server. Previously I've had Joplin running on my NextCloud instance, but a rebuild seems like the ideal time to move to Joplin Server for sync.
With the .env as per above (and after running docker-compose restart), I stilll get "Invalid origin" when trying to load up http://10.1.1.1:22300/joplin or /joplin/login
If I make the base url use https I get an SSL name too long error.
An error occurred during a connection to 10.1.1.1:22300. SSL received a record that exceeded the maximum permissible length.
Error code: SSL_ERROR_RX_RECORD_TOO_LONG
I wouldn't expect SSL to work given I haven't configured any certificates. This will only be accessible locally or via VPN - so I'm not worried about SSL for now.
Sorry, anywhere I can look?
I don't need a separate web or webdav server for this, do I?
@siege801, I have a similar problem than you. I commented the post from which you got your information ( Setting up a Joplin Server on Docker). I think he did not include steps to create a SSL certificate. I tried to do so as explain in step 6 of Guide for Joplin-Server on Raspberry Pi but it did not change anything for me. I was just able to configure apache with there but not joplin server yet. I think that some conf is needed in /etc/apache2/sites-available/000-default-le-ssl.conf for joplin but this may not have any relation with your problem.
Secure Connection Failed
An error occurred during a connection to li171-xxx.members.linode.com:22300. SSL received a record that exceeded the maximum permissible length.
Error code: SSL_ERROR_RX_RECORD_TOO_LONG
(...)
THis made me think that I may modify config so that ProxyPass and Reverse point to http://172.18.0.3:22300, but it did not make any improvement! I really don't understand anything! That's scary!
Well, I found that apache failed to start because proxy modules were not loaded. (I run ```
sudo a2enmod proxy and sudo a2enmod proxy_htt but still no chance. I still get the Error code: SSL_ERROR_RX_RECORD_TOO_LONG.
If you've everything else set up correctly, you have to type the url without :22300 in the browser. Probably thats the cause of the error, because https only works for port 443...the ReverseProxy automatically routes everything from /joplin/ to the specified IP on port 22300.
Amazing. It worked. Thank you! I almost became delirious when it happened! Though, for some reason, I didn´t save the correct admin password (automatically generated from bitwarden) and email recovery does not seem to be setup correctly. Email of admin is admin@localhost. I don't have any email server configured. I don't know if there another solution than initialize joplin-server amd don't even know how to initialize joplin-server. I'm tenting to initialize data... Not so simple. I tried by running:
docker-compose down -v --rmi all --remove-orphans
but the postgres database was not deleted. My wild guess is that all datas are in the data directory. I deleted this directory, tried again and it did the job! Finally!