The ability to "install app from backup". Now, you can only restore an already installed app from a backup. It would be really valuable to be able to just install an app from an older backup without having to think about versioning etc.
odie
Posts
-
What's coming in 8.2 -
Fix for kernel bug in Ubuntu 20.04 causing various issues@girish said in Fix for kernel bug in Ubuntu 20.04 causing various issues:
Edit /etc/default/grub . Change the line to GRUB_DEFAULT=Advanced options for Ubuntu>Ubuntu, with Linux 5.4.0-135-generic.
Hello again,
Thanks for the help earlier. And apologies for having to run, suddenly 8 family members on my door expecting dinner....I think I figured out why I didn't manage to make the guide work for me when I tried to update grub. In the quoted line, there should be quotes around the "Advanced options..." line.
When doing that, the guide to revers the changes worked.
-
What's coming in 7.3@nebulon is 7.3.2 still not stable? It doesnāt show up on my Cloudron (on 7.2.5) unless I manually check for updates. When checking manually, I get the message that 7.3.2 is not production ready.
Should I wait, or is 7.3.2 ready now?
Thanks!
Odie
-
Cannot login after switch to OIDC@RoundHouse1924 said in Cannot login after switch to OIDC:
@odie
FocusReader contains 9 trackers and 20 permissions, including the invasive GET_ACCOUNTS and READ_PHONE_STATE
https://reports.exodus-privacy.eu.org/en/reports/383074/Thank you. Uninstalled! Back to looking for a Reeder-like app for Android
-
Move bridges to /app/data/bridges@jaschaezra said in Move bridges to /app/data/bridges:
I want to use my own bridges and I just can not use them with the cloudron package.
When bridges are moved to
/app/data/bridges
it would be possible to use self developed bridges.Any other solution to use own bridges which are not in the upstream repository are welcome.
This sounds like a good suggestion. It also allows us to update broken bridges immediately, instead of waiting for new Cloudron releases. Broken bridges are updated constantly on their repository even though they donāt make new builds just to fix for an updated bridge.
-
Mounting volumes for dummies. Anyone care to help?@mehdi Thanks Mehdi, appreciate this advice. Also, thanks for clarifying that the share must be mounted on the server before Cloudron can mount it! That makes things a lot more clear for me!
-
What's coming in 8.2@girish Yes, itās different. Many times Iāve thought about removing an app, or mess about with configurations etc. from an app that is running ok, but for some reason I want to change.
One scenario is this example. Letās say I wanted to create an offline backup of articles in my āpocketā account (getpocket.com). I could use Wallabag for this purpose, import everything and leave it running. But letās say I donāt need this running persistently, I just want to keep an old backup lying around. With the functionality I ask for, I could simply backup the current Wallabag installation, put the backup in cold storage, and then 5 years later, I could simply install directly from this backup.
A second scenario; if I want to play around with loads of different settings for an app, I could simply take a backup first, mess about however much without worrying whether I destroyed something, and then uninstall the version I broke due to my fiddling about, and simply reinstall from the old backup.
A third scenario; when Cloudron offers upgrades that break functionality, I could simply backup the app containing the old version and all my settings and data, and then upgrade knowing full well that I kept an old, working copy in case something I needed was broken.
The perfect implementation of this āinstall app from backupā would be to be able to browse old backup files like āan app storeā, and install in the same way (ie. choosing a new location for an old backuped version etc). But thatās perhaps asking for too much?
-
using bitwarden android app, crashs when I save any edits@girish said in using bitwarden android app, crashs when I save any edits:
OK, I have set the crate version at build time as suggested by the discussion thread.
I have published a new package now that sets the version. You can check by going to
/api/config
. With this, my android client works. Can others confirm?It works on both Android and iOS for me. Thanks for pushing a fix so quickly!
-
Could you please update ttrss to 16dd42c3 published on 9/11/2024 or newer?Hello
Would it be possible to ask for an update to ttrss which includes the change on 9/11/2024: Enable PATH_INFO for plugins to use referenced here: rhttps://gitlab.tt-rss.org/tt-rss/tt-rss/-/merge_requests/61
This change allows the use of the new FreshRSS and Google Reader plugin: https://github.com/eric-pierce/freshapi
I tested it on the current Cloudron version 1fb202b, and the plugin doesn't work on this build.
Thank you!
Thank you!
-
Trying to get the FreshAPI plugin to work, but can't switch to local authHello
I'm trying to get the FreshAPI plugin to work (cf this topic), so I installed a clean ttrss to experiment on.
Firstly I installed the plugin and enabled it in the config. This works, the plugin is enabled in the config view. But I cannot login to the plugin. I get the same errors in my logs as in the previous posts:
[Sat Sep 28 10:31:38.267283 2024] [php:error] [pid 32] [client 172.18.0.1:59100] PHP Fatal error: Uncaught Error: Failed opening required '/app/data/include/autoload.php' (include_path='/app/data/plugins.local/freshapi/api:/app/data:/app/data/include:.:/usr/share/php') in /app/data/plugins.local/freshapi/api/greader.php:23\nStack trace:\n#0 {main}\n thrown in /app/data/plugins.local/freshapi/api/greader.php on line 23 Sep 28 12:31:38 [myip] - - [28/Sep/2024:10:31:38 +0000] "POST /plugins.local/freshapi/api/greader.php/accounts/ClientLogin HTTP/1.1" 500 - "-" "Reeder/5040601 CFNetwork/1568.100.1
I wanted to see if the Cloudron login integration could be causing this, so I tried to swith to local auth. How on earth do I do this? There's not setting/switch when I install the package, and when I follow the instructions in the docs TTRSS docs under "external registration", nothing happens. To retrace:
I edited /app/data/env.sh using the File Manager according to the instructions. I enabled auth_interal (and this works, as I can see it is enabled when I login via a Cloudron user), but I can't seem to be able to enable registration. So far I've tried the following lines in the /app/data/env.sh file:
TTRSS_ENABLE_REGISTRATION=true
export TTRSS_ENABLE_REGISTRATION=true
set TTRSS_ENABLE_REGISTRATION=true
put TTRSS_ENABLE_REGISTRATION=trueNone of them seem to work. Can anyone provide assistance? Thanks.
-
Trying to get the FreshAPI plugin to work, but can't switch to local authI've been trying to get this plugin to work, since (in my opinion), it will increase TTRSS' long-term viability (since the Fever plugin is considered deprecated and the TTRSS API not widely supported at all).
Adding to my previous post (and from @joseph with reference to using curl to test), I have struggled to make headway. I finally came over this post from last week on the author's GIT: https://github.com/eric-pierce/freshapi/issues/7
When viewing TTRSS' default config (and nginx config files), it seems Cloudron don't have PATH_INFO enabled on the webserver. The plugin apparently requires this, and this is supposedly "as simple as modifying your nginx.conf file to enable PATH_INFO for plugins with "api" in the path".
The two steps to enable PATH_INFO are (source: this post:
- re-enable it by enabling cgi.fix_pathinfo=1 in the php.ini file (on my test installation, I find this php.ini file under "/etc/php/8.1/cli/php.ini", and here I can see that the cgi.fix_pathinfo=1 is commented out)
- Update the .conf file (on my cloudron box, the path to my test install of ttrss is: /home/yellowtent/platformdata/nginx/applications/e6d40bd9-472b-46c9-9ab6-82794a764ebb/ttrsstest.example.com.conf) to include support for PATH_INFO. This is a selective enabling of PATH_INFO, and only tells nginx to use PATH_INFO parameters for php files in the plugins.local folder with "/api/" somewhere in the URL (like freshapi). Here is the example code given on the author's page:
# vi:syntax=nginx server { listen 80; listen [::]:80; server_name ttrss.mydomain.com; return 301 https://$server_name$request_uri; } server { listen 443 ssl; listen [::]:443 ssl; #include snippets/ssl-mydomain.com.conf; #include snippets/ssl-params.conf; server_name ttrss.mydomain.com; root /usr/share/nginx/ttrss; index index.html index.htm index.php; access_log /var/log/nginx/ttrss_access.log; error_log /var/log/nginx/ttrss_error.log info; # Enable SSL verification by certbot/webroot location ~ /.well-known { allow all; } location / { index index.php; } location ~ \.php$ { try_files $uri =404; #Prevents autofixing of path which could be used for exploit fastcgi_pass unix:/run/php/php8.2-fpm.sock; fastcgi_index index.php; include fastcgi.conf; } location ~ /plugins\.local/.*/api/.*\.php(/|$) { fastcgi_split_path_info ^(.+\.php)(/.+)$; set $path_info $fastcgi_path_info; fastcgi_param PATH_INFO $path_info; fastcgi_pass unix:/run/php/php8.2-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_index index.php; include fastcgi_params; } }
It seems to me that these changes need to be done on the Cloudron side. Any chance of having someone from staff look into it?
Sorry for the bother, and thanks for the help!
-
Miniflux filters?I like that Miniflux is now available on Cloudron. However, there's something about this app that I'm struggling a little bit with. The filters; especially the syntax of block and keep rules. I am at a loss on how to implement such filters effectively. The documentation is a stub (for me), but probably more than enough for some of you guys with a better understanding.
Could anyone be so kind as to give an example on how to write multiple filters for a feed? I would be very grateful for such assistance.
Example - say I have a newspaper feed I subscribe to, but I am not interested in reading articles with the following characteristics:
- I want to filter out articles with the word "fashion"
- I also want to filter out articles with the word "car"
- Same with articles with the letters "holidayfu" in the headline (to filter out articles holidayfun, holidayfuture etc)
- I also want to filter out all articles with the numbers between 231-355 in the title
- And I would love to filter out articles with the words "foo" and "bar" in the subject, even if they don't appear immediately after each other
I have some (limited) experience with regex filters in TTRSS, and in TTRSS, I would write this as one (or more) filters like this:
(fashion|car|holidayfu|[2][3-5][1-5]|foo.*bar)
But I am struggling to understand how to implement such a rule set in Miniflux. Could anyone please give an example? I'd be really grateful.
Thanks a lot for any and all help, and once again, thanks for what looks like a really cool app!
Odie
-
Code only backups@jdaviescoates It makes a lot of sense. If we had this + an option to have "on-app-basis backup policy", I'd be really happy!
The "Code only" option would be perfect for apps like NextCloud, Immich etc. to run every day.
Then, I could do a weekly or monthly "full backup", using the "on app basis" backup policy. This would retain a few backups of the data in data-intensive apps like Immich and Nextcloud, but avoid having to fill every day backups with huge loads of mostly unchanged data (ie. old photos in Immich don't change, so having the option to only frequently do a full backup would be perfect.)
-
What's coming in 8.2@micmc said in What's coming in 7.6:
@odie Unless I'm missing something, I believe you can already achieve all that you describe with Cloudron, right now. No?
No, not to as far as I can understand. The feature request I am making is basically the one described in this topic: https://forum.cloudron.io/topic/8323/how-to-upload-import-app-backup-in-cloudron/8
and which led to this feature request: https://forum.cloudron.io/topic/8359/ability-to-import-backups-from-computer-disk-rather-than-needing-to-scp-files/1
As far as I know, this one isn't implemented yet.
-
using bitwarden android app, crashs when I save any editsSame problem here with both the iOS and Android version of the app when adding credentials.
-
Miniflux filters?@nebulon Thanks, nebulon. Yes I have seen it, this is the documentation that was really confusing for me (but, as I said, I don't really understand how to write regex-filters, I just learned how to do it in TTRSS).
To illustrate, I understand that (?i)miniflux tells miniflux to ignore (delete, if in the "block rules" part) all articles containing the word minflux (case insensitive). But I struggle with the implications for more rules. And I struggle to understnad why the "?" character is used.
In my example above, would I be right in assuming that I could add this example to my filters like this?
((?i)miniflux|fashion|car|holidayfu|[2][3-5][1-5]|foo.*bar)
Also, does this mean that in Miniflux, the regex expressions are case sensitive by default? (they aren't in TTRSS).
Sorry for being a newbie...
Odie
-
Change request: Notifications in Cloudron 3.5.1Hi,
Thanks for introducing notifications. That can be super helpful.However, could we please be allowed to mute certain notifications somehow? My problem is that I constantly get a new notification that my email setup is wrong. I self host, and have two domains on my Cloudron. On one of the domains, I don't want email setup. On the other, I have everything correctly set up minus PTR (which I cannot set, and which I don't need, since I only use the email for my internal use).
It is very annoying that a new notification pops up several times an hour that this email setup is wrong. I would love to be able to mute it permanently. I could even live with having all email configuration notifications muted, and even the old behaviour of no notifications at all was better than this. For me, this almost becomes the boy who cried wolf.
Any chance having this looked into?
Thanks for a super product, by the way!
-
pptx to pdf failsAny news on this? For me, pptx conversions still fail. Just wondering if a fix is in the pipeline
-
Miniflux filters?@odie Thanks. So basically, the same filtering as TTRSS, except everything is one line. Appreciate it!
-
Mounting volumes for dummies. Anyone care to help?@girish Thanks for helping out. This is quite tricky. I will write what I've done in case other newbies need something to follow, and see where I am stuck.
Here is my status for now. I can successfully mount the network card and the shares in the way I want (e.g. the example above in music, articles etc. when I do it manually. But my fstab and netplan configs just don't work at all.
- Network card
First trick was to install cifs-utils
sudo apt-get install cifs-utils
Then, I proceed to mount my USB network card with a static IP. The following two commands set the ip address and put the link state to "up":
sudo ip addr add 192.168.9.101/24 dev enxc4411eb4c476 sudo ip link set dev enxc4411eb4c476 up
However, when trying the Netplan config, nothing works. Currently, my 99-my-custom.yml netplan file looks like this:
network: ethernets: enxc4411eb4c476: addresses: [192.168.9.101/24] dhcp4: true version: 2
I've tried different variations of spacing in the file, have have included and removed different parts, e:g:
version: 2 renderer: networkd
But nothing works. No matter what I try, I always get the following message when I try the config:
sudo netplan try Warning: Stopping systemd-networkd.service, but it can still be activated by: systemd-networkd.socket Do you want to keep these settings? Press ENTER before the timeout to accept the new configuration Changes will revert in 113 seconds Configuration accepted.
If anyone can help me making this configuration persistent, I'd be very grateful.
- Mount
Mount is a similar story. After installing cifs-utils, the volumes mount ok, I've even managed to make my credentials file with mode 600:
The folloing manual mounts work:
sudo mount.cifs //192.168.9.102/Entertainment/music /mnt/music -o uid=yellowtent,gid=yellowtent,credentials=/etc/backup-credentials.txt,iocharset=utf8,x-systemd.automount 0 0
and
sudo mount -t cifs //192.168.9.102/Entertainment/music /mnt/music -o credentials=/etc/backup-credentials.txt,uid=yellowtent,gid=yellowtent
But nothing works when trying to automatically mount using fstab. I've tried many variantions on entries, but nothing sticks. Currently, this is what I have:
//192.168.9.102/Entertainment/music /mnt/music /mnt/music cifs iocharset=utf8,rw,credentials=/etc/backup-credentials.txt,uid=yellowtent,gid=yellowtent,file_mode=0660,dir_mode=0770 0 0
when testing the config, I get no error messages, no output at all. But mounting doesn't work...
sudo mount -a
Any assistance/suggestions are appreciated.
Thanks!
Update 1:
After working with the USB interface in a link up statec(manual like above), I tried editing the 99-my-custom.yml file to show the following:network: ethernets: enxc4411eb4c476: addresses: [192.168.9.101/24] dhcp4: no version: 2
Following the advice in the accepted solution in this post: https://unix.stackexchange.com/questions/485395/cant-permanently-assign-additional-ip-addresses-to-usb-ethernet-adapter-via-et
I decided to try adding the "generate"-option with netplan and issued the 3 commands:
sudo netplan generate sudo netplan try sudo netplan apply
I did a sudo reboot, and two strange things happened. Firstly, the Cloudron took forever to reboot, I was thinking I had messed up everything. It still takes forever to reboot on subsequent reboots, so something has happened (I have messed something up, it seems). And secondly, upon successful reboot, the USB ethernet device is just gone from my system...
I do
sudo ip link show enxc4411eb4c476
and it returns: Device "enxc4411eb4c476" does not exist.
I do:
ip a
and the device name doesn't show up. The same thing happens when I do:
sudo lshw -C network
Any ideas on how I messed up, and what to do to fix it? Thanks!
Update 2:
I unplugged and replugged the USB ethernet dongle, and now it's recognized again by the Linux. I've reverted my netplan (99...)-file to the one in Update 1:network: ethernets: enxc4411eb4c476: addresses: [192.168.9.101/24] dhcp4: no version: 2
It still doesn't mount the device on boot, but at least linux finds the device and I am able to mount it manually.
Fun fact... after mounting the device manually, I am able to do a
sudo mount -a
which returns without errors. Further, I am able to list the contents of the mount by doing a
sudo ls /mnt/music
if I list it without root, I get permission denied (probably because of the "yellotent" uid and gid in the mount string in my fstab (see above). Fun fact #2: In my Cloudron web interface, I am able to browse the content of this share if I:
a. unmount the previously mounted volume (/mnt/music)
b. re-add the previously mounted volume (/mnt/music)
c. go to the file browser in the Cloudron GUI and click the "browse" button
d. allow the following Cloudron error in red: "Cloudron error: unable to connect to the file manager server"
e. click browse once more - then the contents of the share is loaded, and I can access the filesSo it might look like my fstab code is halfway working, and the problem is that ubuntu 20.04 doesn't automount my usb network card. Hopefully, someone can shed some light on this.
- Network card