Jump to content

PittPC

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by PittPC

  1. for Error A: the docker repo isnt fully specified your missing the ariadb at the end instead you have m lets do this stop all your dockers instances and remove them delete the docker directory and recreate it create these directories inside docker folder nextcloud_mariadb nextcloud (inside nextcloud create a dir called data) create nextcloud_data on the root on one of your volume not inside the docker folder create another folder called appdata inside that then rerun the docker run commands and we'll see if we get any errors.
  2. I tied it with that password that you tried and does work. I'm wondering if you have 2 docker directories somewhere in /volumes, check all directories and see if there are two. There was a bug where it wasnt wiping the harddrive if you did a new install. If you installed when that bug existed it may have mounted that volume with docker already there and created a duplicate. here is the code we use to install nextcloud if(isset($_POST['install_nextcloud'])){ // Check to see if docker is running $status_service_docker = exec("systemctl status docker | grep running"); if(empty($status_service_docker)){ $_SESSION['alert_type'] = "warning"; $_SESSION['alert_message'] = "Docker is not running therefore we cannot install!"; }else{ $password = $_POST['password']; $enable_samba_auth = $_POST['enable_samba_auth']; $enable_samba_mount = $_POST['enable_samba_mount']; $install_apps = $_POST['install_apps']; $data_volume = $_POST['data_volume']; mkdir("/volumes/$config_docker_volume/docker/nextcloud"); mkdir("/volumes/$config_docker_volume/docker/nextcloud/data"); mkdir("/volumes/$data_volume/nextcloud_data"); mkdir("/volumes/$data_volume/nextcloud_data/appdata"); mkdir("/volumes/$config_docker_volume/docker/nextcloud_mariadb"); exec("docker run -d --name nextcloud_mariadb --net=my-network -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=nextcloud -e MYSQL_USER=nextcloud -e MYSQL_PASSWORD=password -p 3306:3306 --restart=unless-stopped -v /volumes/$config_docker_volume/docker/nextcloud_mariadb:/config linuxserver/mariadb"); exec("docker run -d --name nextcloud --net=my-network -p 6443:443 --restart=unless-stopped -v /volumes/$config_docker_volume/docker/nextcloud/data:/data -v /volumes/$data_volume/nextcloud_data/appdata:/config linuxserver/nextcloud"); exec("sleep 80"); exec("docker exec nextcloud rm -rf /config/www/nextcloud/core/skeleton"); if($enable_samba_mount == 1){ exec("docker exec nextcloud mkdir /config/www/nextcloud/core/skeleton"); exec("docker exec nextcloud mkdir /config/www/nextcloud/core/skeleton/Shared-Folders"); } exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ maintenance:install --database='mysql' --database-name='nextcloud' --database-host='nextcloud_mariadb' --database-user='nextcloud' --database-pass='password' --database-table-prefix='' --admin-user='admin' --admin-pass='$password'"); //Add Trusted Hosts $docker_gateway = exec("docker network inspect my-network | grep Gateway | awk '{print $2}' | sed 's/\\\"//g'"); //Add Hostname and Primary IP to trusted_domains list exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ config:system:set trusted_domains 2 --value=$config_hostname"); exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ config:system:set trusted_domains 3 --value=$config_primary_ip"); //Disable Support, usage survey and first run wizard exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:disable support"); exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:disable survey_client"); exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:disable firstrunwizard"); exec("docker exec nextcloud rm -rf /config/www/nextcloud/apps/support"); exec("docker exec nextcloud rm -rf /config/www/nextcloud/apps/survey_client"); exec("docker exec nextcloud rm -rf /config/www/nextcloud/apps/firstrunwizard"); if($install_apps == 1){ //Install Apps //Install Calendar exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:install calendar"); exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:enable calendar"); //Install Contacts exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:install contacts"); exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:enable contacts"); //Install Talk //exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:install spreed"); //exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:enable spreed"); //Install Community Document Server //exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:install documentserver_community"); //exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:enable documentserver_community"); //Install OnlyOffice //exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:install onlyoffice"); //exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:enable onlyoffice"); //Install Draw.IO //exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:install drawio"); //exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:enable drawio"); //Install Mail //exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:install mail"); //exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:enable mail"); } //Set Auth Backend to SAMBA - Install External User Auth Support (For SAMBA Auth) if($enable_samba_auth == 1){ exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:install user_external"); exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:enable user_external"); exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ config:system:set user_backends 0 arguments 0 --value=$docker_gateway"); exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ config:system:set user_backends 0 class --value=OC_User_SMB"); } //Fix Setup DB Errors This may be able to removed in the future exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ db:add-missing-indices"); exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ db:convert-filecache-bigint"); if($enable_samba_mount == 1){ //Enable External Files Support for Samba mounts exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ app:enable files_external"); //Add Network Shares //Add Users Home folder exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ files_external:create Home 'smb' password::logincredentials -c host=$docker_gateway -c share='users/\$user' -c domain=WORKGROUP"); //Enable Nextcloud Sharing on Users Home exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ files_external:option 1 enable_sharing true"); //Add All Other Shares exec("ls /etc/samba/shares", $share_list); foreach ($share_list as $share) { exec("docker exec nextcloud sudo -u abc php /config/www/nextcloud/occ files_external:create /Shared-Folders/$share 'smb' password::logincredentials -c host=$docker_gateway -c share='$share' -c domain=WORKGROUP"); } } } //End Docker Check header("Location: apps.php"); } this is the actual docker run command replace YOURDOCKERVOLUMEHERE with your the volume your docker folder is located at replace YOURDATAVOLUMEHERE with the volume you want to have your nextcloud data located should docker run -d --name nextcloud_mariadb --net=my-network -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=nextcloud -e MYSQL_USER=nextcloud -e MYSQL_PASSWORD=password -p 3306:3306 --restart=unless-stopped -v /volumes/YOURDOCKERVOLUMEHERE/docker/nextcloud_mariadb:/config linuxserver/mariadb docker run -d --name nextcloud --net=my-network -p 6443:443 --restart=unless-stopped -v /volumes/YOURDOCKERVOLUMEHERE/docker/nextcloud/data:/data -v /volumes/YOURDATAVOLUMEHERE/nextcloud_data/appdata:/config linuxserver/nextcloud
  3. @Tido I'm wondering if special characters in the password are causing Nextcloud docker install to break on the shell level. Try using a a simple password of just password with all 3 check boxes checked then hit install. i'm curious if this is the problem.
  4. hahaha nice find! I was mad at something so I created a test file. I was trying things out initially in a virtual machine More updates coming. I will focus more on documentation today and maybe finish working on remote backup support
  5. Actually it pulls down the docker but the binary that there is compiled for intel arch x86. so it gets stuck in a loop at boot and never creates the files in the bitwarden dir. I think i may have a fix for this. Ill try to get it out this week. Good idea will do Fantastic Idea, i'll implement it in both areas the apps list and the logs and separate them nice! I never heard of this ill be sure to look into this one ! the install did not go as intended, it should have already configured the database using mysql, and everything configured out of the box. It seems to break on systems with high load or disks with low IO. Try installing it again by deleting the container and reinstalling. Ill try to figure this one out this week. good idea will implement i like the structure Deff start working on this docs are key Thanks so much for the Excellent input and troubleshooting!! We will get these things implemented!!
  6. Another update worth mentioning 1. Removed all the unnecessary plugin files reduced the amount of files in general, reworked some of the file hierarchy and layout
  7. Major Updates 1. The install.sh script now installs the debian backports version of smartmontools which doesn't depend on Python 2 and is a much newer version. This also sped up the install process a bit. 2. Added single disk support OS/Data 3. Updated the update system, dashboard now shows the latest version, when you choose updates it ill now show the changes between the installed version and the current. 4. We added Rescan disks button to add volume in setup as well as add volume in the main web ui app. 5. The system no longer reboots after setup it now directs you directly to the login screen.
  8. @Tido BitwardenRS unfortunately is not compatible with arm32bit yet, hopefully soon Did your nextcloud install fully? Did it ask you to setup a database? sometimes it doesnt install fully when the system is under powered or under alot of load we are trying to fix it. All the apps use docker and the configuration is stored in /volumes/YOURFIRSTVOLUMENAME/docker/APPNAME
  9. We are working on a blog so followers can see updates, we will have this up and running by the end of the week. Thank you we will see if we can get a fix out this week Currently when you select check OS updates it only checks for OS updates and not simpnas updates, although when you select Upgrade Simpnas it will upgrade to the latest version and push you back to the dashboard. We will update this with a version number in dashboard and we will rename check for os updates to just check for updates. At the top it will display the most recent simpnas update along with a drop down that will show you the git commits since then and bottom will be os updates. Unfortunately python 2 is required by smartmonutils and is needed to get SMART data off of HDDs We have to run apt update twice the reason for it before we can add the apt repo we must install certain binaries, we run it again to update the docker repro. This is so we don't have to run it again in the webGUI. We will add a refresh Devices button to that page Good Idea, we may be able just to eliminate the reboot process as well
  10. Third times a charm We made several updates today and tried to nail out some of the issues you were having plus additional small UI fixes and updates! 1. We don't use password confirmation anymore due to the eyeball, as we see it as redundant. 2. admin is close! and root works too. but it actually creates a user called administrator during setup, we now clarified it better in the final setup stage. 3. Yes the initial volume name cannot be changed this is due to the users home directories being placed there as well as the docker configs, although you can name the volume what ever you like for example we have a Western Digital Red 8TB we called the volume bigRED to easily identify it. 4. We have officially added read only support to shares. You can create a share put the files you want in there, then mark it read only. 5. We have changed the setup where the admins group can now sudo and we no longer add the users to the sudoers group this is to keep things simple and clean in the UI. Also now users group will be displayed under groups list. Everyone is part of the users group by default when they get added. 6. I'm having a hard time replicating this I even changed the timezone to Europe\Instanbul to help us troubleshoot this: type the following command as root in the bash shell and post your output, also what web browser are you using? timedatectl show -p TimeUSec --value Again We Super Thank you for your input!
  11. Hi @guidol We figured it out, it had nothing to do with the networking but how it created volumes when using other devices other than HDDS like USB Sticks and mmc memory it would not detect them properly since we were using smartctl to scan for storage devices, now we have used a much better approach using lsblk to list all block devices. I noticed because of the screenshot at the top you sent me had garbled info under select disk. Please give SimpNAS one more shot of testing when you get time. Your testing is helping the project tremendously and we appreciate you!!
  12. Good idea! We submitted a new update you can now skip network configuration. also SSH will not be touched. Hopefully this fixes the issue your having. If you get time please give it another shot. Thanks!
  13. Your an excellent tester along with very clear given detail, I thank you for taking the time to test. We have only tested with the odroid hc2 and hc1 using armbian Buster flashed to an Micro SD card as well as an Dell Optiplex with Debian 10 installed on it. I'm going to order the M2 berry to do some further testing, also it looks interesting since it has a SATA port. This is the prcedure we have followed with installing SimpNAS on the oDroid HC1/HC2. We flashed a microSD with the latest Armbian buster. then I would ssh to it via the DHCP given address as root with the default password of 1234. I would then run the simpnas install script. All would go well, but i'm guessing different boards are giving different results for some reason. Not sure why but will investigate. -The reason why we change the network is because we have chosen to use systemd networkd based configuration over network manager as networkd is becoming the new modern. -The Web UI should be accessible after reboot. -The install.sh script should enable root if its not already enabled Ill let you know when the board comes in and I did proper testing. If you spot anything that may be causing the issues let us know. Thanks for testing.
  14. Hi @guidol thanks for trying our opensource project i'm sorry it didn't work out for you. To answer your first post, we moved the docker install to the final web-ui install phase. This was to prevent a DNS problem if Active Directory was configured during the server select phase. For your final post: When specifying an Address on the network setup page - it required to have the subnet CIDR on the end (example 192.168.1.200/24) if the /24 was not on the end it would cause the issues you are describing. Based on your feedback, you no longer have to put the CIDR at the end of the address line, we added a second select box for your subnet. Please give it another shot and let us know. We only want to make this project better.
  15. Hello I wanted to post on here regarding a new project we have been working on called SimpNAS. Its similar to OpenMediaVault or FreeNAS but simpler and more basic. Its currently in Beta but we are looking to have a stable release by the time Kobol ARM NAS gets released. It can be installed on armbian devices as long as it has two hard drives one for the OS and one for Data. For example we have it installed on an ODroid HC2, but can be installed on any PC. Feedback will be greatly appreciated. Check it out here https://simpnas.com Thanks for looking
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines