Hi
First of all, great work!
- I am running Ubuntu server 16.04. I when through your bash script manually doing each step individually.
- php 7.1 isn't in Ubuntu repos. but went through apt-get installing each package individually getting php7.0 versions without issue
- Had a problem running
php /opt/giantbomb_downloader/artisan migrate --force
which gave the error:
PHP Warning: require(/opt/giantbomb_downloader/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /opt/giantbomb_downloader/boo tstrap/autoload.php on line 17
PHP Fatal error: require(): Failed opening required '/opt/giantbomb_downloader/bo otstrap/../vendor/autoload.php' (include_path='.:/usr/share/php') in /opt/giantbom b_downloader/bootstrap/autoload.php on line 17
- After some googling running seemed run through huge amount of installing etc (too long to log here) then it worked:
sudo composer update --no-scripts
- Running composer.phar without root got the following with permission error?
./composer.phar install
Cannot create cache directory /home/nas/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/nas/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
[ErrorException]
file_put_contents(/opt/giantbomb_downloader/vendor/composer/installed.json): failed to
open stream: Permission denied
- Running with sudo seemed to work but with a warning:
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
> php artisan clear-compiled
The compiled class file has been removed.
> php artisan optimize
Generating optimized class loader
Compiling common classes
- My earliest video listed is the following. Does this use RSS to get video list or any way of going back further? Had feeling this is limited on the Giantbomb side?
- I was having an unhelpfully vague [Object] [object] message/error from chrome when loading the home page. Redoing chown + chmod of opt/gbdownloaded directory seemed to get rid of this
- You mentioned features, if possible a option to specify where videos are downloaded. I have my OS on a USB stick attached to a NAS. Got around this by making a sym link to my storage from opt/gb/storage etc folder.
- I do have a couple of small issues: My videos are all duplicates ie. each video is listed twice/duplicated. When I was troubleshooting I ran some of the commands more than once, such as the following, could that have caused the issue? Done some exploring but can't seem to find where this info stored or can be reset.
sudo composer update --no-scripts
sudo php /opt/giantbomb_downloader/artisan schedule:run >> /dev/null 2>&1
and then:
sudo php /opt/giantbomb_downloader/artisan schedule:run
- When click "Save" on video it will download but the bar above doesn't change from 0.00B. I am not sure ifs something to do with not loading image assets full stop, as the splash page had a empty box indicating an image not loaded.
- If you are on page 2 and click download it will do this but knocked you back to the first page each time.
- How do you use the rule page? I can add a "Video name" text string and click enable and it will add it self to current rules. For example, can I add quick looks?
Again, massive thumbs up. This will be extremely useful. Above just some queries and hope useful testing info - not a moan or nitpicking I hope. Sorry, my programming knowledge is very limited!
Log in to comment