Closed dm5n closed 1 year ago
Update: file uploads working. I followed @Otaku's guidance on the SN Discord channel – there's a requirement to setup a file-server as a separate subdomain eg files.example.com in addition to the StandardNotes subdomain eg notes.example.com.
Requires configuring DNS A Name , creating a .conf file for the subdomainin /etc/nginx/sites-enabled and adding SSL certificate via Certbot.
I removed the Valet Secret I generated in Terminal and reverted to the default "VALET_TOKEN_SECRET=change-me-!"
Appears to be working now for attaching files.
Bonus: switching Editor from from Rich Text to the new Super editor enables embedding uploaded images in the text – my original goal for selfhosting SN.
Service Versions (please complete the following information): Paste the output of
./server.sh version
. For example:Describe the issue
I haven't been able to upload images via the Web app or desktop app. Getting 'Unable to start upload session' and 'There was an error while uploading the file'.
I have opened ports 3125 on Ubuntu server using UFW. Also, there was no Valet Token Secret in the .env file. Is that normal? I generated one using OpenSSL and added to the field in the .env file. But should it be added to others such as auth.env nd files.env?
Logs If applicable, add logs to help debug your problem.