clommunity / cdistro Goto Github PK
View Code? Open in Web Editor NEWThis project forked from agustim/cdistro
Cloudy - A community networking cloud in a box. Source code for scripts, daemons and web GUI
Home Page: http://cloudy.community
This project forked from agustim/cdistro
Cloudy - A community networking cloud in a box. Source code for scripts, daemons and web GUI
Home Page: http://cloudy.community
10.1.27.4 does not seem to be UP.
/index.php/guifi-proxy3 - Uncaught Error: Call to undefined function split()
http://php.net/manual/en/function.split.php says this function was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0.
From GoGS: Open rogerpueyo opened this issue 5 months ago
That. Check PS workflow on Cloudy
In the package manager the label of the button "Docker is not installed"
was a little confusing. I would change is simple to "Install Docker".
ee5f3f89f1347893f178b27e7912eb637201416f works.
From GoGS: Open ferran.olid opened this issue 5 months ago
People is asking to be able to configure the network interfaces without having to log into the machine thrugh SSH and editing the file /etc/network/interfaces.
Debian packages
Package Installed version New version Action
libglib2.0-0 2.42.1- ebian:8.3/stable Upgrade
libnuma1 2.0.10- ebian:8.3/stable Upgrade
firmware-linux-free 3. ebian:8.3/stable Upgrade
libglib2.0-data 2.42.1- ebian:8.3/stable Upgrade
linux-image-4.4.0-0.bpo.1-amd64 4.4.6-1bpo8+ ebian Upgradebpo8+1 Upgrade
linux-image-amd64 3.16+63 4.4+71
shared-mime-info 1.5-2~bpo8+ ebian Upgrade
xdg-user-dirs 0.15- ebian:8.3/stable Upgrade
irqbalance 1.0.6- ebian:8.3/stable Upgrade
Upgrade all
The "Start IPFS daemon" button is shown on ./ipfs even when the daemon is already running. The stop button is displayed properly.
From GoGS: Open agusti opened this issue 7 months ago
Need ARCH variable when execute script.
Kind reminder.
From GoGS: Open rogerpueyo opened this issue 7 months ago · 0 comments
Hi,
When a service is created from within Cloudy at Guifi.net website, several fields are missing. For example, the name and description are very unexplicit, federation is missing (proxy), etc.
Should a configuration page be added?
From GoGS: Open agusti opened this issue 7 months ago
Remove getinconf, only needs "Network device".
Remove microcloud from search system.
rogerpueyo commented 7 months ago
Now that we have the chance, can we rename the file "/etc/cdistro.conf" to "/etc/cloudy/cloudy.conf"??
It's unclear if this is the place to go, or not.
/etc/init.d/cdistro: 22: [: -eq: unexpected operator
After enabling HTTPS on a Cloudy instance via the Settings=>SSL Manager tool, the homepage link on the top left (i.e. the Cloudy logo) contains a link to http://_cloudy_ip_address:7443, instead of https://_cloudy_ip_address:7443
From GoGS: Open ferran.olid opened this issue 5 months ago
The output of the command (as shown in the web interface) is the following:
WARNING: The following packages could not be identified:
guifi-proxy3
Appearently, adding the repository key does not solve the problem.
Doing the manual installation installs the package, but it misses some configurations since the port 3128 is open and the proxy answers. However when trying to use it, it asks for a username, but it does not accept the federated user which actually works in the official proxy.
agusti commented 5 months ago
The system install proxy3, but not run.
From GoGS: Open rogerpueyo opened this issue 7 months ago
If the directory /etc/cloudy does not exist, saving the /etc/cloudy/guifi.conf file returns an error:
Error
notWriteFile(4)
'/etc/cloudy/guifi.conf': Can't write this file.
It is a non-Cloudinized Debian 7.8. This is around line 1460 of guifi_api.php. We should try to create the directory first, and then write the file. There is an example (working) in guifi-proxy3
From GoGS: Open conxuro opened this issue 7 months ago
When you have new updates of several cloudy packages you have tu upgrade them one by one. There is no option to install all together at the same time.
It will be nice to add a button (or whatever) to install all packages like with the Debian updates section.
From GoGS: Open conxuro opened this issue 7 months ago
If the config file /etc/cdistro.conf contains PORT_SSL var commented (with a # at the start of the line), the web interface's SSL manager is still showing that HTTPS is installed even it is not installed nor started.
If the service cdistro is restarted, it starts the HTTPS if finds a (commented) #PORT_SSL var in the config file.
If trying to remove HTTPS via web interface, if there is a #PORT_SSL in the config, the SSL manager doesn't remove that var and in the restart of the service is still there; the HTTPS available.
Sometimes even if PORT_SSL is completely removed from config file, HTTPS is still active, even some restarts of the service.
The Cloudy label and icon, in the top menu, sometimes doesn't have a HTTPS link to the index page but HTTP, resulting in an error: "400 Bad Request".
i.e. via Serf, IPFS, etc.
When an "ipfs ls %hash" call asks for a missing directory (i.e. the node providing it is unreachable, is stopped or does not exist anymore), too a long call timeout lets the "Serf search" page unusable.
Take a Cloudy instance with IPFS installed and actually running (or stop IPFS and start it back), then kill it from the command line. The web interface still tells IPFS is running.
Not only files under /etc/apt/, but any file (e.g. /etc/fstab) can be edited at http://CLOUDY_IP:7000/settings/sourceManage?file=/etc/anything
From GoGS: Open conxuro opened this issue 7 months ago
By default when HTTPS (SSL) is installed HTTP access stop working.
The dialog package needs to be added to a Cloudy installation to ensure web-based Debian package upgrades work.
Kimchi service config menu is maintained in the "Community" menu and is not moved to the new "Community cloud".
If this service is not included in the newer versions, it should be removed completely from Cloudy's who had it already installed, or at least moved accordingly to the new menus.
Related to #24
From GoGS: Open conxuro opened this issue 2 weeks ago
When cloudy packages are upgraded, files are overwritten. However, if some file has her name changed and when the upgrade is performed, the previous file is preserved since it is not overwritten (different names).
It can result in errors or inconsistences, sometimes hard to find out.
For example, in a specific update the SSL conf file name for Apache has changed:
/etc/apache2/sites-enabled/cdistro-ssl
to
/etc/apache2/sites-enabled/cdistro-ssl.conf
Then, if you have SSL enabled, the troubles can happen anytime. The old file is preserved, so, Apache2 enables SSL but Cloudy Web UI shows is not installed. Then if you decide to push install button, the new config file is created and the web interface won't work anymore, (until you deleted old cdistro-ssl file).
From GoGS: Open fredy opened this issue 3 months ago
From Web Gui:
Guifi DNSServices is stopped
From a terminal:
ps -aux | grep bind
bind 4935 0.8 3.0 424700 60236 ? Ssl 12:25 0:03 /usr/sbin/named -f -u bind
root 6065 0.0 0.1 13220 2256 pts/0 S+ 12:32 0:00 grep bind
root 28630 3.2 0.6 200716 13256 ? Sl ago04 177:27 /opt/serf/serf agent -node=a5920f97b6847b18ff397c11024ec3ac-5000 -bind=10.91.169.7:5000 -rpc-addr=127.0.0.1:7373 -join 10.139.40.82:5000
netstat -lpn | grep named
tcp 0 0 10.91.169.7:53 0.0.0.0:* LISTEN 4935/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 4935/named
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 4935/named
tcp6 0 0 :::53 :::* LISTEN 4935/named
tcp6 0 0 ::1:953 :::* LISTEN 4935/named
udp 0 0 10.91.169.7:53 0.0.0.0:* 4935/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 4935/named
udp6 0 0 :::53 :::* 4935/named
Flag--automatedHasBeenDeprecated,Use--filter=is-automated=trueInstead | Action |
---|---|
NAMEDESCRIPTIONSTARSOFFICIALAUTOMATED | Pull image |
container4armhf/armhf-alpineAutomaticallybuiltbaseimagesofAlpineLinuxforarmhfdeviceslikeRaspberryPiorOdroid.74Yes | Pull image |
ioft/armhf-ubuntu[ABR]UbuntuDockerimagesfortheARMv7(armhf)platform(e.g.cubox-i,odroid,rpi2)25Yes | Pull image |
orax/alpine-armhfDailybuiltAlpine-LinuxDockerimageforarmhf7Yes | Pull image |
forumi0721alpinearmhf/alpine-armhf-nginxalpine-armhf-nginx3Yes | Pull image |
forumi0721alpinearmhf/alpine-armhf-vsftpdalpine-armhf-vsftpd2Yes | Pull image |
kennethlimcp/armhf-ghostTheawesomeGhostblog,onarmhf2Yes | Pull image |
forumi0721alpinearmhf/alpine-armhf-noip-curlalpine-armhf-noip-curl2Yes |
From GoGS: Open rogerpueyo opened this issue 8 months ago
From https://www.serf.io/docs/agent/options.html#_profile:
-profile - Serf by default is configured to run in a LAN or Local Area Network. However, there are cases in which a user may want to use Serf over the Internet or (WAN), or even just locally. To support setting the correct configuration values for each environment, you can select a timing profile. The current choices are "lan", "wan", and "local". This defaults to "lan". If a "lan" or "local" profile is used over the Internet, or a "local" profile over the LAN, a high rate of false failures is risked, as the timing constrains are too tight.
The CN context in which Cloudy instances are to be installed resemble more a WAN than a LAN. Therefore, and taking into account that fast convergence is not an issue for the service, use the wan profile.
cDistro/web/plug/controllers/settings.php on line 353
As http://php.net/manual/en/function.parse-ini-file.php says, Hash marks (#) are no longer recognized as comments, which makes the function fail to read cloudy.conf file.
From GoGS: Open conxuro opened this issue 2 months ago
When an error occurs the interface is deformed with different font sizes, displaced texts, etc.
In ./ipfs, when the "Start IPFS daemon" button is clicked for the first time, the web interface hangs (waiting for something?) and does not return to the previous page. On refreshing the page, the daemon appears as working (and actually is). Subsequent start/stop actions work well.
Tip: unpublish before stopping.
HTTPS Manager -> Install SSL
cDistro/web/plug/controllers/ssl.php or the ssl.sh fails to configure the web server correctly. The redirection http -> https works but then the https session returns text results (like http) so the browser fails. Probably check how the script reconfigures the web server. Enabling this function makes the web interface UNUSABLE (Don't try at home alone!)
On the shell, the script to remove works although it throws a few errors.
From GoGS: Open conxuro opened this issue 7 months ago
If you have installed the HTTPS support (SSL), after upgrading the web interface (cloudy package: cdistro), when you go to the menu "System>SSL manager" it shows the message "HTTPS is not installed", even the HTTPS access is still available and connected.
It seems that the upgrade overwrites the /etc/cdistro.conf
Show only those available for the device's architecture.
From GoGS: Open conxuro opened this issue 7 months ago
Actually Cloudy update system checks the changes in the repository and doesn't distinguishes a stable version from a unstable version.
If you install a Cloudy stable, if there are changes in the repo the update system notifies and make these changes available, even they are not well tested an pushed to a stabled release.
Also there is no control of the versions nor the releases in the git repository and in consequence there isn't in the Cloudy system too but a hash,
This hash does not match with the last commit hash of the repository, so an administrator (not developer) can't know which version is installed; only to trust that the update system reports that there are updates or not.
The following five menus are shown on the right:
From GoGS: Open rogerpueyo opened this issue 7 months ago
And also let the user select which interface to connect to.
From GoGS: rogerpueyo opened this issue 8 months ago
From GoGS: Open rogerpueyo opened this issue 7 months ago
OK, this text is cool, but there's actually nothing to configure there.
A Docker installed in Cloudy is v1.6.2.
Installing a recent Docker version 1.12.1, build 23cf638
It seems the Docker version that Cloudy installs does not exist anymore, Docker does not install on a Cloudy.
Adding Docker packages repository to /etc/apt/sources.list.d/docker.list:
deb [arch=] https://download.docker.com/linux/debian stretch stable
Importing Docker's official GPG key to the local keyring:
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88
uid [ unknown] Docker Release (CE deb)
sub rsa4096 2017-02-22 [S]
Updating package list again...
E: Malformed entry 1 in list file /etc/apt/sources.list.d/docker.list ([option] no value)
E: The list of sources could not be read.
Process result:
Docker is not available for installation
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.