Good morning, hello, everybody.
I've been using OpenWrt on my home routers and friends for a while. I think it is a great example of what a group of people with vision and effort can achieve. I have tried to successfully test many of the features and also additional packages. It's what I like about this software, it gives us the freedom to choose from many feature options depending on our needs being managed by our local data networks.One of the features that excites me is being able to have our own cloud to store our daily work on the computer. For this reason I have tried, without success, to install and test the SEAFILE SERVER software.
Base hardware: Virtualbox VM, 1GB RAM, 20GB VHD, eth0: host-only as LAN, eth1: Bridge mode as WAN
Openwrt version: 19.07.6-x86-generic-combined-ext4.img
Installed package with: opkg update && opkg install seafile-server
Below are the problems that have been presented to me:
1.Missing packages reported by the installer. Fixed with:
opkg update && opkg install python-django-statici18n python-django-webpack-loader seafile-server
2.Database creation failed. Fixed with:
cd /usr/share/seafile
sqlite3 seahub.db
CREATE TABLE IF NOT EXISTS 'django_content_type' (
'id' integer NOT NULL PRIMARY KEY AUTOINCREMENT,
'app_label' varchar(100) NOT NULL,
'model' varchar(100) NOT NULL
);
CREATE TABLE IF NOT EXISTS "auth_permission" (
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
"content_type_id" integer NOT NULL REFERENCES
"django_content_type" ("id"),
"codename" varchar(100) NOT NULL,
"name" varchar(255) NOT NULL
);
.quit
When running "/etc/init.d/seafile setup" without errors, I configured the following data for Seafile:
server name: seafile
ip: 192.168.56.2
Port ccnet server: 10001
Seafile data directory: /usr/share/seafile/seafile-data
Port seafile server: 12001
Port seafile fileserver: 8082
To finish, start Seafile with:
/etc/init.d/seafile start
/etc/init.d/seahub start
The program responds: this is the first time you start Seafile, we will create the admin user:
Administrator e-mail: **@**
Password: **
I get here after several weeks of internet research, I go to my PC, I open Mozzilla Firefox and place 192.168.56.2:8000
Result:
Page unavailable
Sorry, but the requested page is unavailable due to a server hiccup.
Our engineers have been notified, so check back later.
If any of you have the solution that wants to share it, it would be great.
Thank you.