Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
R

rchau

@rchau
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Redirect domain root to "/site" subfolder
    R rchau

    Hi,

    I have my personal site in a subfolder of my domain, e.g. https://example.com/site.

    Going to example.com shows the default Cloudron LAMP page. I want to redirect visitors to the .com address to example.com/site
    I have created an .htaccess file in the root directory with the following code

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^$ /site/ [L]
    </IfModule>
    

    But this doesn't work; no redirection occurs.

    I got this code from this Dreamhost article in the section:
    "Automatically load a subdirectory"
    https://help.dreamhost.com/hc/en-us/articles/215747748-How-can-I-redirect-and-rewrite-my-URLs-with-an-htaccess-file

    I'd appreciate any help!
    Thanks!

    LAMP

  • Exporting from TLDraw to PNG, JPG doesn't work
    R rchau

    Hello, sorry for the late reply. I checked the Cloudron logs, unfortunately there was no error message when the PNG/JPG export failed. Here is a warning message I received during application startup a few days ago...not sure if it's relevant or related:

    > Jun 13 20:29:11 @tldraw/www:start: $ next start
    > Jun 13 20:29:11 @tldraw/www:start: cache miss, executing 216fa10b451709c4
    > Jun 13 20:29:11 @tldraw/www:start: warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn"
    > Jun 13 20:29:11 @tldraw/www:start: warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0".
    Jun 13 20:29:11 @tldraw/www:start: warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable.
    

    @girish is this error occurring on TLDraw 2.0?

    Thanks!

    TLDraw

  • Exporting from TLDraw to PNG, JPG doesn't work
    R rchau

    I'm running TLDraw on a 2GB Digital Ocean VPS managed via Cloudron. I've allocated 1GB memory to the TLDraw app, I believe the default was 256MB.

    I am using the app on:

    • desktop Firefox (MacOS)
    • Brave Browser (Android)

    Drawing shapes, adding images, exporting a .tldraw file all work fine. The problem was when I tried to export to a PNG, SVG or JPG. None of them worked, they all generated the following error in the browser console:

    > Uncaught (in promise) TypeError: p is null
    >     e index.mjs:15
    >     e index.mjs:15
    >     s runtime.js:45
    

    Has anyone experienced this or found a solution?

    TLDraw
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search